# C4

> Generate software architecture documentation using C4 model Mermaid diagrams. Short command alias for c4-architecture.

- Skill: `shalomb/c4` (Agent Skill)
- Install (CLI): `npx skillmds@latest add shalomb/c4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/shalomb/c4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: shalomb (https://skillmd.com/u/shalomb)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/shalomb/c4

---


# C4 Architecture Diagrams (/c4)

<!-- generated:alias-skill -->
When invoked, load and execute the **`c4-architecture`** skill:
1. Follow all instructions and guidelines in [`c4-architecture`](../c4-architecture/SKILL.md).
2. Determine the appropriate C4 abstraction level (C4Context, C4Container, C4Component, C4Deployment) based on the audience.
3. Analyze the codebase structure and dependencies to accurately map containers, components, and relationships.
4. Generate valid Mermaid C4 diagrams with explanatory architectural notes.

