generating-aws-diagrams
БесплатноЗапускает вложенные скриптыНе проверенGenerates DrawIO XML diagrams for Amazon Web Services architectures from text descriptions or images. Analyzes existing .drawio files to extract AWS…
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
AWS DrawIO Diagram Generator
Generates professional DrawIO XML diagrams for Amazon Web Services architectures.
Capabilities
- Extract - Analyze existing DrawIO XML files to identify AWS shapes, connections, and structure
- Identify - Recognize AWS service icons from architecture diagram images
- Generate - Create valid DrawIO XML from images or text descriptions
- Convert - Transform AWS architecture diagrams into editable DrawIO format
Quick Reference
AWS Shape Patterns
There are two icon types. Use service icons when labeling the AWS service itself, and instance icons when representing a specific resource.
Service icon (colored square background) — for labeling the service:
shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.{shape_name}
Instance icon (bare icon, no background) — for specific resources:
shape=mxgraph.aws4.{shape_name};fillColor={category_color}
CRITICAL: Always keep
fillColorset to the category color. Without it the icon renders white/invisible. The only difference from a service icon is the absence of theresourceIconbackground square — never removefillColorwhen using an instance icon.
| Scenario | Icon Type | Label Example |
|---|---|---|
| The AWS service itself | Service (with background) | "AWS Lambda", "Amazon RDS" |
| A specific resource/instance | Instance (no background) | "Order Processor", "Users Table" |
| Multiple instances of same service | Instance (no background) | "ECS Task 1", "ECS Task 2" |
CRITICAL: Underscore-Separated Names
Multi-word AWS shape names use UNDERSCORES in style properties!
step_functions(correct)api_gateway(correct)kinesis_data_streams(correct)step functions(WRONG - will not render)api gateway(WRONG - will not render)
The aws4.xml stencil defines names with spaces, but DrawIO's style parser requires underscores.
Always look up exact names in assets/aws-icons.json before using.
Common AWS Services
| Service | Service Icon (with background) | Instance Icon (no background) |
|---|---|---|
| Lambda | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda |
shape=mxgraph.aws4.lambda |
| Amazon S3 | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3 |
shape=mxgraph.aws4.s3 |
| Amazon EC2 | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.ec2 |
shape=mxgraph.aws4.ec2 |
| DynamoDB | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.dynamodb |
shape=mxgraph.aws4.dynamodb |
| API Gateway | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.api_gateway |
shape=mxgraph.aws4.api_gateway |
| Amazon SQS | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sqs |
shape=mxgraph.aws4.sqs |
| Amazon SNS | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.sns |
shape=mxgraph.aws4.sns |
| Step Functions | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.step_functions |
shape=mxgraph.aws4.step_functions |
| Amazon ECS | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.ecs |
shape=mxgraph.aws4.ecs |
| Amazon RDS | shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.rds |
shape=mxgraph.aws4.rds |
AWS Container Types
| Container | Use Case |
|---|---|
| aws_cloud | Top-level AWS Cloud boundary |
| aws_region | Region grouping |
| aws_availability_zone | AZ grouping |
| aws_vpc | VPC boundary |
| aws_public_subnet | Public subnet |
| aws_private_subnet | Private subnet |
| aws_security_group | Security group boundary |
| aws_auto_scaling_group | Auto scaling group |
| aws_account | AWS Account boundary |
| aws_corporate_datacenter | Corporate datacenter |
| aws_generic_group | Generic grouping |
| aws_step_functions_workflow | Step Functions workflow |
| aws_elastic_beanstalk_container | Elastic Beanstalk app |
Task 1: Analyze a DrawIO File
Use this workflow to extract and document all components from an existing DrawIO file.
Steps
- Read the file - Load the
.drawioXML file - Parse structure - Extract all
<mxCell>elements - Identify shapes - Find cells with
vertex="1" - Identify connections - Find cells with
edge="1" - Extract styles - Parse style strings for each element
- Map hierarchy - Build container/child relationships using
parentattribute - Generate report - Output findings in structured format
Input
- Path to
.drawiofile
Output
Generate a Markdown report with:
# DrawIO Analysis Report
## Summary
- Total shapes: X
- Total connections: Y
- Containers: Z
## Shape Inventory
| ID | Label | Type | Position | Parent |
|----|-------|------|----------|--------|
| abc | Lambda | mxgraph.aws4.lambda | (100,200) | vpc1 |
## Connection Matrix
| From | To | Label | Type |
|------|-----|-------|------|
| Lambda | DynamoDB | API | solid |
## Container Hierarc
Установить generating-aws-diagrams в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteВложенные файлы
FAQ
Что делает скилл generating-aws-diagrams?
Generates DrawIO XML diagrams for Amazon Web Services architectures from text descriptions or images. Analyzes existing .drawio files to extract AWS components. Use for AWS architecture diagrams, cloud infrastructure documentation, or when converting AWS diagram images to editable DrawIO format.
Как установить скилл generating-aws-diagrams?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл generating-aws-diagrams запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub