
devto-publish
by vm0-ai
SKILL.md
name: devto-publish description: Publish articles to Dev.to. Use this skill when the article is ready and user wants to publish.
Dev.to Publisher
This skill publishes articles to Dev.to using their official API.
When to Use
Use this skill when:
- Article content is finalized
- Featured image has been generated
- Ready to publish the completed article
Prerequisites
The DEVTO_API_KEY environment variable must be set with your Dev.to API key.
To get your API key:
- Go to https://dev.to/settings/extensions
- Scroll to "DEV Community API Keys"
- Enter a description and click "Generate API Key"
- Copy the key
How to Use
/home/user/.claude/skills/devto-publish/scripts/devto-publish.sh <article_file> [--title "Title"] [--tags "tag1,tag2,tag3"] [--published true|false] [--image url]
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| article_file | Yes | - | Path to markdown file |
| --title | No | From file | Article title (overrides H1 in file) |
| --tags | No | - | Comma-separated tags (max 4) |
| --published | No | false | Set to true to publish immediately |
| --image | No | - | Cover image URL |
Standard Usage for Content Farm Workflow
/home/user/.claude/skills/devto-publish/scripts/devto-publish.sh \
/home/user/workspace/output/article.md \
--tags "ai,technology,automation" \
--published true
With Cover Image
Use the fal.ai image URL from the image-gen skill response:
/home/user/.claude/skills/devto-publish/scripts/devto-publish.sh \
/home/user/workspace/output/article.md \
--tags "ai,tech,automation" \
--image "https://storage.googleapis.com/fal-flux/..." \
--published true
Output Preparation
Before publishing, ensure these files exist in /home/user/workspace/output/:
article.md
The complete article in Markdown format.
featured.png
The generated featured image (copied from /tmp/images/).
metadata.json
SEO metadata in this format:
{
"title": "Your SEO-optimized title",
"description": "Meta description (150-160 characters)",
"keywords": ["keyword1", "keyword2", "keyword3"],
"sources": [
"https://source1.com/article",
"https://source2.com/article"
],
"word_count": 1200,
"generated_at": "2024-01-15T10:30:00Z"
}
Response
Returns the Dev.to article URL on success.
Response saved to /tmp/devto/publish_response.json:
{
"id": 123456,
"title": "Article Title",
"url": "https://dev.to/username/article-slug",
"published": true
}
Always report the url back to the user after successful publishing.
Guidelines
- Always use
--published trueto publish publicly (content farm workflow default) - Dev.to supports up to 4 tags per post
- Tags should be lowercase, no spaces
- Cover images must be URLs (use the fal.ai URL from image-gen response)
- Markdown is fully supported including code blocks with syntax highlighting
- Choose tags that match the article topic (e.g., "ai", "technology", "programming", "automation")
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon