plugins/documentation-standards/skills/doc-architecture/SKILL.md
Generate architecture documentation using arc42 or C4 model. Use for creating system context, container, and component diagrams with narrative.
npx skillsauth add melodic-software/claude-code-plugins doc-architectureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
development
Search Milan Jovanovic's .NET blog for Clean Architecture, DDD, CQRS, EF Core, and ASP.NET Core patterns. Use for finding applicable patterns, code examples, and architecture guidance. Invoke when working with .NET projects that could benefit from proven architectural patterns.
tools
Install and configure Data API Builder (DAB) for production SQL Server MCP access with RBAC
tools
Manage MssqlMcp servers - status, rebuild, and upstream updates
tools
Developer environment setup guides for Windows, macOS, Linux, and WSL. Use when setting up development machines, installing tools, configuring environments, or following platform-specific setup guides. Covers package management, shell/terminal, code editors, AI tooling, containerization, databases, and more.