c4-architecture
Installation
SKILL.md
C4 Architecture Skill
Goal
Produce audience-appropriate C4 diagrams for existing systems from code or planned systems from requirements. Create new diagrams with the selected renderer, or update existing diagrams when their renderer is supported.
Supported Diagrams
These defaults apply when creating new diagrams. Updates change only what the request targets.
| Diagram | Generated by default | User selection | Answers |
|---|---|---|---|
| Level 1: System Context | Yes | Which system when several qualify | Who uses the system and what does it interact with |
| Level 2: Container | Yes | None | What separately deployable or runnable units make up a system |
| Level 3: Component | Yes | Which containers when several qualify | What major building blocks sit inside one container |
| Level 4: Code | On request only | Which component to detail | How one component maps to code structures |
| Deployment | Offered when evidenced | Opt-in and which environment | Where container instances run in one named environment |