Skills

C4 Architecture

Model and document existing or planned software architectures with the C4 model across...

Install

npx skills add microsoft/hve-core --skill c4-architecture -g -a claude-code -y
Repository
microsoft/hve-core1.6k
Category
DevOps
Updated
3d ago
License
CC-BY-4.0 AND MIT
Context cost
Mediumabout 1,500 tokens
Runs scripts
No, instructions only

What it does

Model and document existing or planned software architectures with the C4 model across System Context, Container, and Component levels plus deployment diagrams, then emit diagrams through a selected renderer. Use when an architect needs audience-appropriate software architecture documentation; use the 'architecture-diagrams' skill for infrastructure topology.

C4 Architecture Skill

Goal

Produce audience-appropriate C4 diagrams for existing systems from code or planned systems from requirements. Create new diagrams with the selected renderer, or update existing diagrams when their renderer is supported.

Supported Diagrams

These defaults apply when creating new diagrams. Updates change only what the request targets.

DiagramGenerated by defaultUser selectionAnswers
Level 1: System ContextYesWhich system when several qualifyWho uses the system and what does it interact with
Level 2: ContainerYesNoneWhat separately deployable or runnable units make up a system
Level 3: ComponentYesWhich containers when several qualifyWhat major building blocks sit inside one container
Level 4: CodeOn request onlyWhich component to detailHow one component maps to code structures
DeploymentOffered when evidencedOpt-in and which environmentWhere container instances run in one named environment

Supported Renderers

Read the selected renderer reference in full before generating or modifying diagrams. Apply every relevant rule.

RendererReferenceStatus
mermaidreferences/renderer-mermaid.mdDefault

Process

Follow these steps when activating this skill:

Read the whole SKILL.md on GitHub

More in DevOps