Generates GitHub-compatible Mermaid architecture diagrams visualizing system components, layers, subgraph boundaries, and data flows.
Ships in architecture-diagramming. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate clear, GitHub-compatible Mermaid architecture diagrams that visualize system components, layers, boundaries, and data flows.
Activate this skill when:
When NOT to use: not for issue/task dependencies (use dependency-mapping) or API call sequences and process flows (use mermaid-diagrams sequence diagrams).
Parentheses in Mermaid labels cause rendering errors on GitHub.
WRONG - Will break:
flowchart TD
A[Component (main)]
B[Service (auth)]
CORRECT - Use dashes or commas:
flowchart TD
A[Component - main]
B[Service - auth]
Each node shape uses specific brackets that must match:
[Rectangle] - Standard component{Diamond} - Decision point([Stadium]) - Pill shape[(Database)] - Cylinder for data stores((Circle)) - Circle nodeWRONG:
flowchart TD
A{Decision]
CORRECT:
flowchart TD
A{Decision}
For other syntax rules, see the mermaid-diagrams skill.
Show major components and their relationships:
flowchart TB
subgraph Client Layer
Web[Web App]
Mobile[Mobile App]
end
subgraph API Layer
Gateway[API Gateway]
Auth[Auth Service]
end
subgraph Data Layer
DB[(Database)]
Cache[(Redis Cache)]
end
Web --> Gateway
Mobile --> Gateway
Gateway --> Auth
Gateway --> DB
Auth --> Cache
Show horizontal layers with clear boundaries:
flowchart TB
subgraph Presentation
UI[User Interface]
API[REST API]
end
subgraph Business
Services[Business Services]
Rules[Business Rules]
end
subgraph Data
Repos[Repositories]
Entities[Domain Entities]
end
UI --> Services
API --> Services
Services --> Rules
Services --> Repos
Repos --> Entities
Show how a request flows through the system:
flowchart LR
Client[Client] --> LB[Load Balancer]
LB --> API1[API Server 1]
LB --> API2[API Server 2]
API1 --> Queue[(Message Queue)]
API2 --> Queue
Queue --> Worker[Background Worker]
Worker --> DB[(Database)]
Common layers to consider:
Use subgraphs to show:
Create a clean Mermaid diagram that:
Use clear, abbreviated names:
API not ApplicationProgrammingInterfaceAuth not AuthenticationServiceDB or use [(Name)] for databasesQueue or MQ for message queues| Arrow | Meaning |
|---|---|
--> | Standard request/response |
-.-> | Async or optional |
==> | Critical path |
--text--> | Labeled relationship |
flowchart TB
subgraph External[External Systems]
PaymentAPI[Payment Gateway]
EmailAPI[Email Service]
end
subgraph Internal[Internal Services]
App[Application]
end
App --> PaymentAPI
App --> EmailAPI
dependency-mapping for issue visualizationWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 plugins in one repository ship this exact skill · first indexed Jul 6, 2026
/architecture-diagramming:architecture-diagrammingfrom architecture-diagramming
npx claudepluginhub britt/agent-skills --plugin architecture-diagrammingOther plugins' skills for the same job