hjemmesidekongen/ai/c4-architecture
- community
Checking that the SKILL.md file is still in the repository.
Generate C4 model architecture documentation with Mermaid diagrams at four levels: system context, container, component, and deployment. Use when documenting how systems interact at different abstraction levels, creating stakeholder-appropriate architecture views, or mapping deployment topology. For general-purpose diagrams (flowcharts, sequence, ERD, class), use mermaid-diagrams instead.
Install
npx vskill@latest install hjemmesidekongen/ai/c4-architectureSKILL.md
c4-architecture
Generate architecture documentation using the C4 model with Mermaid diagrams. The C4 model (Context, Containers, Components, Code) provides four hierarchical levels of abstraction for communicating software architecture to different audiences.
Workflow
- Understand scope -- system, users, external dependencies
- Analyze codebase -- project structure, configs, entry points
- Select levels -- appropriate for the audience (see table)
- Generate diagrams -- valid Mermaid C4 syntax
- Document -- write to
docs/architecture/with narrative
Level selection
| Level | Diagram type | Audience | Shows | |
|---|---|---|---|---|
| 1 | System Context | Everyone | System + users + external systems | |
| 2 | Container | Dev team + ops | Applications, databases, APIs within the system | |
| 3 | Component | Developers | Internal modules/services within a container | |
| 4 | Deployment | Ops + infra | Infrastructure nodes and container placement | |
| -- | Dynamic | Anyone | Request flows through the system over time |
Context + Container (levels 1-2) are sufficient for most teams. Only go deeper when the audience needs it.
References
- Quick start example, output conventions, best practices:
references/process.md - Full Mermaid C4 syntax:
references/c4-syntax.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/kronen/skills/c4-architecture/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hjemmesidekongen/ai/c4-architecture)