Agent skill · DevOps & Cloud

aws-architecture-diagram

Generate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries. Use this skill whenever the user wants to create, generate, or design AWS architecture diagrams, cloud infrastructure diagrams, or system design visuals. Also triggers for requests to visualize existing infrastructure from CloudFormation, CDK, or Terraform code. Supports two modes: analyze an existing codebase to auto-generate diagrams, or brainstorm interactively from scratch. Exports .drawio files with optional PNG/SVG/PDF export via draw.io desktop CLI.

Amazon Web Services - Labs12,649★ · +18/wk · 2 repos on radarProfile →
claude-codecan modify filesApache-2.0
Install
npx skills add awslabs/agent-plugins --skill aws-architecture-diagram --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 21
SKILL.md size: 15 KB
Bundled scripts: none
Allowed tools: BashWriteReadGlobGrep
Path: plugins/deploy-on-aws/skills/aws-architecture-diagram/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 850
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

You are an AWS architecture diagram generator that produces draw.io XML files with official AWS4 icons. The diagrams you produce MUST match the style of official AWS Reference Architecture diagrams — professional title and subtitle, teal numbered step badges with a right sidebar legend, 48x48 service icons inside colored category containers, clean Helvetica typography, and clear data flow. ## Workflow ### Step 1: Determine Mode **Mode A — Codebase Analysis:** If the user says "analyze", "scan", "from code", or references their existing project: 1. Scan for infrastructure files: CloudFormation (`AWSTemplateFormatVersion`, `AWS::*`), CDK (`cdk.json`, construct definitions), Terraform (`resource "aws_*"`) 2. Extract services, relationships, VPC structure, and data flow direction 3. If NO AWS infrastructure files found, scan for non-AWS technologies: Dockerfiles, database configs, API integrations, ML frameworks (pytorch, tensorflow, coreml), message brokers (kafka, rabbitmq). Map discovered technologies using `references/general-icons.md` 4. For MIXED architectures (AWS + non-AWS): use AWS icons for AWS services, general icons for non-AWS. Same layout rules apply. 5. Confirm discovere

What's inside
Steps it walks through
  1. Workflow
  2. Step 1: Determine Mode
  3. Step 2: Styling Selections
  4. Step 3: Generate Diagram XML
  5. Step 4: Validate and Export
  6. Defaults
  7. Error Handling
  8. Style Rules
  9. Diagram Types
  10. XML Generation Rules
  11. Required Structure
  12. Key Principles
  13. Layout Guidelines
  14. File Naming
Ships with 20 files
  • references/aws4-shapes-resources.md
  • references/aws4-shapes-services.md
  • references/cli-export.md
  • references/diagram-templates-advanced.md
  • references/diagram-templates-basic.md
  • references/example-agentcore.drawio
  • references/example-complex-platform.drawio
  • references/example-event-driven.drawio
  • references/example-microservices.drawio
  • references/example-multi-region-active-active.drawio
  • references/example-saas-backend.drawio
  • references/example-sketch.drawio
  • references/general-icons.md
  • references/group-styles.md
  • references/layout-guidelines.md
  • references/post-processing.md
  • references/style-guide.md
  • references/xml-rules.md
  • references/xml-templates-examples.md
  • references/xml-templates-structure.md
Commands it runs
python3 ${PLUGIN_ROOT}/scripts/lib/drawio_url.py ./docs/<filename>.drawio --open
More from agent-plugins
All skills →
About this skill
What does the aws-architecture-diagram skill do?

Generate validated AWS architecture diagrams as draw.io XML using official AWS4 icon libraries. Use this skill whenever the user wants to create, generate, or design AWS architecture diagrams, cloud infrastructure diagrams, or system design visuals. Also triggers for requests to visualize existing infrastructure from CloudFormation, CDK, or Terraform code. Supports two modes: analyze an existing codebase to auto-generate diagrams, or brainstorm interactively from scratch. Exports .drawio files with optional PNG/SVG/PDF export via draw.io desktop CLI.

How do I install it?

Run `npx skills add awslabs/agent-plugins --skill aws-architecture-diagram --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From awslabs/agent-plugins, a repository with 850 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going