tsaol/awesome-claude/aws-diagram
Claude Code and agent skill by tsaol/awesome-claude
- community
Checking that the SKILL.md file is still in the repository.
Generate AWS architecture diagrams in draw.io format following the awslabs official style. Supports PNG/SVG export via draw.io CLI and automated 6-point quality validation. Use when the user asks to create, update, or export an AWS architecture diagram.
Install
npx vskill@latest install tsaol/awesome-claude/aws-diagramSKILL.md
AWS Architecture Diagram Generator
Generate professional AWS architecture diagrams in draw.io XML format, following the awslabs/agent-plugins official style specification.
Capabilities
- Generate
.drawiofiles with proper AWS service icons (mxgraph.aws4.*) - Export to PNG/SVG/PDF via draw.io CLI
- Run automated 6-point quality validation
- Support light/dark mode adaptive colors
Usage
Examples:
Output
The skill produces:
architecture.drawio- Editable draw.io XML filearchitecture.png- Exported PNG image (if draw.io CLI is installed)- Quality check report (6/6 must pass)
Workflow
Step 1: Gather Requirements
Ask the user (or infer from context):
- Which AWS services are involved?
- What is the data flow between them?
- Are there external actors (users, on-premises, third-party)?
- Any specific grouping (VPC, subnets, regions)?
Step 2: Generate draw.io XML
Write the .drawio file following the format specification below.
Step 3: Validate
Run the quality check script:
All 6 checks must pass before delivery.
Step 4: Export PNG
Quality Check Rules (6 Points)
Every generated diagram MUST pass all 6 checks:
| # | Rule | What to Check | |
|---|---|---|---|
| 1 | AWS Cloud boundary | mxgraph.aws4.group_aws_cloud group present; external actors (Users) positioned outside; all AWS services positioned inside | |
| 2 | No crossing lines | All edges use orthogonalEdgeStyle; query edges and registration edges exit at different Y positions; registration edges route around services via explicit waypoints (>= 3 waypoints) | |
| 3 | Clear hierarchy | Elements follow left-to-right (or top-to-bottom) flow with increasing x (or y) coordinates | |
| 4 | Color-coded edges | Different edge types use distinct visual styles: solid for synchronous, dashed for async/optional, open-arrow for data flow | |
| 5 | All API calls labeled | Every edge representing an API call has a label with the method name | |
| 6 | No emojis | No emoji characters in any diagram element values |
Draw.io XML Format Specification
XML Structure
Page sizing:
- Small (3-5 services):
pageWidth="800" pageHeight="600" - Medium (6-12 services):
pageWidth="1169" pageHeight="827" - Large (13+):
pageWidth="1600" pageHeight="1200" - Add ~600px width for legend panel
Title Block
AWS Cloud Group
Use container=0 so services stay at parent="1" with absolute coordinates:
Users Container (Outside AWS Cloud)
Service Container (120x120 with 48x48 Icon)
Container value = category label (NOT service name). Icon value = service name.
Service Category Colors
| Category | fillColor (tint) | strokeColor | Icon fillColor | |
|---|---|---|---|---|
| Compute | #FFF2E8 | #ED7100 | #ED7100 | |
| Database | #F5E6F7 | #C925D1 | #C925D1 | |
| Analytics / Networking | #EDE7F6 | #8C4FFF | #8C4FFF | |
| Storage | #E8F5E9 | #3F8624 | #3F8624 | |
| App Integration | #FCE4EC | #E7157B | #E7157B | |
| AI / ML | #E0F2F1 | #01A88D | #01A88D | |
| Security | #FFEBEE | #DD344C | #DD344C | |
| General / Auxiliary | #F5F5F5 | #666666 | #666666 |
AWS Service Icon Names (mxgraph.aws4.*)
Compute: lambda, ec2, fargate, elastic_beanstalk, app_runner, batch Database: dynamodb, rds, aurora, elasticache, neptune Storage: s3, glacier, elastic_file_system, elastic_block_store Analytics: kinesis, athena, glue, emr, redshift, quicksight App Integration: sqs, sns, eventbridge, step_functions, apigateway, appsync Security: cognito, identity_and_access_management, secrets_manager, waf Networking: route_53, cloudfront, vpc, transit_gateway Containers: ecs, eks, ecr AI/ML: sagemaker, bedrock, rekognition_2, comprehend, textract Management: cloudwatch_2, cloudtrail, systems_manager, cloudformation
Group Shapes
| Group | grIcon | strokeColor | |
|---|---|---|---|
| AWS Cloud | mxgraph.aws4.group_aws_cloud | #232F3E | |
| Region | mxgraph.aws4.group_region | #00A4A6 | |
| VPC | mxgraph.aws4.group_vpc2 | #8C4FFF | |
| Public Subnet | mxgraph.aws4.group_public_subnet | #248814 | |
| Private Subnet | mxgraph.aws4.group_private_subnet | #147EBA | |
| Security Group | mxgraph.aws4.group_security_group | #DD344C |
CRITICAL: Regions MUST use container=0. Services placed at parent="1" with absolute coordinates.
Edge Styles
Standard (synchronous):
Dashed (async / optional):
Open arrow (data flow):
Edge label (separate child cell):
Avoiding Crossing Lines
When multiple edges leave the same source:
- Use different exit points: Assign distinct
exitX/exitYvalues as XML attributes on each edge - Route around services: For edges that need to pass other services, use explicit waypoints:
``xml <mxGeometry relative="1" as="geometry"> <Array as="points"> <mxPoint x="620" y="184" /> <mxPoint x="840" y="184" /> </Array> </mxGeometry> ``
- Separate lanes: Query edges (solid) and registration/async edges (dashed) should exit at different Y positions and use separate horizontal/vertical lanes
- Edges on opposite sides: If possible, route output edges from the left side (
exitX=0) and data edges from the right side (exitX=1)
Step Badges (28x28)
Place near arrow source end, offset 20px, minimum 10px clearance from icons.
Legend Panel
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aws-diagram/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 4
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tsaol/awesome-claude/aws-diagram)