Create documentation following PRC-010 process. Use when asked to create, draft, or plan documentation for a product or project. Guides through audience analysis, documentation planning, sitemap creation, UX content standards, drafting, self-review, and product walkthrough.
Standardized process for systematically creating, reviewing, and publishing documentation. Based on Docs for Developers (Bhatti et al., 2021) and Strategic Writing for UX (Podmajersky, 2019).
Parse $ARGUMENTS to determine which command to run. If no command is given or the command is help, show the command reference table below.
| Command | Alias | Owner | Description |
|---|---|---|---|
help | h | — | Show this command reference |
start | — | — | Begin the full process from the first human step |
audience | aud | Human | Define audience and goals → Audience Profile |
planpl |
| AI |
| Create documentation plan + traceability matrix |
review-plan | rp | Human | Review and approve the documentation plan |
sitemap | sm | AI | Create sitemap (folder structure, navigation, cross-links) |
voice | vc | AI | UX content standards (voice chart, text patterns, scorecard) |
draft | dr | AI | Draft documentation using content type templates |
edit | ed | AI | Self-review edit (5 passes) |
walkthrough | wt | AI | Product walkthrough (browser verification + screenshots) |
validate | val | AI | Run walkthrough test cases only (no screenshots, no doc fixes) |
test | t | AI | Create or update walkthrough test cases from existing docs |
verify | vf | AI | Run all verification checks (edit passes + voice score + link/placeholder audit). Accepts optional doc path or glob to scope to one area. |
peer-review | pr | Human | Peer review |
tech-review | tr | Human | Technical review (optional) |
incorporate | inc | AI | Incorporate review feedback into documents |
publish | pub | Human | Approve and publish |
/doc-create help
/doc-create start MyProduct
/doc-create plan MyProduct
/doc-create draft MyProduct
/doc-create validate MyProduct
/doc-create test MyProduct
/doc-create wt MyProduct
/doc-create verify MyProduct
/doc-create verify MyProduct docs/drafts/getting-started.md
/doc-create verify MyProduct docs/drafts/api-*
audience (Human) → plan (AI) → review-plan (Human) → sitemap (AI) → voice (AI) → draft (AI) → edit (AI) → walkthrough (AI) → peer-review (Human) → [tech-review (Human, optional)] → incorporate (AI) → publish (Human)
Decision points:
review-plan: Plan approved? No → back to planpeer-review: Passes review? No → back to draftpeer-review: Technical review needed? Yes → tech-review → incorporatehelpDisplay the command reference table above. No other action.
startBegin the process. Explain that the first step (audience) is human-owned, show what needs to be done, and provide the audience profile template.
audience (Human)Provide the user with:
plan (AI)Requires: Completed audience profile Read process-reference.md § STEP-002. Use templates:
review-plan (Human)Present the documentation plan for human review. Explain approval criteria:
plan with feedback).sitemap (AI)Requires: Approved documentation plan Read process-reference.md § STEP-004. Define folder structure, navigation sidebar, cross-links, and reading order.
voice (AI)Requires: Approved documentation plan + audience profile Read subprocess-010a.md. Use templates:
Runs the subprocess: define product principles (ask human) → build voice chart → review (ask human) → define UX text patterns → create content scorecard → approve (ask human).
draft (AI)Requires: Approved plan, sitemap, voice chart, UX text patterns Read process-reference.md § STEP-005. Use templates from:
Draft each document in the plan. Use  for screenshot placeholders.
edit (AI)Requires: Draft documents Read process-reference.md § STEP-006. Perform 5 editing passes:
walkthrough (AI) — Full walkthroughRequires: Edited documents + live product access Read process-reference.md § STEP-007 and tools-reference.md. Full workflow:
placehold.co placeholders with captured imagesplacehold.co references remainvalidate (AI) — Verification onlyRequires: Existing test cases + live product access Run existing walkthrough test cases against the live product without modifying documentation or capturing screenshots. Purpose: quick re-check after product changes.
docs/walkthrough/test-cases/test (AI) — Create/update test casesRequires: Existing documentation Extract verifiable claims from documentation and generate test cases. Does NOT execute them.
placehold.co placeholdersdocs/walkthrough/test-cases/verify (AI) — Comprehensive verificationRequires: Draft or edited documents. Optionally: voice chart, UX text patterns, content scorecard.
Run all verification checks on the entire documentation set or a specific subset. This is a standalone quality gate that combines all automated checks from edit, voice, and structural audits into a single pass.
Scope: Pass an optional file path or glob pattern after the product name to limit verification to specific docs. If omitted, verifies all docs.
/doc-create verify MyProduct # all docs
/doc-create verify MyProduct docs/drafts/getting-started.md # single doc
/doc-create verify MyProduct docs/drafts/api-* # glob pattern
Checks performed (in order):
| # | Check | Source | Action on Failure |
|---|---|---|---|
| 1 | Technical accuracy — instructions produce promised results, jargon explained, names correct | edit pass 1 | List issues with file:line references |
| 2 | Completeness — no [TODO]/[TBD] remaining, all environments covered, version limits noted | edit pass 2 | List gaps |
| 3 | Structure — follows content type template, headers logical, prerequisites/next-steps present | edit pass 3 | List deviations |
| 4 | Clarity & brevity — no unnecessary words, consistent terms, no idioms/biased language | edit pass 4 | List suggestions |
| 5 | Voice compliance — score against voice chart using content scorecard (min 70%) | edit pass 5 | Report score per doc |
| 6 | Link audit — all internal cross-references resolve, no broken links | structural | List broken links |
| 7 | Placeholder audit — search for placehold.co, [TODO], [TBD], [PLACEHOLDER] | structural | List remaining placeholders with locations |
| 8 | Traceability check — every doc maps to a user story, no orphan docs, no uncovered stories | plan | Report gaps |
| 9 | Sitemap consistency — docs match sitemap paths, navigation order intact | plan | List mismatches |
| 10 | Template compliance — each doc follows its declared content type template structure | structural | List missing sections |
Output:
docs/walkthrough/verify-report-[YYYY-MM-DD].mdDoes NOT:
walkthrough or validate for that)peer-review (Human)Provide the user with:
publish or tech-review. Not approved? → back to draft.tech-review (Human)Explain when technical review is needed (multi-system integrations, unfamiliar domains, safety-critical). Ask user to provide SME feedback.
incorporate (AI)Requires: Review feedback Read process-reference.md § STEP-010. Process feedback one reviewer at a time, prioritize what helps the user most for contradictions.
publish (Human)Provide the user with a publication checklist:
All documentation outputs should be saved under a project-specific directory:
docs/
├── plan/
│ ├── audience-profile.md
│ ├── documentation-plan.md
│ ├── traceability-matrix.md
│ └── sitemap.md
├── standards/
│ ├── voice-chart.md
│ ├── ux-text-patterns.md
│ └── content-scorecard.md
├── drafts/
│ └── [doc-name].md
├── walkthrough/
│ ├── test-cases/
│ └── executions/
└── images/