devto-publish

Publish and manage Dev.to articles via the Dev.to API using curl.

76|18|Updated Dec 12, 2025
One-click install
npx skills add https://github.com/vm0-ai/vm0-skills --skill devto-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: devto-publish
Source: https://github.com/vm0-ai/vm0-skills/tree/main/devto-publish
Command: npx skills add https://github.com/vm0-ai/vm0-skills --skill devto-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Publishes and manages Dev.to articles programmatically, including drafts and updates.

Core Features & Use Cases

  • Publish & update: Create and modify articles.
  • Draft management: Work with unpublished drafts.
  • List and fetch: Retrieve published articles.

Quick Start

Publish a new article to Dev.to using curl and your API key.

Frequently Asked Questions about devto-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish articles to Dev.to programmatically using an API?

Publish articles to Dev.to programmatically by sending JSON payloads via the Dev.to API with curl, including your DEVTO_API_KEY, article title, body_markdown, and optional fields like tags, published status, and canonical_url. The API handles both new article creation and updates to existing posts.

Can I automate Dev.to article publishing from the command line?

Yes, automate Dev.to publishing via CLI workflows using curl and shell scripts. You can create articles, update existing ones, manage drafts, and retrieve published or unpublished articles by constructing proper JSON payloads and handling environment variables for your API key.

What's required to publish markdown articles to Dev.to via API?

You need a valid DEVTO_API_KEY, markdown-formatted body content, article title, and knowledge of JSON payload structure. The API accepts optional fields including tags, main_image URL, canonical_url, and series name to customize your published articles.

How do I manage drafts and unpublished articles on Dev.to?

Manage Dev.to drafts by using the API's published field set to false in your JSON payload. You can create draft articles, retrieve them, update their content, and transition them to published status through curl commands with proper authentication.

Can I update existing Dev.to articles using the API?

Yes, update existing Dev.to articles by sending modified JSON payloads via curl to the API endpoint with your article ID and DEVTO_API_KEY. You can change title, body_markdown, tags, images, and other metadata on already-published posts.

What metadata fields can I set when publishing to Dev.to?

Dev.to API accepts title, body_markdown, published status, tags, main_image URL, canonical_url, and series name in JSON payloads. These fields control article visibility, SEO properties, categorization, and presentation when you publish or update via API.