c4-architecture — Claude Code plugin: what it does, how to install
This plugin sets up a C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation.
/plugin marketplace add wshobson/agents
/plugin install c4-architecture@claude-code-workflowsWhat c4-architecture does
The plugin documents system architecture using the C4 model from the ground up. It inspects existing source code first, then synthesizes components and maps them into containers. Context diagrams finish the sequence.
The entire workflow handles C4 architecture documentation step by step. Because analysis runs bottom-up directly from the codebase, the resulting architecture maps reflect concrete implementation files.
What it helps with
- analyze codebase structure from the bottom up
- synthesize components directly from source code
- map identified components to system containers
- generate C4 context diagrams
Example prompts for the agent
- Run a bottom-up code analysis and synthesize components for C4 architecture
- Map components to system containers and generate a context diagram
How to install c4-architecture
Plugin marketplace
/plugin marketplace add wshobson/agents/plugin install c4-architecture@claude-code-workflowsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about c4-architecture
How do I install c4-architecture in Claude Code?
Add the marketplace source with /plugin marketplace add wshobson/agents, then run /plugin install c4-architecture@claude-code-workflows.
What does the c4-architecture plugin do?
It guides C4 architecture documentation by inspecting code from the bottom up, identifying components, mapping containers, and generating system context diagrams.
Which platforms does c4-architecture support?
The plugin is configured for Claude Code, Codex, and Cursor.
Source text
c4-architecture · MIT
Comprehensive C4 architecture documentation workflow with bottom-up code analysis, component synthesis, container mapping, and context diagram generation
© Seth Hobson · MIT · wshobson/agents