c4-modellisted
Install: claude install-skill mryll/skills
# C4 Architecture Documentation
Generate C4 model architecture documentation as diagrams-as-code embedded in Markdown — in the selected notation — following the official guidance at c4model.com. The point of C4 is a small set of precise abstractions and views that stay consistent with each other — most of this skill exists to protect that precision.
## Workflow
1. **Read the repository's conventions first**: documentation language, existing architecture docs and where they live.
2. **Confirm purpose, audience, and scope.** Which views add value for this request? Context + Container is the recommended default set. Never generate every level by default — and if the user asks for one specific view, produce only that one.
3. **Separate current architecture from target architecture.** Mixing them in one view produces an ambiguous model; make two views when both are needed.
4. **Collect evidence before modeling** an existing codebase: read `references/codebase-analysis.md` and follow it. Never invent protocols, ownership, or elements the evidence does not support.
5. **Build one canonical model first**: the list of people, software systems, containers, components, and relationships — one name per element. Every view reuses these exact names; that is what makes the zoom between levels traceable.
6. **Choose the views.** Scope rules and abstraction definitions live in `references/c4-model-rules.md` — read it before modeling anything non-trivial.
7. **Generate each view** in the se