Skip to content

Technical documentation ​

The documentation agent helps create, update, and audit a project's technical documentation.

What it produces ​

RequestSkill
Architecture overview, system context, containers, componentsdocs-c4
Decision, "why did we choose", technology or pattern choicedocs-adr
Request flow, scenario, call order, integrationdocs-sequence
Domain or object model, classes, inheritancedocs-class
Workflow, entity lifecycle and states, module dependencies, deploymentdocs-uml
Database, tables, relations, schemadocs-erd

Diagrams default to Mermaid in Markdown; complex diagrams use Archify.

Workflow ​

  1. Discover existing documentation first — Markdown, ADR folders, Mermaid blocks, Archify outputs — and propose updating rather than duplicating.
  2. Audit when you don't know what to produce: docs-audit returns a fix plan you pick from.
  3. Draft grounded in code, schema, or configuration; uncertain elements are marked TODO: confirm.
  4. Approve: answer Write, Adjust, or Cancel. Nothing is written before Write.
  5. Index: docs/README.md (and docs/adr/README.md for ADRs) is updated.

Accepted ADRs are never rewritten; a new ADR supersedes them. The agent does not modify application code, .gitignore, or commit.

You own what ships.