跳过主要内容
c4-architectureby Seth HobsonDevelopmentGitHub stars: 40.1k

C4 Architecture plugin: what it installs and how to add it

Creates C4 architecture documentation by analysing code and mapping components, containers, and system context.

From the Marketplace: claude-code-workflows marketplace

Install

> /plugin marketplace add wshobson/agents> /plugin install c4-architecture@claude-code-workflows

Run both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.

What is inside

  • 1command
  • 4agents

About this plugin

The plugin turns a codebase into C4 architecture documentation through a bottom-up workflow. It analyses the code, synthesises components, maps them to containers, and generates a context diagram showing the system and its surrounding dependencies.

Run the /c4-architecture command when you need to document an existing system or bring architecture views into line with the implementation. The workflow is split across agents for code analysis, component synthesis, container mapping, and context modelling.

What's inside

  • 1 slash command: /c4-architecture
  • 4 agents: c4-code, c4-component, c4-container, and c4-context

More from claude-code-workflows

Skills, not plugins

Prefer a single skill for development work? 471 skills in the same category, each installed on its own.

Development skills