使用AI撰写并发布Qiita文章——通过YouMind知识库进行主题调研、针对日本开发者受众的写作、GFM Markdown以及Qiita扩展
Write technical Qiita articles with AI that resonate with the Japanese developer community. Topic research via YouMind knowledge base, developer-audience adapted writing, GFM Markdown with Qiita extensions, and one-click publishing to Qiita through the user's Qiita 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 Qiita Article Writer installed!
Tell me your topic and I'll write and publish a Qiita article for you.
Try it now: "Write a Qiita article about building CLI tools with TypeScript"
What it does:
- Research topics from trending developer discussions and your YouMind knowledge base
- Write technical articles adapted for Qiita's developer community
- Format with GFM Markdown and Qiita extensions (note boxes, math, Mermaid diagrams)
- Validate content for Qiita best practices
- Publish directly to Qiita (as private or public)
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-qiita-article.yaml.- Connect your Qiita account inside YouMind before publishing. This skill no longer reads
qiita.access_tokenlocally.No Qiita 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 Qiita article about building REST APIs with Hono and Bun
Write with specific tags:
Write a Qiita post about React Server Components, tag it with React, TypeScript, フロントエンド
Publish existing Markdown:
Publish this markdown to Qiita as private
Validate before publishing:
Validate my article for Qiita best practices
Prerequisites: Node.js >= 18, a YouMind API key, and a Qiita 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-qiita-article.yaml.
YouMind API Key enables knowledge base search, web search, article archiving, and Qiita 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-qiita-article.yaml.youmind.api_key in ~/.youmind/config.yamlAfter configuration, try:
"Write a Qiita article about TypeScript best practices"
If something is misconfigured, the skill will report what needs fixing at the relevant step.
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.mdQiita audience, format constraints, community dataBefore any content workreferences/content-generation-playbook.mdIdea → Qiita-native draft workflowWhen generating new contentreferences/content-adaptation-playbook.mdExisting article → Qiita-native workflowWhen adapting/translating contentreferences/content-adaptation.mdQiita writing rules, structure, tone (legacy)Supplementary referencereferences/api-reference.mdYouMind Qiita OpenAPI endpoint documentationWhen calling Qiita through YouMind~/.youmind/config.yamlShared API credentials (YouMind only)Step 1 (config load)output/**Drafts and published articles (git-ignored)**Step 5 (write/save article)toolkit/dist/*.jsExecutable scripts (run from toolkit/)Various steps
Canonical: write local article Markdown files to ~/.youmind/articles/qiita/<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-qiita-article/output/<slug>.md.
~/.youmind/articles/qiita/my-article.mdskills/youmind-qiita-article/output/my-article.mdreferences/, toolkit/, or an ad-hoc drafts/ directorymkdir -p ~/.youmind/articles/qiita). Kebab-case filenames ( my-article.md), 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.resolved_author, the skill uses those fields as extra context. Qiita's 丁寧語 register and CDN hotlink handling stay native to this skill regardless of invocation path.dispatch-capabilities.yaml declares the cdn_hotlink flag so dispatch can warn about cdn.gooo.ai image URLs. Deleting the file 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 Qiita's platform norms (1.5M members, 50M PV/mo, 丁寧語 register, :::note callouts, 宣伝臭い = community rejection).
User's inputOperationPlaybook to loadIdea, topic, or talking points onlyGeneratereferences/content-generation-playbook.mdEnglish article → Qiita JapaneseTranslatereferences/content-adaptation-playbook.md (translate mode)Same-language article needing Qiita register shiftLocalizereferences/content-adaptation-playbook.md (localize mode)Existing article from blog/other platformCross-postreferences/content-adaptation-playbook.mdOld Qiita article to refreshRevivereferences/content-adaptation-playbook.md (revive mode)Long piece to trimCondensereferences/content-adaptation-playbook.md (condense mode)Section from larger work → memo-style postExcerptreferences/content-adaptation-playbook.md (excerpt mode)
cdn.gooo.ai URLs in final bodyAfter any private or public publish action, always end with Result links.
Read references/pipeline.md for full execution details of each step.
StepActionKey reference1Load config and validate the YouMind API key and Qiita connection in YouMind--2Mine YouMind knowledge base for source material--3Research topic: web search, existing Qiita coverage--4Content adaptation: structure for Qiita audiencereferences/content-adaptation.md5Write article with code examples, environment info, proper structure--6Publish to Qiita (private or public)references/api-reference.md7Report results: title, URL, tags, published status, result links--
Routing shortcuts:
Non-negotiable for every Qiita 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 Untested Code": Posting code that doesn't actually run. Qiita readers will call this out in comments immediately.
"The Missing Environment": Not specifying Node.js version, OS, or library versions. Readers can't reproduce the setup.
"The Copy-Paste from Docs": Rewriting official documentation without adding personal insights or real-world experience.
"The Wrong Language": Writing in English when the user and audience expect Japanese, or vice versa.
"The Tag Mismatch": Using tags that don't match the content. Hurts discoverability and credibility.