Generates architecture documentation using arc42 or C4 models with Mermaid diagrams for system context, containers, components, plus narrative on structure, dependencies, and flows.
npx claudepluginhub melodic-software/claude-code-plugins --plugin documentation-standardsThis skill is limited to using the following tools:
Create comprehensive architecture documentation for a system or component.
Generates architecture documents using markdown templates with C4 diagram integration (context, container, component). Creates viewpoint docs, technical overviews, and executive summaries for stakeholders.
Generates C4 architecture docs (Context, Container, Component, Code) bottom-up from codebase subdirectories for any repository.
Generates C4 model architecture diagrams and documentation using Mermaid syntax for system context, containers, components, and code levels.
Share bugs, ideas, or general feedback.
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: