From wf
ALWAYS USE if you are the builder. Use after every implementation pass — update living docs, maintain diagrams (Mermaid for formal, ASCII for loose), reconcile plan with reality, update ARCHITECTURE.md when system shape changes. Documentation is a core output, not an afterthought.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wf:builder-living-docs-kThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **Knowledge skill** — Living documentation: what to update, when, how to keep diagrams honest.
Knowledge skill — Living documentation: what to update, when, how to keep diagrams honest.
Your primary job is code. But living docs are a core output — not a side quest you skip when tired. The next agent inherits what you leave behind. If the docs lie, the next session starts broken.
After implementation, these must reflect reality:
Changed system shape? → Update ARCHITECTURE.md
Changed data flow? → Update or create flow diagram
Changed class structure? → Update class diagram / ERD
Changed module boundaries?→ Update component diagram
Changed API contracts? → Update integration docs
Built something new? → Create living doc near the code
If you touched it and the docs don't match, you're not done.
Formal structure → Mermaid. Class diagrams, ERDs, sequence diagrams, state machines — anything with strict relationships and types. Mermaid renders cleanly, diffs well, and is parseable.
classDiagram
class Order {
+id: UUID
+status: Status
+place()
+cancel()
}
Loose structure → ASCII. Component layouts, data flows, system overviews, dependency arrows — anything showing how things fit together conceptually. ASCII is fast, flexible, and needs no tooling.
Request → Auth → Router → Handler → DB
↓
Response
Rule of thumb: if the diagram has types, fields, or method signatures — Mermaid. If it shows flow, boundaries, or composition — ASCII.
Plans are foresight. Living docs are hindsight. Your job is bridging the gap.
As you build, reality diverges from the plan. This is expected. Your duty:
{name}_decisions.md with what changed and whyDon't copy the plan into living docs. The plan says "here's what we intended." The living doc says "here's how it works now." Both exist. They tell different stories.
Living docs live near what they describe:
design-docs/ → system-level (repo root)
{package}/design-docs/ → package-level
{test-dir}/design-docs/ → test-level
Link every new living doc from ARCHITECTURE.md. If it's not linked, future agents won't find it.
Docs evolve. As understanding crystallizes:
npx claudepluginhub jsai23/claude-tooling --plugin wfGenerates API documentation, architecture diagrams (C4/Mermaid), READMEs, code comments, and technical writing from codebases.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.