dev.to

Publish and manage Dev.to articles via the official API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, jq.

What problem does it solve?

This Skill automates article publishing, updates, drafts, and retrieval of Dev.to content from the API.

Core Features & Use Cases

  • Publish new articles and update existing ones
  • Manage drafts and published content
  • Retrieve your articles and related metadata

Quick Start

Quick start: publish a draft article with a title, body, and tags

Frequently Asked Questions about dev.to

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

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

Publish articles to Dev.to via the official API by sending POST requests with title, body_markdown, tags, and published status. Set your DEVTO_API_KEY environment variable, then use curl to call the Dev.to articles endpoint with your content. The API returns the published article with metadata.

Can I automate creating and updating Dev.to drafts?

Yes, automate draft creation and updates via the Dev.to API. Send POST requests to create new drafts or PUT requests to update existing ones, controlling the published state and article fields. curl and jq format the requests and parse responses.

What do I need to manage Dev.to articles from the command line?

You need a valid DEVTO_API_KEY environment variable, curl for API requests, and optionally jq for JSON formatting. These tools let you create, update, retrieve, and manage published state and tags for Dev.to articles via Bash commands.

How do I retrieve and list my Dev.to articles programmatically?

Retrieve your Dev.to articles by sending GET requests to the Dev.to articles endpoint with your API key. curl fetches the article list with metadata; jq parses and formats the JSON response to extract titles, tags, and publication status.

Can I add cover images and tags when publishing Dev.to articles?

Yes, include cover images and tags when publishing or updating Dev.to articles via the API. Set main_image and tags fields in your POST or PUT request body. The API accepts these fields and returns the updated article with all metadata.

What's the difference between publishing and drafting articles on Dev.to?

Publishing sets the published field to true, making articles immediately visible; drafting sets it to false, keeping articles private until you update them. The Dev.to API manages both states through the same endpoints, letting you control visibility before going live.