hjemmesidekongen/ai/c4-architecture

Trust tier 3
  • community
Source check pending

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-architecture

SKILL.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

  1. Understand scope -- system, users, external dependencies
  2. Analyze codebase -- project structure, configs, entry points
  3. Select levels -- appropriate for the audience (see table)
  4. Generate diagrams -- valid Mermaid C4 syntax
  5. Document -- write to docs/architecture/ with narrative

Level selection

LevelDiagram typeAudienceShows
1System ContextEveryoneSystem + users + external systems
2ContainerDev team + opsApplications, databases, APIs within the system
3ComponentDevelopersInternal modules/services within a container
4DeploymentOps + infraInfrastructure nodes and container placement
--DynamicAnyoneRequest 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hjemmesidekongen/ai/c4-architecture/badge)](https://verified-skill.com/skills/hjemmesidekongen/ai/c4-architecture)

Something wrong with this skill or its page? Tell us.