C4 — Development skill for Claude Code
Draw C4 context, container and component diagrams of the real system as PlantUML or Mermaid.
How to install C4
Installs to ~/.claude/skills/cloudsufi-claude_java_skills-c4/SKILL.md
mkdir -p ~/.claude/skills/cloudsufi-claude_java_skills-c4 && curl -fsSL https://raw.githubusercontent.com/cloudsufi/Claude_java_skills/HEAD/commands/c4.md -o ~/.claude/skills/cloudsufi-claude_java_skills-c4/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What C4 does
description: Draw C4 context, container and component diagrams of the real system as PlantUML or Mermaid argument-hint: "[system | module | repo path]" allowed-tools: Read, Grep, Glob, Write, Edit, Bash(plantuml:*), Bash(mmdc:*) disable-model-invocation: true
C4 diagrams
**Target:** $ARGUMENTS
Draw the system as it exists, top-down and only as deep as adds value. If no target is given, use the repository in the current directory.
1. Preflight
- Ground it in reality. Read t
Alternatives in Development
- E2e Devcontainer — Run E2E tests in a dev container (isolated environment) 1.6k ★
- Devcontainer Features — Anthropic Dev Container Features, including Claude Code CLI 244 ★
- Deep Dive Claude Code — 《深入理解 Claude Code 源码》— 系统剖析 Anthropic Claude Code CLI 的架构设计、工程实践与编程哲学 25 chapters, 101 Mermaid diagrams, 467 c 181 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Sequence Diagram
Trace a real Java call path and draw it as a sequence diagram in Mermaid and PlantUML
Sac Diagrams
Capture or author Mermaid/PlantUML diagrams and code structure into SAC
TS Tsx JS Jsx Architecture Diagrams
Claude Code skill that generates architecture diagrams ( class, component, and dependency graphs) for any Type
Excalidraw
Let Claude Code or Codex draw real Excalidraw diagrams — flowcharts, wireframes, slide decks, SWOT, Lean Canva
Draw Diagrams
Agent skill: turn any outline into a real, editable mind map - SVG + .xdt + one-click web link. 25 layouts, 9
Uml
Generate the right UML diagram for Java code or a described flow, as Mermaid and PlantUML
Related Agents
Diagram Generation
Diagram generation expert for draw.io, PlantUML, and Mermaid — use proactively when creating architecture diag
Arch Documenter
Use for generating architecture documentation, API specifications (OpenAPI), Architecture Decision Records (AD
Architecture Diagrammer
Explore a subsystem or module and produce Mermaid architecture diagrams documenting data flows, component rela