Write structured Markdown documentation. Use when: creating a README, ADR, design doc, RFC, runbook, playbook, release notes, incident report, API doc, troubleshooting guide, FAQ, onboarding guide, contributing guide, changelog, user guide, meeting notes, Confluence page, JIRA ticket, or any technical document. Handles tables of contents, summaries, conclusions, comparison tables, decision matrices, glossaries, and diagram placeholders.
90
88%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Produces well-structured Markdown documentation. Output is one .md file or a directory of .md files, paste-compatible with Confluence, JIRA, GitHub, Dropbox Paper, etc.
The skill is format-neutral — domain-specific links (internal wikis, design systems, vendor docs) are added based on what the agent finds in the workspace and what the user provides.
Run every step in order; do not skip or collapse steps even if the user's prompt seems to make one unnecessary. If a step was missed, stop and go back.
Run Preflight, Pass 1, and Pass 2 as separate vscode_askQuestions calls; wait for answers between each. See planning-questions.md for full payloads, conditional rules, and the diagram routing table.
Always load:
Then load the type-specific reference and template:
| Document type | Reference file | Template |
|---|---|---|
| README | readme-patterns.md | readme.md |
| ADR | adr-patterns.md | adr.md |
| Runbook | runbook-patterns.md | runbook.md |
| Playbook | runbook-patterns.md | playbook.md |
| Release notes | release-notes-patterns.md | release-notes.md |
| Incident report | incident-report-patterns.md | incident-report.md |
| API documentation | api-doc-patterns.md | api-doc.md |
| Confluence page | confluence-patterns.md | confluence.md |
| JIRA ticket | jira-patterns.md | jira.md |
| FAQ / Changelog / Meeting notes / Troubleshooting / Onboarding / Contributing / User guide / Design doc / RFC / Other | short-doc-patterns.md | one of: faq.md, changelog.md, meeting-notes.md, generic.md |
Apply linking-strategy.md: search for README.md, *.md, docs/ folders, ADRs, related vendor docs and standards. Note them for inline linking in Step 6.
Produce H1 + H2 headers + a single sentence per section describing what it will contain. No body content.
If the content naturally splits into multiple files (e.g. an epic with sub-tickets, a multi-chapter guide), note this in the skeleton — Step 4 lets the user decide.
Ask the output-format question (see planning-questions.md).
If Directory: include the proposed structure (folder name, file names, one-line purpose each) in the Step 3 skeleton. Use kebab-case file names that match the subject (e.g. overview.md, spike-ai-limitations.md). No mandatory index.md. Each file follows the same formatting rules; use relative links between files.
Present the skeleton via the structure-review question (see planning-questions.md). Apply requested changes and re-present until approved. If the user adds more context, revise the structure before re-presenting. See structure-review.md for examples.
Verify every prior step is complete; if anything is missing, stop and complete it. Then with the approved structure:
####) — replace with bold + content{{placeholders}}If any check fails, fix and re-validate before writing.
Single file: write one .md with a kebab-case filename based on topic and type (e.g. adr-001-caching-strategy.md, runbook-rotate-database-credentials.md).
Directory: create a kebab-case folder (e.g. epic-adopt-ai-copilot/) and write each .md inside. Verify all relative links resolve.
These are enforced by the Step 7 checklist; full details in formatting-rules.md:
87089aa
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.