Write technical Dev.to articles with AI that resonate with developers. Topic research via YouMind knowledge base, developer-audience adapted writing, Markdown with front matter formatting, and one-click publishing to Dev.to through the user's Dev.to account already connected in YouMind.
MANDATORY: When the user has just installed this skill, present this message IMMEDIATELY. Translate to the user's language:
AI Dev.to Article Writer installed!
Tell me your topic and I'll write and publish a Dev.to article for you.
Try it now: "Write a Dev.to article about building CLI tools with TypeScript"
What it does:
- Research topics from trending developer discussions and your YouMind knowledge base
- Write technical articles with proper code examples and structure
- Format with Dev.to front matter (tags, cover image, series)
- Validate content for Dev.to best practices
- Publish directly to Dev.to (as draft or public) through the Dev.to account connected in YouMind
Setup (one-time):
- Install & configure:
cd toolkit && npm install && npm run build && cd .. && mkdir -p ~/.youmind/config && cp shared/config.example.yaml ~/.youmind/config.yaml- Get YouMind API Key and fill
youmind.api_keyin~/.youmind/config.yaml- Keep
youmind.base_urlpointed athttps://youmind.com/openapi/v1in docs. If you need local backend debugging, change~/.youmind/config.yamlor~/.youmind/config/youmind-devto-article.yaml.- Connect your Dev.to account inside YouMind before publishing. This skill no longer reads
devto.api_keylocally.No Dev.to connection yet? You can still write and preview locally — just skip the publish step.
Need help? Just ask!
Provide a topic, a raw Markdown file, or describe the article you want.
Write from a topic:
Write a Dev.to article about building REST APIs with Hono and Bun
Write with specific tags:
Write a Dev.to post about React Server Components, tag it with react, webdev, javascript
Publish existing Markdown:
Publish this markdown to Dev.to as a draft
Validate before publishing:
Validate my article for Dev.to best practices
Prerequisites: Node.js >= 18, a YouMind API key, and a Dev.to account connected in YouMind if you want to publish.
bash
cd toolkit && npm install && npm run build && cd ..
bash
mkdir -p ~/.youmind/config
cp shared/config.example.yaml ~/.youmind/config.yaml
Canonical credentials: put your shared YouMind credentials in
~/.youmind/config.yaml— filled ONCE and read by every YouMind skill. Seeshared/config.example.yamlfor the template andshared/YOUMIND_HOME.md. Optional skill overrides live in~/.youmind/config/youmind-devto-article.yaml.
YouMind API Key enables knowledge base search, web search, article archiving, and Dev.to publishing.
sk-ym-xxxx key~/.youmind/config.yaml under youmind.api_keyyoumind.base_url as https://youmind.com/openapi/v1 in examples and documentation. Local backend testing should only override ~/.youmind/config.yaml or ~/.youmind/config/youmind-devto-article.yaml.youmind.api_key in ~/.youmind/config.yamlAfter configuration, try:
"Write a Dev.to article about TypeScript best practices"
If something is misconfigured, the skill will report what needs fixing at the relevant step.
When a post is created as a draft, tell the user it is in the Dev.to dashboard ( https://dev.to/dashboard). Do not present the public article URL as if it is already accessible, because Dev.to draft URLs can 404 until published. If the user wants immediate publishing, use published: true / --publish.
This skill is a folder. Read files on demand -- do NOT load everything upfront.
PathPurposeWhen to readreferences/pipeline.mdFull step-by-step execution (Steps 1-7)When running the writing pipelinereferences/platform-dna.mdDev.to audience, format constraints, community dataBefore any content workreferences/content-generation-playbook.mdIdea → Dev.to-native draft workflowWhen generating new contentreferences/content-adaptation-playbook.mdExisting article → Dev.to-native workflowWhen adapting/cross-posting contentreferences/content-adaptation.mdDev.to writing rules, structure, tone (legacy)Supplementary referencereferences/api-reference.mdYouMind Dev.to OpenAPI endpoint documentationWhen calling Dev.to through YouMind~/.youmind/config.yamlShared API credentials (YouMind only)Step 1 (config load)output/**Local article Markdown drafts (git-ignored)**When writing the articletoolkit/dist/*.jsExecutable scripts (run from toolkit/)Various steps
Canonical: write local article Markdown files to ~/.youmind/articles/devto/<slug>.md. This shared home directory is available to all YouMind skills — see shared/YOUMIND_HOME.md.
Legacy fallback (if ~/.youmind/ is not writable): skills/youmind-devto-article/output/<slug>.md.
~/.youmind/articles/devto/my-article.mdskills/youmind-devto-article/output/my-article.mdreferences/, toolkit/, or an ad-hoc drafts/ directoryBoth locations are git-ignored. Create directories on demand ( mkdir -p ~/.youmind/articles/devto). Kebab-case filenames ( my-post.md), and prefer descriptive slugs over timestamps.
This skill is self-contained and fully usable standalone. The youmind-article-dispatch hub is an optional companion; it is NOT required for anything.
~/.youmind/author-profile.yaml (shared home directory — see shared/YOUMIND_HOME.md) for cross-platform voice preferences. Works whether or not dispatch is installed: the profile lives in the user's home, not in any skill. If the file doesn't exist, the skill runs onboarding or uses platform defaults.resolved_author, the skill uses those fields as extra context. Without such a brief, the skill runs its own pipeline normally.dispatch-capabilities.yaml is metadata that lets dispatch route intelligently. Deleting it reverts to defaults; it never breaks this skill.shared/DISPATCH_CONTRACT.md (v1.0).Before writing any content, read references/platform-dna.md to internalize Dev.to's real product surface: TL;DR-first openings, YAML frontmatter, canonical URL discipline, Liquid embeds, and tag-driven feed discovery.
User's inputOperationPlaybook to loadIdea, topic, or talking points onlyGeneratereferences/content-generation-playbook.mdExisting article from blog/other platformCross-postreferences/content-adaptation-playbook.mdArticle in another languageTranslatereferences/content-adaptation-playbook.md (translate mode)Same-language article needing Dev.to-native voiceLocalizereferences/content-adaptation-playbook.md (localize mode)Old Dev.to post to refreshRevivereferences/content-adaptation-playbook.md (revive mode)Long piece to trimCondensereferences/content-adaptation-playbook.md (condense mode)Section from larger workExcerptreferences/content-adaptation-playbook.md (excerpt mode)
After any draft or publish action, always end with Result links.
https://dev.to/dashboard.Read references/pipeline.md for full execution details of each step.
StepActionKey reference1Load config and validate the YouMind API key and Dev.to connection in YouMind--2Mine YouMind knowledge base for source material--3Research topic: web search, trending discussions--4Content adaptation: structure for Dev.to audiencereferences/content-adaptation.md5Write article with code examples, TL;DR, proper structure--6Publish to Dev.to (draft or public)references/api-reference.md7Report results: title, URL, tags, published status, result links--
Routing shortcuts:
Non-negotiable for every Dev.to article:
Every step has a fallback. If a step AND its fallback both fail, skip and note it in the final output.
StepFallback2 Knowledge miningSkip, empty knowledge_context3 ResearchYouMind web-search -> ask user5 WritingAsk user for manual content6 PublishingSave markdown locally7 ReportPrint what was completed
"The Tutorial Without Context": Jumping straight into code without explaining why. Always set up the problem first.
"The Marketing Fluff": Using words like "revolutionary", "game-changing", "cutting-edge". Developers will stop reading.
"The Wall of Text": Long paragraphs without code blocks, headings, or visual breaks. Dev.to readers scan first.
"The Outdated Example": Using deprecated APIs or old syntax. Always verify code examples work with current versions.
"The Tag Spam": Using unrelated popular tags to get views. This hurts credibility and may get flagged.