Generates architecture documentation using arc42 or C4 models with Mermaid diagrams for system context, containers, components, plus narrative on structure, dependencies, and flows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/documentation-standards:doc-architectureThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create comprehensive architecture documentation for a system or component.
Create comprehensive architecture documentation for a system or component.
Extract from user input:
arc42, c4, or both (default: c4)context, container, or component (default: container)Explore the codebase to understand:
Use file exploration to gather information:
Based on the format argument:
If format = c4:
c4-documentation skillIf format = arc42:
arc42-documentation skillIf format = both:
Create documentation file(s):
For C4:
docs/architecture/
└── {subject}-c4-{level}.md
For arc42:
docs/architecture/
└── {subject}-arc42.md
For both:
docs/architecture/
├── {subject}-architecture.md # arc42 with embedded C4
└── diagrams/
├── context.mmd
├── container.mmd
└── component.mmd
Every generated document should include:
Header with metadata
Diagrams (Mermaid format)
Narrative
References
/doc-architecture "order service"
→ Generates C4 container diagram for order service
/doc-architecture "payment gateway" format=arc42
→ Generates full arc42 documentation
/doc-architecture "api gateway" format=c4 level=component
→ Generates C4 component diagram
/doc-architecture "entire system" format=both level=context
→ Generates arc42 with embedded C4 context diagram
Generated documentation must:
npx claudepluginhub melodic-software/claude-code-plugins --plugin documentation-standardsGenerates architecture documents using markdown templates with C4 diagram integration (context, container, component). Creates viewpoint docs, technical overviews, and executive summaries for stakeholders.
Generates C4 model architecture diagrams and documentation using Mermaid syntax for system context, containers, components, and code levels.
Generates C4 architecture documentation (Context, Container, Component, Code levels) for existing repositories using bottom-up analysis from code subdirectories. Outputs to C4-Documentation/ directory.