c4-architecture
Generate architecture documentation using C4 model Mermaid diagrams.
Skill by manu14357
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/manu14357-c4-architecture
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/c4-architecture
What's inside
- Skill name
c4-architecture- Description
- Generate architecture documentation using C4 model Mermaid diagrams. Use when asked to create architecture diagrams, document system architecture, visualize software structure, create C4 diagrams, or generate context/container/component/deployment diagrams. Triggers include "architecture diagram", "C4 diagram", "system context", "container diagram", "component diagram", "deployment diagram", "document architecture", "visualize architecture".
- License
- MIT
- Instructions
- 292 lines in SKILL.md · view on GitHub
Files (5)
- README.md
- SKILL.md
- advanced-patterns.md · references/
- c4-syntax.md · references/
- common-mistakes.md · references/
SKILL.md (first lines)
# C4 Architecture Documentation
Generate software architecture documentation using C4 model diagrams in Mermaid syntax.
## Workflow
1. **Understand scope** - Determine which C4 level(s) are needed based on audience
2. **Analyze codebase** - Explore the system to identify components, containers, and relationships
3. **Generate diagrams** - Create Mermaid C4 diagrams at appropriate abstraction levels
4. **Document** - Write diagrams to markdown files with explanatory context
## C4 Diagram Levels
Select the appropriate level based on the documentation need:
| Level | Diagram Type | Audience | Shows | When to Create |
|-------|-------------|----------|-------|----------------|
| 1 | **C4Context** | Everyone | System + external actors | Always (required) |
| 2 | **C4Container** | Technical | Apps, databases, services | Always (required) |
| 3 | **C4Component** | Developers | Internal components | Only if adds value |
| 4 | **C4Deployment** | DevOps | Infrastructure nodes | For production systems |
| - | **C4Dynamic** | Technical | Request flows (numbered) | For complex workflows |
**Key Insight:** "Context + Container diagrams are sufficient for most software development teams." Only create Component/Code diagrams when they genuinely add value.
## Quick Start Examples
### System Context (Level 1)
```mermaid
C4Context
title System Context - Workout Tracker
Person(user, "User", "Tracks workouts and exercises")
System(app, "Workout Tracker", "Vue PWA for tracking strength and CrossFit workouts")
System_Ext(browser, "Web Browser", "Stores data in IndexedDB")
Rel(user, app, "Uses")
Rel(app, browser, "Persists data to", "IndexedDB")
```
### Container Diagram (Level 2)
```mermaid
C4Container
title Container Diagram - Workout Tracker
Person(user, "User", "Tracks workouts")
Container_Boundary(app, "Workout Tracker PWA") {
Container(spa, "SPA", "Vue 3, TypeScript", "Single-page application")
Container(pinia, "State Management", "Pinia", "Manages application state")
ContainerDb(indexeddb, "IndexedDB", "Dexie", "Local workout storage")
}
Rel(user, spa, "Uses")
Rel(spa, pinia, "Reads/writes state")
Rel(pinia, indexeddb, "Persists", "Dexie ORM")
```
### Component Diagram (Level 3)
```mermaid
C4Component
title Component Diagram - Workout Feature
Container(views, "Views", "Vue Router pages")
Container_Boundary(workout, "Workout Feature") {
Component(useWorkout, "useWorkout", "Composable", "Workout execution state")
Component(useTimer, "useTimer", "Composable", "Timer state machine")
Component(workoutRepo, "WorkoutRepository", "Dexie", "Workout persistence")
}
Rel(views, useWorkout, "Uses")
Rel(useWorkout, useTimer, "Controls")
Rel(useWorkout, workoutRepo, "Saves to")
```
### Dynamic Diagram (Request Flow)
```mermaid
C4Dynamic
title Dynamic Diagram - User Sign In Flow
ContainerDb(db, "Database", "PostgreSQL", "User credentials")
Container(spa, "Single-Page App", "React", "Banking UI")
Container_Boundary(api, "API Application") {
Component(signIn, "Sign In Controller", "Express", "Auth endpoint")
Component(security, "Security Service", "JWT", "Validates credentials")
}
Rel(spa, signIn, "1. Submit credentials", "JSON/HTTPS")
Rel(signIn, security, "2. Validate")
Rel(security, db, "3. Query user", "SQL")
UpdateRelStyle(spa, signIn, $textColor="blue", $offsetY="-30")
```
### Deployment Diagram
```mermaid
C4Deployment
title Deployment Diagram - Production
Deployment_Node(browser, "Customer Browser", "Chrome/Firefox") {
Container(spa, "SPA", "React", "Web application")
}
Deployment_Node(aws, "AWS Cloud", "us-east-1") {
Deployment_Node(ecs, "ECS Cluster", "Fargate") {
Container(api, "API Service", "Node.js", "REST API")
}
Deployment_Node(rds, "RDS", "db.r5.large") {
ContainerDb(db, "Database", "PostgreSQL", "Application data")
}
}
Rel(spa, api, "API calls", "HTTPS")
Rel(api, db, "Reads/writes", "JDBC")
```
## Element SyntaxFrom manu14357/zskills, MIT.
More from manu14357/zskills
- 0.550score
backend-to-frontend-handoff-docs
manu14357
Create API handoff documentation for frontend developers.
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-dev-jobs-mcp
manu14357
Search 8,400+ AI and ML jobs across 489 companies, inspect listings and employers, match roles, and view salary and market stats via AI Dev Jobs MCP
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-engineering-toolkit
manu14357
6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit…
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-product
manu14357
Every product will be AI-powered.
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-md
manu14357
Convert human-written CLAUDE.md into AI-native structured-label format.
SkillCFreshness: C★ 16Claude Code +9 - 0.519score
agent-manager-skill
manu14357
Manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.
SkillCFreshness: C★ 16Claude Code +9 - 0.513score
agent-memory-systems
manu14357
Memory is the cornerstone of intelligent agents.
SkillCFreshness: C★ 16Claude Code +9 - 0.485score
browser-testing-with-devtools
manu14357
Tests in real browsers.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
azure-cloud-migrate
manu14357
Plan and execute cloud migrations to Azure from on-premises or other clouds.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
azure-aigateway
manu14357
Design an Azure AI gateway layer for centralized model routing, policy enforcement, and operational control.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
appinsights-instrumentation
manu14357
Instrument applications with Azure Application Insights and OpenTelemetry for end-to-end observability.
SkillDFreshness: D★ 16Claude Code +9 - 0.481score
azure-prepare
manu14357
Prepare Azure environments and prerequisites before deployment.
SkillDFreshness: D★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Apr 28, 2026 (6 months ago)
- Last release
- Apr 26, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/manu14357/zskills
- Website
- zskills.vercel.app
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.339score
c4-architecture
dushyantkhosla
Generate architecture documentation using C4 model Mermaid diagrams.
SkillAFreshness: AClaude Code +9 - 0.285score
c4-architecture
ZiadNagar
Generate architecture documentation using C4 model Mermaid diagrams.
SkillCFreshness: CClaude Code +9 - 0.278score
c4-architecture
Microck
Generate architecture documentation using C4 model Mermaid diagrams.
SkillDFreshness: D★ 5Claude Code +9 - 0.269score
c4-architecture
RamonsDka
Generate architecture documentation using C4 model Mermaid diagrams.
SkillDFreshness: D★ 2Claude Code +9 - 0.266score
c4-architecture
fefogarcia
Generate architecture documentation using C4 model Mermaid diagrams.
SkillDFreshness: D★ 2Claude Code +9
More from manu14357
- 0.550score
backend-to-frontend-handoff-docs
manu14357
Create API handoff documentation for frontend developers.
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-engineering-toolkit
manu14357
6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit…
SkillCFreshness: C★ 16Claude Code +9 - 0.547score
ai-dev-jobs-mcp
manu14357
Search 8,400+ AI and ML jobs across 489 companies, inspect listings and employers, match roles, and view salary and market stats via AI Dev Jobs MCP
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-md
manu14357
Convert human-written CLAUDE.md into AI-native structured-label format.
SkillCFreshness: C★ 16Claude Code +9 - 0.538score
ai-product
manu14357
Every product will be AI-powered.
SkillCFreshness: C★ 16Claude Code +9 - 0.519score
agent-manager-skill
manu14357
Manage multiple local CLI agents via tmux sessions (start/stop/monitor/assign) with cron-friendly scheduling.
SkillCFreshness: C★ 16Claude Code +9
Cite this page
c4-architecture skill. Agent Mart. https://agentmart.dev/skills/manu14357-c4-architecture (last updated 2026-10-24)