giuseppe-trisciuoglio/developer-kit/aws-drawio-architecture-diagrams
Claude Code and agent skill by giuseppe-trisciuoglio/developer-kit
- community
Checking that the SKILL.md file is still in the repository.
Creates professional AWS architecture diagrams in draw.io XML format (.drawio files) using official AWS Architecture Icons (aws4 library). Use when the user asks for AWS diagrams, VPC layouts, multi-tier architectures, serverless designs, network topology, or draw.io exports involving Lambda, EC2, RDS, or other AWS services.
Install
npx vskill@latest install giuseppe-trisciuoglio/developer-kit/aws-drawio-architecture-diagramsSKILL.md
The same SKILL.md was published earlier as giuseppe-trisciuoglio/developer-kit/aws-drawio-architecture-diagrams.
AWS Architecture Diagram Creation with Draw.io
Overview
Creates pixel-perfect AWS architecture diagrams in draw.io XML format using official AWS4 shape library. Generates production-ready .drawio files for diagrams.net.
When to Use
- AWS cloud architecture diagrams (VPC, subnets, services)
- Multi-tier application architectures on AWS
- Serverless designs (Lambda, API Gateway, DynamoDB)
- Network topology diagrams with security groups
- Infrastructure documentation for Well-Architected reviews
Instructions
File Structure
Every .drawio file follows this XML structure:
Key rules:
- IDs "0" and "1" are reserved for root cells
- Use sequential integer IDs starting from "2"
- Landscape orientation (
pageWidth="1169" pageHeight="827") - All coordinates positive and aligned to grid (multiples of 10)
AWS4 Group Containers
Groups use container=1 with child shapes referencing via parent="groupId".
AWS Cloud (top-level boundary):
Region:
VPC:
Subnet styles:
- Public:
strokeColor=#7AA116;fillColor=#E9F3D2;fontColor=#248814 - Private:
strokeColor=#00A4A6;fillColor=#E6F6F7;fontColor=#147EBA
AWS4 Service Icons
Service icons use shape=mxgraph.aws4.resourceIcon with resIcon property.
CRITICAL: `strokeColor=#ffffff` is required for resourceIcon shapes to render white icon glyphs on colored backgrounds.
Standard service icon:
Dedicated shapes (Lambda, ALB, Users) use `strokeColor=none`. See references/aws-shape-reference.md for complete shape catalog.
Service Color Codes
Each AWS service category uses official colors. All resourceIcon shapes must use strokeColor=#ffffff and gradientDirection=north. See references/aws-shape-reference.md for full color table.
Quick reference:
| Category | fillColor | gradientColor | Services | |
|---|---|---|---|---|
| Compute | #D05C17 | #F78E04 | EC2, ECS, EKS, Fargate | |
| Storage | #277116 | #60A337 | S3, EBS, EFS, Glacier | |
| Database | #3334B9 | #4D72F3 | RDS, DynamoDB, Aurora, Redshift | |
| Networking | #5A30B5 | #945DF2 | CloudFront, Route 53, API GW | |
| Security | #C7131F | #F54749 | IAM, Cognito, KMS, WAF | |
| App Integration | #BC1356 | #F54749 | SQS, SNS, EventBridge |
Connector Styles
Standard data flow:
Encrypted connection:
Async/event flow:
Layout Best Practices
- Hierarchy: External → Internet → AWS Cloud → Region → VPC → Subnets → Services
- Flow: Left-to-right for user traffic, top-to-bottom for tiers
- Sizes: Service icons 60x60, grid-aligned coordinates
- Spacing: 30-40px between icons, 20px padding inside containers
- Labels: Place below icons (
verticalLabelPosition=bottom)
Examples
Three-Tier Architecture
User Request: "Create AWS three-tier architecture with VPC, public ALB, private EC2, RDS across 2 AZs."
Generated Output:
Opening Instructions:
Serverless API Architecture
User Request: "Create serverless architecture with API Gateway, Lambda, DynamoDB, S3 for REST API."
Generated Output: XML with API Gateway (violet), Lambda (orange), DynamoDB (blue), S3 (green). See references/aws-architecture-templates.md for complete template.
Reference Files
See references/ directory:
aws-shape-reference.md- Complete AWS4 shape catalog with styles for 50+ servicesaws-architecture-templates.md- Ready-to-use templates (3-tier, serverless, data pipeline)
Constraints and Warnings
Validation Workflow
Always follow this validation checklist before saving:
- Generate XML - Create complete
.drawiofile structure - Validate ID uniqueness - Ensure all IDs are unique integers (0, 1 reserved)
- Check parent references - Verify all
parentattributes reference existing cells - Verify XML well-formedness - Close all tags, escape special chars (
&→&,<→<) - Test in draw.io - Open at
https://app.diagrams.net/?libs=aws4 - Fix rendering issues - Adjust positions if elements overlap or render incorrectly
Critical Constraints
- XML well-formed: Invalid XML fails to open. Close all tags, escape special characters, use
<br>for line breaks.
- ID uniqueness mandatory: IDs "0" and "1" reserved. All others must be unique integers from "2". Duplicates cause loading failures.
- Coordinate system: All coordinates positive integers, multiples of 10 for grid alignment.
- AWS4 library only: Use official
mxgraph.aws4.*shapes. Legacymxgraph.aws3.*not supported.
- Valid parent references: Parent must reference existing cell ID. Invalid refs cause elements to disappear.
Limitations
- No dynamic layouts - Manual adjustment may be needed for complex diagrams
- Single page only - Multi-page requires multiple
<diagram>elements - No auto-routing - Rearranging elements requires manual edge adjustment
Security Considerations
- No sensitive data - Avoid real IPs, ARNs, or resource IDs in labels
- Review before sharing - XML exposes architecture details
- Validate templates - Review XML before production documentation
Best Practices
- Use official AWS4 shapes (
mxgraph.aws4.*) - Follow AWS service category colors
- Nest properly: AWS Cloud → Region → VPC → Subnet → Services
- Label services, CIDR blocks, ports, protocols
- Show data flow direction with labeled arrows
- Include external actors (users, corporate DC)
- Keep diagrams focused (15-20 icons max)
- Add annotations for important notes ("Multi-AZ", "Auto Scaling")
- Validate all IDs unique and parent references exist
Security
- Security scanPassed, 95 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 repositoryCheckingplugins/developer-kit-aws/skills/aws/aws-drawio-architecture-diagrams/SKILL.md
Popularity
- Repository stars
- 298
- Repository forks
- 35
- 7-day trend score
- 29
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/giuseppe-trisciuoglio/developer-kit/aws-drawio-architecture-diagrams)