From bilardi
Generate a draw.io XML file with architecture icons by analyzing the project code. Use when the user asks to create an architecture diagram, draw.io diagram, or infrastructure visualization from any project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bilardi:drawio-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate a `.drawio` file with architecture icons by analyzing the project code, infrastructure files, and existing diagrams.
Generate a .drawio file with architecture icons by analyzing the project code, infrastructure files, and existing diagrams.
boto3, @aws-sdk/*) for managed services; client code for connection patterns (WebSocket, HTTP, gRPC)*.tf files for AWS resources and relationships; docker-compose.yaml for services and networking; Dockerfile for exposed ports.drawio file following the layout principles and theme below.edgeStyle=orthogonalEdgeStyle only when a straight line would overlap another element  before the label text; if a straight arrow crosses a group border badly, switch to orthogonal for that edge onlyUse the mxgraph.aws4 stencil library as the primary icon source. For icon names not listed here, search the draw.io stencil browser or the AWS Architecture Icons page.
| Category | fillColor | When to use |
|---|---|---|
| Compute | #ED7100 | servers, containers, Lambda, EC2 |
| Networking | #8C4FFF | ALB, Route 53, VPC, API Gateway |
| Security | #DD344C | ACM, IAM, SSM, Cognito |
| Storage | #3F8624 | S3, DynamoDB, RDS, EBS |
| ML/AI | #01A88D | Transcribe, SageMaker, Comprehend, Rekognition |
| Generic/Client | #232F3E | PCs, browsers, user devices, CLI tools |
| Physical device | #dae8fc fill + #6c8ebf stroke | microphones, monitors, mixers, printers |
Managed service (AWS/cloud icon with category color):
outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=none;fillColor={CATEGORY_COLOR};labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.{service_name}
Server/Client (generic icon with category color):
outlineConnect=0;fontColor=#232F3E;gradientColor=none;strokeColor=none;fillColor={CATEGORY_COLOR};labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.{icon_name}
Common icon names: client (laptop), traditional_server (server rack), mobile_client (phone), users (people).
Physical device (simple shape):
rounded=1;whiteSpace=wrap;html=1;fillColor={LIGHT_COLOR};strokeColor={DARK_COLOR};fontSize=11;fontStyle=0;verticalAlign=middle;align=center;
AWS group (cloud, VPC, region):
points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=14;fontStyle=1;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon={GROUP_ICON};strokeColor={STROKE_COLOR};fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0
| Type | grIcon | strokeColor |
|---|---|---|
| AWS Cloud | mxgraph.aws4.group_aws_cloud | #232F3E |
| VPC | mxgraph.aws4.group_vpc | #8C4FFF |
| Region | mxgraph.aws4.group_region | #00A4A6 |
Generic group (on-premise, self-managed, physical):
rounded=1;whiteSpace=wrap;html=1;fillColor=none;strokeColor=#232F3E;dashed=1;verticalAlign=top;align=left;spacingLeft=10;fontSize=14;fontStyle=1;fontColor=#232F3E;container=1;collapsible=0;recursiveResize=0;
id="0" and id="1" (with parent="0") are mandatory root cellsparent to the group id; coordinates are relative to the groupparent="1"parent to that groupparent="1"<br> for line breaks in value attributestrokeColor=#232F3E;fontSize=9;fontColor=#232F3E;labelBackgroundColor=#FFFFFF;edgeStyle=orthogonalEdgeStyle;startArrow=classic;endArrow=classic;dashed=1;Write the file to images/architecture.drawio in the project root. Tell the user to open it in draw.io to verify the layout and export as PNG.
All labels in the diagram must be in English, regardless of the language used in the conversation.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub bilardi/publish-claude-plugins --plugin bilardi