c4-diagrams
Installation
SKILL.md
C4 Architecture Diagrams
This skill helps you create and manage C4 architecture diagrams using the PlantUML format. C4 diagrams provide a hierarchical way to visualize software architecture at different levels of detail, from high-level system context down to low-level components.
The C4 model uses four diagram types:
- Context: Shows the system in its environment with external actors and systems
- Container: Zooms into the system to show high-level technical building blocks
- Component: Zooms into a container to show its internal structure
- Sequence: Shows how elements interact with each other over time
All diagrams are stored as .puml files in doc/diagrams/ and rendered to PNG images using the public PlantUML server.
Requirements
Before using this skill, ensure you have:
- Bash - For directory setup (available on Linux, macOS, WSL)
- Python 3.6+ - For diagram rendering (uses standard library only, no pip install needed)
- Internet access - To reach the public PlantUML server (https://www.plantuml.com/plantuml/)
- File system write permissions - In your project's working directory