c4-architecture-c4-architecture - Generate bottom-up C4 architecture documentation
Analyzes an existing repository bottom-up and generates C4 documentation across code, component, container, and context levels.
Tags
Updated: 2026-10-01Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Analyze repository directories
- Generate code documentation
- Synthesize component documentation
- Map components to containers
- Generate context documentation
- Create Mermaid diagrams
- Generate API specifications
Inputs
- Existing repository or codebase
- Source code files
- Deployment definitions
- Infrastructure configuration files
Outputs
- C4-Documentation directory
- Code-level Markdown files
- Component-level Markdown files
- Container-level documentation
- Context-level documentation
- Mermaid architecture diagrams
- OpenAPI API specifications
Requirements
- Repository file access
- Task tool
- C4 Code, Component, Container, and Context agents
