agentsclimarketplace

Blog publisher lite

Skill apex-stack-ai/blog-publisher-lite

Publish markdown articles to Dev.to via their REST API. Use this skill whenever the user wants to publish a blog post or article to Dev.to. Triggers include: posting to Dev.to, publishing articles, 'publish my article', 'post this on dev.to', or any mention of publishing written content to Dev.to. Also trigger when user has markdown content they want published on a developer blogging platform.From its SKILL.md

Install
npx -y skills add apex-stack-ai/blog-publisher-lite

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.4 KB, 754 tokens by cl100k_base, as published. Nobody here has run it

Blog Publisher Lite

Publish markdown articles to Dev.to — the largest developer blogging platform — directly from a markdown file using their REST API.

Want cross-posting to Medium and Hashnode too? Upgrade to Blog Cross-Publisher (Full) for canonical URL management, Hashnode GraphQL integration, Medium browser automation, and platform-specific tag mapping.

What You Need

A Dev.to API key. Get one in 30 seconds:

  1. Go to https://dev.to/settings/extensions
  2. Scroll to "DEV Community API Keys"
  3. Enter a description, click "Generate API Key"
  4. Copy the key

Article Format

Write your article in standard markdown with optional metadata at the top:

# Your Article Title

*Tags: javascript, webdev, programming, ai*
*Read time: ~5 min*

---

Your article body starts here. Standard markdown works: **bold**, *italic*,
[links](https://example.com), code blocks, images, and headings.

## A Section Heading

More content...

The skill extracts the title from the first # heading, tags from the *Tags:* line, and everything after --- becomes the body.

Publishing

Use the bundled script:

python scripts/publish_devto.py article.md \
  --api-key YOUR_API_KEY \
  --publish
FlagWhat It Does
--publishPublish immediately (omit for draft)
--tags "seo,webdev"Override tags from the file

The script outputs the published URL and article ID as JSON.

API Details

POST https://dev.to/api/articles
Header: api-key: <key>
Header: Content-Type: application/json

Payload:

{
  "article": {
    "title": "Article Title",
    "published": true,
    "body_markdown": "Full markdown body",
    "tags": ["seo", "webdev", "programming", "ai"]
  }
}

Constraints: Max 4 tags, lowercase, no spaces (use hyphens). Dev.to auto-generates a slug from the title.

Updating an Existing Article

PUT https://dev.to/api/articles/{id}

Same payload structure. Use the article id from the original publish response.

Network Restrictions

If curl or urllib fails with connection errors in sandboxed environments, use browser JavaScript fetch() as a workaround:

fetch('https://dev.to/api/articles', {
  method: 'POST',
  headers: {
    'api-key': 'YOUR_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    article: {
      title: 'Your Title',
      published: false,
      body_markdown: 'Your content...',
      tags: ['seo', 'webdev']
    }
  })
}).then(r => r.json()).then(console.log)

Troubleshooting

401 Unauthorized

API key invalid or expired. Generate a new one at https://dev.to/settings/extensions

422 Unprocessable Entity

Check: title is present, tags ≤ 4, body_markdown is valid, no duplicate draft with same title.

429 Too Many Requests

Rate limited. Wait 30 seconds and retry.


Built by Apex Stack — tools for developers who ship.

What ships with it: 3 files

8.7 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 326,537. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.