architecture-diagrams
Generate architecture diagrams (Mermaid, PlantUML, C4) from a written description of a system. Supports AWS/Azure/GCP cloud topologies, microservice landscapes, sequence flows, container diagrams, and ER models. Use whenever the user asks for an architecture diagram, system sketch, flow diagram, or visualization of a design.
Other ways to install
With the sibling skills it hands off to:
The whole pack it belongs to:
By hand, from a clone of the repo:
In Claude Code, with the solution-architect plugin installed, invoke it as:
Try it
A realistic prompt from the skill's acceptance evals:
Draw the architecture for a checkout service: an API gateway, an orders service, a payments service calling Stripe, and a Postgres primary with a read replica.
What a good result looks like
Example output
Example: Three-tier web app on AWS · the skill's own worked example, source
Prompt the user gave: "Draw me a three-tier web app on AWS with an ALB, two ECS services (web + worker), and an RDS Postgres backend."
Response:
flowchart TB
Internet([🌐 Internet])
subgraph AWS["☁️ AWS us-east-1"]
subgraph VPC["🛡️ VPC 10.0.0.0/16"]
subgraph PubSub["Public subnet"]
ALB[🔀 Application Load Balancer]
end
subgraph PrivSub["Private subnet"]
Web[📦 ECS web service]
Worker[📦 ECS worker service]
end
subgraph DataSub["Data subnet"]
RDS[(🐘 RDS Postgres Multi-AZ)]
end
end
SQS{{📨 SQS jobs}}
S3[(🪣 S3 user uploads)]
end
Internet -->|HTTPS 443| ALB
ALB -->|HTTP 8080| Web
Web -->|SQL| RDS
Web -->|enqueue| SQS
Worker -->|dequeue| SQS
Worker -->|SQL| RDS
Web -.signed URLs.-> S3
Design notes:
- Why two ECS services and not one? Long-running background work (image resize, email, exports) needs its own scaling profile and shouldn't share CPU with request-serving containers.
- RDS Multi-AZ for automatic failover — single-AZ is fine for dev/test but rarely acceptable in production for a three-tier app.
- Uploads bypass the API via S3 pre-signed URLs to avoid a 100 MB file streaming through ECS containers.
- No NAT gateway shown — add one (or VPC endpoints) if the private subnet containers need to reach S3/SQS over the AWS network without a public IP.
Want to extend? Common follow-ups: add CloudFront in front of ALB, add ElastiCache Redis for sessions, add WAF rules, split into multi-region active/passive.
How it's checked
Measured against plain Claude Code (2026-10-23): it met 89% of its checks, against 58% without it, and a blind judge preferred it. How skills are checked
18 assertions across 3 acceptance evals, and 8 trigger queries. Every skill's checks
What the output must do
When it should and shouldn't activate
Should activate:
- Draw an architecture diagram for this system
- Generate a Mermaid diagram of these services
- Create a C4 container diagram from this description
- Diagram the sequence flow I just described
Should leave to another skill:
- Reverse-engineer the architecture from our Terraform and repo
- Read the frames in our Figma file
- Threat model this design
- Write the design doc for this system
Hands off to
- figma-diagrams — when the diagram needs to live where designers work. Push the rendered diagram into Figma.
Source
SKILL.md · the whole folder on GitHub.