1---2name: make-documentation3description: Use when writing READMEs, architecture, changelogs, release notes, runbooks, notebook docs, install docs, or security articles; produces docs. Do not trigger for API docs, AGENTS.md, or diagrams.4---56# Make Documentation789## When to Use1011- Writing or updating a README.md, architecture note, changelog, or release notes12- Auditing existing project docs before adding missing documentation13- Drafting customer-facing security guidance or partner-sensitive article prose from source material14- Writing live access, reproduction, lab interface, workstation/server, or operator runbooks15- Documenting notebooks, generated notebooks, or table-producing notebook workflows16- Writing WSL, local, Docker, or environment-specific install docs17- Writing agent operation manuals, role files, peer-status contracts, or AI-readable workflow docs18- Producing diagram documents only when the user explicitly asks or the project already uses them1920## When NOT to Use2122- Writing API reference documentation23- Creating or updating AGENTS.md. Use `agents-md`, even when the broader request also includes other docs.24- Generating diagram files by default when prose or tables are sufficient2526## Workflow27281. Run [scripts/audit_documentation.py](scripts/audit_documentation.py) for new docs, large rewrites, doc moves, missing-doc investigations, or unclear structure. For tiny explicit edits, inspect the target file and nearby docs directly.292. Choose only the deliverables justified by the user's request and the audit. Do not generate a fixed documentation bundle by default.303. Route by document type: use [references/guide-readme.md](references/guide-readme.md) for `README.md`, [references/guide-architecture.md](references/guide-architecture.md) for `docs/architecture.md` or the repo's existing equivalent, [references/guide-ai-ingestion.md](references/guide-ai-ingestion.md) when the user says the document is for agents/AI ingestion, [references/guide-agent-ops-docs.md](references/guide-agent-ops-docs.md) for role/workflow docs consumed by agents, [references/guide-access-runbook.md](references/guide-access-runbook.md) for live access, reproduction, operator, lab interface, or capability ledgers, [references/guide-notebook-documentation.md](references/guide-notebook-documentation.md) for notebook explanations, [references/guide-install-runbook.md](references/guide-install-runbook.md) for WSL/local/Docker install docs, [references/guide-security-article.md](references/guide-security-article.md) for partner-sensitive security articles, and [references/guide-changelog.md](references/guide-changelog.md) for `CHANGELOG.md` or release notes. If AGENTS.md becomes part of scope, switch that file to `agents-md` instead of expanding this skill.314. Use [references/guide-diagrams.md](references/guide-diagrams.md) only when the user explicitly asks for diagram docs or the project already maintains them.325. For large docs, iterative reports, feature inventories, concept framing, or evidence-audit amendments, load [references/source-discovery-and-heading-stability.md](references/source-discovery-and-heading-stability.md) before writing.336. For concept or strategy docs, include a visible first usable workflow before architecture depth so the reader can execute a small slice before absorbing the model.347. Keep the output source-backed and terse. Preserve user-provided terminology and avoid generic rewrites that change domain meaning or connotation.358. Preserve earlier requested documentation when later implementation work touches the same notebooks, docs, or folders. Re-open touched docs before finishing if there is a risk an unrelated implementation change removed prior documentation.369. Review the result with [references/review-checklist.md](references/review-checklist.md) before finishing.3738## Anti-Patterns3940- Wrong: summarize a notebook from a generated README, review packet, AI commentary, or stale comments. Correct: trace executable cells, imports, widgets, SQL, configs, and outputs, then write the short explanation.41- Wrong: write folder-contract docs after a move from memory. Correct: audit the tree and update parent and child docs together.42- Wrong: duplicate validators, schemas, CLIs, table lists, or source-of-truth modules while documenting around implementation. Correct: scan for existing source-of-truth assets and link to them.43- Wrong: leave workflow docs tied to VS Code, one editor, or one UI unless the user explicitly requested that. Correct: state editor-independent start state and execution plane.44- Wrong: keep meta labels such as `review packet`, `AI-generated summary`, or `analysis artifact` in human-facing docs unless they are required schema fields. Correct: use natural section names that match the audience.45- Wrong: label demo-only flags or filters as future product interfaces. Correct: separate test scaffolding from durable user or agent interfaces.4647## Deterministic Tools4849| Tool | Use When | Outcome |50|------|----------|---------|51| [scripts/audit_documentation.py](scripts/audit_documentation.py) | You need a deterministic inventory before writing docs | Current-state documentation audit |5253## References5455- [references/guide-readme.md](references/guide-readme.md) - README workflow56- [references/guide-architecture.md](references/guide-architecture.md) - architecture documentation57- [references/guide-ai-ingestion.md](references/guide-ai-ingestion.md) - compact machine-ingestion documentation mode58- [references/guide-agent-ops-docs.md](references/guide-agent-ops-docs.md) - role, directive, peer-status, and execution-plane docs for agents59- [references/guide-access-runbook.md](references/guide-access-runbook.md) - live access, reproduction, interface, and capability ledgers60- [references/guide-notebook-documentation.md](references/guide-notebook-documentation.md) - notebook explanation and runnable-order preservation61- [references/guide-install-runbook.md](references/guide-install-runbook.md) - environment-specific install docs62- [references/guide-security-article.md](references/guide-security-article.md) - partner-sensitive security article workflow63- [references/guide-changelog.md](references/guide-changelog.md) - changelog and release notes64- [references/guide-diagrams.md](references/guide-diagrams.md) - opt-in diagram workflow only65- [references/review-checklist.md](references/review-checklist.md) - review pass before finishing66- [references/source-discovery-and-heading-stability.md](references/source-discovery-and-heading-stability.md) - large-doc source discovery and stable heading checks67- [references/ascii-art-standards.md](references/ascii-art-standards.md) - diagram formatting standards when diagrams are in scope