Home / Claude Code / Dev.to
Claude Code + Dev.to Skill

Claude Code + Dev.to Publish Articles with AI

Use the Upload-Post skill to publish Markdown articles to Dev.to directly from Claude Code. Draft and ship full developer blog posts with tags, cover images, and canonical URLs using your API key.

Install in Seconds

Works with Claude Code, Cursor, Windsurf, and any AI coding agent that supports skills.

Terminal
$ npx skills add Upload-Post/upload-post-skill

What You Can Post to Dev.to

Text

Features for Dev.to

Everything you need to publish and automate Dev.to content from your terminal.

Markdown Articles

Publish full articles written in Markdown, with headings, lists, images, and fenced code blocks. Your post renders on Dev.to exactly as you wrote it.

Tags & Series

Attach tags so the right developers discover your post, and group related articles into a series to build a readable, connected body of work.

Code-Friendly Formatting

Dev.to is built for developers, so syntax-highlighted code blocks, liquid embeds, and technical formatting all render cleanly for a technical audience.

Canonical URLs

Set a canonical URL when you cross-post an article, so the original source keeps its SEO authority while your work still reaches the Dev.to community.

API Key Auth

Connect Dev.to with a single API key. There is no OAuth app to register, so you can start publishing articles from Claude Code in minutes.

Multi-Platform Reach

Publish the same article to Dev.to and other developer platforms in a single call, so your writing reaches every audience without repeating the work.

How It Works

1

Install the Skill

Run the install command in your terminal. The skill is added to Claude Code instantly.

2

Connect Dev.to

Link your Dev.to account on the Upload-Post dashboard and create a profile with your API key.

3

Publish from Claude Code

Tell your AI agent to post content to Dev.to. It handles formatting, uploading, and publishing automatically.

Start Posting to Dev.to from Claude Code

Join thousands of developers automating their social media workflow with AI. Free plan available.

Prefer another integration path? Explore the Dev.to Upload API or the Dev.to MCP server.

Frequently Asked Questions

How does publishing to Dev.to work through Claude Code?
Upload-Post handles the Dev.to API behind a simple interface. When you tell Claude Code to publish an article, the skill sends your Markdown and metadata to the Upload-Post API, which creates the post on Dev.to using your API key. The article goes live for the developer community just as if you published it from the Dev.to editor.
Can I write articles in Markdown?
Yes. Dev.to articles are written in Markdown, including headings, lists, images, links, and fenced code blocks with syntax highlighting. You can draft the full article in Claude Code and publish it without leaving your terminal.
How do I authenticate with Dev.to?
Dev.to through Upload-Post uses a single API key that you generate in your Dev.to account settings. You connect the key to Upload-Post once, and after that you can publish articles directly from Claude Code with no OAuth app to register.
Can I set tags and a canonical URL on my article?
Yes. You can attach tags so the right developers discover the post, group posts into a series, and set a canonical URL when cross-posting so the original source keeps its SEO authority. All of this is set when you publish from Claude Code.
Can I cross-post to Dev.to and other platforms simultaneously?
Yes. Upload-Post supports multi-platform publishing in a single API call. Include multiple platforms in your request, such as platform[]=devto&platform[]=hashnode&platform[]=linkedin, and your content is published to all of them at once. Each platform receives properly formatted content that respects its specific requirements.