[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-aws-labs-aws-architecture-diagram":3,"mdc--ip317q-key":42,"related-org-aws-labs-aws-architecture-diagram":2356,"related-repo-aws-labs-aws-architecture-diagram":2535},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":37,"sourceUrl":40,"mdContent":41},"aws-architecture-diagram","generate AWS architecture diagrams","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\u002FSVG\u002FPDF export via draw.io desktop CLI.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"aws-labs","AWS Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Faws-labs.png","awslabs",[13,17,20,23],{"name":14,"slug":15,"type":16},"Architecture","architecture","tag",{"name":18,"slug":19,"type":16},"Diagrams","diagrams",{"name":21,"slug":22,"type":16},"AWS","aws",{"name":24,"slug":25,"type":16},"Design","design",831,"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Fagent-plugins","2026-07-12T08:37:11.012278",null,127,[32,33,34,22,35,36],"agent-plugins","agent-skills","agents","coding-agent-skills","coding-agents",{"repoUrl":27,"stars":26,"forks":30,"topics":38,"description":39},[32,33,34,22,35,36],"Agent Plugins for AWS equip AI coding agents with the skills to help you architect, deploy, and operate on AWS.","https:\u002F\u002Fgithub.com\u002Fawslabs\u002Fagent-plugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fdeploy-on-aws\u002Fskills\u002Faws-architecture-diagram","---\nname: aws-architecture-diagram\ndescription: \"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\u002FSVG\u002FPDF export via draw.io desktop CLI.\"\nargument-hint: \"[describe your architecture or say 'analyze' to scan codebase]\"\nallowed-tools: Bash, Write, Read, Glob, Grep\nuser-invocable: true\n---\n\nYou 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.\n\n## Workflow\n\n### Step 1: Determine Mode\n\n**Mode A — Codebase Analysis:** If the user says \"analyze\", \"scan\", \"from code\", or references their existing project:\n\n1. Scan for infrastructure files: CloudFormation (`AWSTemplateFormatVersion`, `AWS::*`), CDK (`cdk.json`, construct definitions), Terraform (`resource \"aws_*\"`)\n2. Extract services, relationships, VPC structure, and data flow direction\n3. 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\u002Fgeneral-icons.md`\n4. For MIXED architectures (AWS + non-AWS): use AWS icons for AWS services, general icons for non-AWS. Same layout rules apply.\n5. Confirm discovered architecture with user before generating\n6. Ask which diagram type best represents the architecture\n\n**Mode B — Brainstorming:** If the user describes an architecture or says \"brainstorm\"\u002F\"design\"\u002F\"from scratch\":\n\n1. Ask 3-5 focused questions (purpose, services, scale, security, traffic pattern)\n2. Propose the architecture with service recommendations and data flow\n3. Iterate if needed, then generate\n\n### Step 2: Styling Selections\n\nThese are independent of Mode and apply after mode selection:\n\n- **Sketch mode**: Activated ONLY if user says \"sketch\", \"hand-drawn\", or \"sketchy\". Default: OFF (Helvetica, no sketch attributes). See Sketch Mode in Style Rules below.\n- **Legend panel**: Activated by default for 7+ services or multiple branching paths. Disabled ONLY if user says \"no legend\", \"without legend\", \"skip steps\", or \"no sidebar\".\n- **Export format**: Check for format keywords (png, svg, pdf). Default: `.drawio` only.\n\n### Step 3: Generate Diagram XML\n\n**Load references now** (not before this step):\n\n1. Read `references\u002Fxml-rules.md` for shape styles, label placement, and structural rules\n2. Read `references\u002Fstyle-guide.md` for colors, fonts, and dark mode\n3. Read `references\u002Fxml-templates-structure.md` for XML code blocks\n4. Read `references\u002Flayout-guidelines.md` for spacing and edge routing\n5. Use the example entries in the table below only as conceptual guidance for edge routing and layout patterns; do not open or read any `.drawio` files as reference.\n\n**Example selection** — pick the most relevant example for the user's architecture:\n\n| Diagram Type           | Primary Example                             | Secondary                         |\n| ---------------------- | ------------------------------------------- | --------------------------------- |\n| Serverless \u002F API       | `example-saas-backend.drawio`               | `example-event-driven.drawio`     |\n| Event-driven \u002F async   | `example-event-driven.drawio`               | `example-microservices.drawio`    |\n| Microservices \u002F ECS    | `example-microservices.drawio`              | `example-complex-platform.drawio` |\n| Multi-region           | `example-multi-region-active-active.drawio` | —                                 |\n| Complex (13+ services) | `example-complex-platform.drawio`           | `example-saas-backend.drawio`     |\n| AI \u002F AgentCore         | `example-agentcore.drawio`                  | `example-event-driven.drawio`     |\n| Sketch mode            | `example-sketch.drawio`                     | + one from above                  |\n\n1. If the architecture includes non-AWS services, also read `references\u002Fgeneral-icons.md`\n2. Generate the XML following all loaded rules and the selected example's patterns\n3. Apply styling selections from Step 2\n\n### Step 4: Validate and Export\n\n1. Write the `.drawio` file to `.\u002Fdocs\u002F`\n2. PostToolUse hook validates XML automatically (see `references\u002Fpost-processing.md` for the fixer pipeline)\n3. If validation fails, fix errors and rewrite\n4. Run badge overlap fixer: `python3 ${PLUGIN_ROOT}\u002Fscripts\u002Flib\u002Ffix_step_badges.py .\u002Fdocs\u002F\u003Cfilename>.drawio`\n5. After validation passes, generate preview URL:\n\n   ```bash\n   python3 ${PLUGIN_ROOT}\u002Fscripts\u002Flib\u002Fdrawio_url.py .\u002Fdocs\u002F\u003Cfilename>.drawio --open\n   ```\n\n6. If export format requested, run draw.io CLI (see `references\u002Fcli-export.md`)\n\n## Defaults\n\n- **Mode**: Brainstorm (if no codebase context)\n- **Font**: `fontFamily=Helvetica` (Comic Sans MS only in sketch mode)\n- **Icon size**: 48x48 inside 120x120 containers\n- **Spacing**: 180px horizontal, 120px vertical between service group containers\n- **Legend**: ALWAYS for 7+ services (unless user opts out)\n- **Sketch mode**: OFF (unless user explicitly requests)\n- **Dark mode**: `light-dark()` on all structural elements (always enabled)\n- **Export format**: `.drawio` (unless user requests png\u002Fsvg\u002Fpdf)\n- **Grid**: OFF (`grid=0`)\n- **File location**: `.\u002Fdocs\u002F` directory\n- **XML format**: Uncompressed, wrapped in `\u003Cmxfile>\u003Cdiagram>\u003CmxGraphModel>`\n\n## Error Handling\n\n- **XML validation failure**: Fix reported errors (malformed tags, missing IDs, invalid shapes), rewrite the file, re-validate\n- **Shape not found**: Check `references\u002Faws4-shapes-services.md` for valid `mxgraph.aws4.*` names\n- **draw.io CLI not found**: Write `.drawio` file only, skip export, inform user to install draw.io desktop\n- **Invalid edge source\u002Ftarget**: Verify all `source=` and `target=` IDs reference existing `mxCell` elements\n- **Double hyphens in XML comments**: `--` is illegal inside `\u003C!-- -->` per XML spec; use single hyphens or rephrase\n- **Special characters**: Escape `&amp;`, `&lt;`, `&gt;`, `&quot;` in attribute values\n\n## Style Rules\n\nFull style details in `references\u002Fstyle-guide.md`. Critical rules that MUST be followed:\n\n- **Font**: ALL text MUST use `fontFamily=Helvetica;` (Comic Sans MS only in sketch mode)\n- **Dark mode**: ALL structural elements MUST use `light-dark()` fills with `fillStyle=auto;`. See style-guide.md for the full color table.\n- **Region groups**: MUST use `container=0` (decoration-only). Services use `parent=\"aws-cloud\"` with absolute coords.\n- **Group fontColor**: MUST match the group's `strokeColor` (VPC: `#8C4FFF`, Public subnet: `#248814`, Private subnet: `#147EBA`, Region: `#00A4A6`). NEVER use `fontColor=#AAB7B8`.\n- **Font hierarchy**: Title 30px bold > Subtitle 16px > Group 14px bold > Container 12px bold > Service 10px > Edge 11px\n- **Category containers**: Every 48x48 icon MUST sit inside a 120x120 container with its category tint color. See style-guide.md for the tint color table.\n- **AgentCore**: Use `resIcon=mxgraph.aws4.bedrock_agentcore` (NOT `mxgraph.aws4.bedrock`)\n- **Sketch mode**: Only when user requests it. Add `sketch=1;curveFitting=1;jiggle=2` to non-icon elements. Keep `sketch=0` on service icons.\n- **Non-AWS services**: Map to the closest general icon using `references\u002Fgeneral-icons.md`. Same 120x120 container + 48x48 icon pattern. Apply category tint colors by functional role (database, compute, etc.). Labels are critical since icons are generic.\n\n## Diagram Types\n\n- **VPC\u002FNetwork**: VPC, subnets, security groups, NAT gateways, load balancers with group shapes\n- **Serverless**: API Gateway, Lambda, DynamoDB, S3, Step Functions, EventBridge\n- **Multi-Region**: Multiple regions with replication, Route 53, Global Accelerator\n- **CI\u002FCD Pipeline**: CodeCommit\u002FGitHub -> CodeBuild -> CodeDeploy -> targets\n- **Data Flow\u002FAnalytics**: Kinesis, S3, Glue, Athena, Redshift, QuickSight pipelines\n- **Container**: ECS\u002FEKS clusters, ECR, Fargate, load balancing\n- **Hybrid**: On-premises + AWS with Direct Connect, VPN, Transit Gateway\n\nSee `references\u002Fdiagram-templates-basic.md` and `references\u002Fdiagram-templates-advanced.md` for layout patterns.\n\n## XML Generation Rules\n\nFor detailed XML templates, style strings, and code examples, see `references\u002Fxml-rules.md`. Key structural rules:\n\n### Required Structure\n\nAlways use the full `mxfile` wrapper:\n\n```xml\n\u003Cmxfile host=\"Electron\" version=\"29.6.1\">\n  \u003Cdiagram name=\"Page-1\" id=\"diagram-1\">\n    \u003CmxGraphModel dx=\"1200\" dy=\"800\" grid=\"0\" gridSize=\"10\" guides=\"1\" tooltips=\"1\" connect=\"1\" arrows=\"1\" fold=\"1\" page=\"0\" pageScale=\"1\" pageWidth=\"1100\" pageHeight=\"850\" math=\"0\" shadow=\"0\">\n      \u003Croot>\n        \u003CmxCell id=\"0\" \u002F>\n        \u003CmxCell id=\"1\" parent=\"0\" \u002F>\n        \u003C!-- All shapes and edges here -->\n      \u003C\u002Froot>\n    \u003C\u002FmxGraphModel>\n  \u003C\u002Fdiagram>\n\u003C\u002Fmxfile>\n```\n\n- Cell `id=\"0\"` is the root layer; cell `id=\"1\"` is the default parent (both always required)\n- All diagram elements use `parent=\"1\"` unless nested inside a container\n- Use descriptive cell IDs: `vpc-1`, `lambda-orders`, `s3-assets`, `edge-lambda-to-dynamo`\n\n### Key Principles\n\n- ALWAYS use `mxgraph.aws4.*` namespace. Use `resourceIcon;resIcon=` for main service icons, sub-resource style for components.\n- Container `value` = category label (e.g., \"DNS\", \"Compute\"). Icon `value` = service name + optional italic sub-label. NEVER put the service name on the container.\n- Edges connect to service icons, not containers. Use `exitX`\u002F`exitY` and `entryX`\u002F`entryY` (0-1) to control connection sides.\n- Edge labels are separate child cells with `connectable=\"0\"` and `relative=\"1\"` geometry.\n- Region groups use `container=0` (decoration-only). VPC\u002Fsubnets use `container=1`.\n- Prefer flat layouts. Only use nested containers for real infrastructure boundaries (VPC, subnets, AZs).\n- External actors use visible containers (`fillColor=#f5f5f5`), placed BELOW title block at y >= 140.\n\n## Layout Guidelines\n\nFor detailed spacing rules, edge routing patterns, and placement tables, see `references\u002Flayout-guidelines.md`. Key rules:\n\n- **Spacing**: 180px horizontal \u002F 120px vertical gaps. For 13+ services, increase to 220px\u002F160px.\n- **Edge routing**: Use `orthogonalEdgeStyle`. Add explicit waypoints for non-adjacent routing. Edges leave perpendicular to container face.\n- **Multiple edges**: Each outgoing edge MUST exit from a different point. Spread entry points when multiple edges enter the same target.\n- **Step badges\u002Flegend**: Teal `#007CBD` 28x28 badges near arrow sources. Right sidebar legend for 7+ services. Legend height MUST match diagram height.\n- **Auxiliary services**: Only CloudWatch, CloudTrail, X-Ray, IAM. No step numbers, no edges. Place in dashed \"Auxiliary Services\" group inside AWS Cloud boundary.\n- **All other services are primary** — MUST have edges and step numbers.\n\n## File Naming\n\nEach diagram gets a **descriptive filename** in kebab-case, placed in `.\u002Fdocs\u002F` (e.g., `docs\u002Fhealthcare-appointment-agent.drawio`, `docs\u002F3-tier-vpc-webapp.drawio`). Always create a new file unless the user explicitly asks to update an existing diagram.\n\n## Output\n\n1. Create the `docs\u002F` directory if it does not exist\n2. Derive the filename from the user's prompt (see File Naming above)\n3. **Always create new files** unless the user explicitly asks to update an existing diagram\n4. Save the diagram to `.\u002Fdocs\u002F\u003Cdescriptive-name>.drawio`\n5. After writing, the PostToolUse hook will automatically:\n   a. Validate the XML (structure, AWS shapes, edges, geometry)\n   b. If validation passes, generate a draw.io preview URL\n6. If validation fails, fix the errors and rewrite the file\n7. **Only after validation passes**, generate the browser preview link by running:\n\n   ```bash\n   python3 ${PLUGIN_ROOT}\u002Fscripts\u002Flib\u002Fdrawio_url.py .\u002Fdocs\u002F\u003Cfilename>.drawio --open\n   ```\n\n   This compresses the XML and opens `app.diagrams.net` with the diagram loaded instantly. Do NOT run this if validation failed.\n8. If the user requested an export format (png, svg, pdf):\n   a. Check if draw.io desktop CLI is available\n   b. Export with `--embed-diagram` to `.\u002Fdocs\u002F\u003Cfilename>.drawio.\u003Cformat>`\n   c. Delete the intermediate `.drawio` file on success\n9. **Always present to the user**:\n   - File path\n   - Diagram type and services included\n   - Validation status\n   - The draw.io preview URL (clickable link to open in browser)\n   - A recommended alt text (concise, under 100 characters, describing the diagram's purpose — not \"diagram of...\")\n\n## CRITICAL: XML Well-Formedness\n\n- **NEVER use double hyphens (`--`) inside XML comments.** `--` is illegal inside `\u003C!-- -->` per the XML spec and causes parse errors. Use single hyphens or rephrase.\n- Escape special characters in attribute values: `&amp;`, `&lt;`, `&gt;`, `&quot;`\n- Always use unique `id` values for each `mxCell`\n\n## Important Rules\n\n- NEVER use compressed\u002Fbase64 diagram content\n- NEVER invent shape names — only use shapes from `references\u002Faws4-shapes-services.md`\n- ALWAYS wrap XML in `\u003Cmxfile>\u003Cdiagram>\u003CmxGraphModel>` — not bare `\u003CmxGraphModel>`\n- ALWAYS include cells id=\"0\" and id=\"1\" as root and default layer\n- ALWAYS use `resourceIcon;resIcon=` style for main service icons\n- ALWAYS set `container=1;pointerEvents=0;` on group shapes\n- ALWAYS validate edge source\u002Ftarget IDs reference existing cells\n- ALWAYS include a title block at the top of every diagram\n- ALWAYS place 48x48 service icons inside colored category containers\n- ALWAYS use `fontFamily=Helvetica;` in every style attribute\n- For complex diagrams (7+ services), ALWAYS add step badges and legend\n- Use descriptive cell IDs, not random strings (e.g., `vpc-1`, `lambda-orders`, not `cell-47`)\n- Add italic sub-labels to service icons to clarify their role in the architecture\n- Only include services the user explicitly mentions or that are core to the data flow. Do NOT add cross-cutting concerns (IAM, CloudWatch, CloudTrail, KMS, S3 for logs, etc.) unless the user asks for them\n- Include a title\u002Flabel on the diagram describing the architecture\n- NEVER set a `background` attribute on mxGraphModel — any hardcoded background breaks dark mode adaptive contrast\n\n## Reference Priority\n\nWhen generating diagrams, follow this priority order:\n\n1. This skill's XML generation rules and style guide (ALWAYS authoritative)\n2. This skill's example `.drawio` files in `references\u002F` (Step 3 selection table)\n3. The user's existing `.drawio` files ONLY when explicitly requested (\"match my style\", \"update my diagram\")\n\nDo NOT proactively read `.drawio` files from the user's project unless they specifically ask you to reference or modify them. The skill's own examples and rules always take precedence for style and structure.\n",{"data":43,"body":47},{"name":4,"description":6,"argument-hint":44,"allowed-tools":45,"user-invocable":46},"[describe your architecture or say 'analyze' to scan codebase]","Bash, Write, Read, Glob, Grep",true,{"type":48,"children":49},"root",[50,58,65,72,83,157,167,185,191,196,238,244,254,318,328,529,552,558,705,711,862,868,1022,1028,1040,1254,1260,1333,1353,1359,1371,1377,1390,1497,1566,1572,1707,1713,1725,1802,1808,1842,1848,2047,2053,2132,2138,2287,2293,2298,2338,2350],{"type":51,"tag":52,"props":53,"children":54},"element","p",{},[55],{"type":56,"value":57},"text","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.",{"type":51,"tag":59,"props":60,"children":62},"h2",{"id":61},"workflow",[63],{"type":56,"value":64},"Workflow",{"type":51,"tag":66,"props":67,"children":69},"h3",{"id":68},"step-1-determine-mode",[70],{"type":56,"value":71},"Step 1: Determine Mode",{"type":51,"tag":52,"props":73,"children":74},{},[75,81],{"type":51,"tag":76,"props":77,"children":78},"strong",{},[79],{"type":56,"value":80},"Mode A — Codebase Analysis:",{"type":56,"value":82}," If the user says \"analyze\", \"scan\", \"from code\", or references their existing project:",{"type":51,"tag":84,"props":85,"children":86},"ol",{},[87,126,131,142,147,152],{"type":51,"tag":88,"props":89,"children":90},"li",{},[91,93,100,102,108,110,116,118,124],{"type":56,"value":92},"Scan for infrastructure files: CloudFormation (",{"type":51,"tag":94,"props":95,"children":97},"code",{"className":96},[],[98],{"type":56,"value":99},"AWSTemplateFormatVersion",{"type":56,"value":101},", ",{"type":51,"tag":94,"props":103,"children":105},{"className":104},[],[106],{"type":56,"value":107},"AWS::*",{"type":56,"value":109},"), CDK (",{"type":51,"tag":94,"props":111,"children":113},{"className":112},[],[114],{"type":56,"value":115},"cdk.json",{"type":56,"value":117},", construct definitions), Terraform (",{"type":51,"tag":94,"props":119,"children":121},{"className":120},[],[122],{"type":56,"value":123},"resource \"aws_*\"",{"type":56,"value":125},")",{"type":51,"tag":88,"props":127,"children":128},{},[129],{"type":56,"value":130},"Extract services, relationships, VPC structure, and data flow direction",{"type":51,"tag":88,"props":132,"children":133},{},[134,136],{"type":56,"value":135},"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 ",{"type":51,"tag":94,"props":137,"children":139},{"className":138},[],[140],{"type":56,"value":141},"references\u002Fgeneral-icons.md",{"type":51,"tag":88,"props":143,"children":144},{},[145],{"type":56,"value":146},"For MIXED architectures (AWS + non-AWS): use AWS icons for AWS services, general icons for non-AWS. Same layout rules apply.",{"type":51,"tag":88,"props":148,"children":149},{},[150],{"type":56,"value":151},"Confirm discovered architecture with user before generating",{"type":51,"tag":88,"props":153,"children":154},{},[155],{"type":56,"value":156},"Ask which diagram type best represents the architecture",{"type":51,"tag":52,"props":158,"children":159},{},[160,165],{"type":51,"tag":76,"props":161,"children":162},{},[163],{"type":56,"value":164},"Mode B — Brainstorming:",{"type":56,"value":166}," If the user describes an architecture or says \"brainstorm\"\u002F\"design\"\u002F\"from scratch\":",{"type":51,"tag":84,"props":168,"children":169},{},[170,175,180],{"type":51,"tag":88,"props":171,"children":172},{},[173],{"type":56,"value":174},"Ask 3-5 focused questions (purpose, services, scale, security, traffic pattern)",{"type":51,"tag":88,"props":176,"children":177},{},[178],{"type":56,"value":179},"Propose the architecture with service recommendations and data flow",{"type":51,"tag":88,"props":181,"children":182},{},[183],{"type":56,"value":184},"Iterate if needed, then generate",{"type":51,"tag":66,"props":186,"children":188},{"id":187},"step-2-styling-selections",[189],{"type":56,"value":190},"Step 2: Styling Selections",{"type":51,"tag":52,"props":192,"children":193},{},[194],{"type":56,"value":195},"These are independent of Mode and apply after mode selection:",{"type":51,"tag":197,"props":198,"children":199},"ul",{},[200,210,220],{"type":51,"tag":88,"props":201,"children":202},{},[203,208],{"type":51,"tag":76,"props":204,"children":205},{},[206],{"type":56,"value":207},"Sketch mode",{"type":56,"value":209},": Activated ONLY if user says \"sketch\", \"hand-drawn\", or \"sketchy\". Default: OFF (Helvetica, no sketch attributes). See Sketch Mode in Style Rules below.",{"type":51,"tag":88,"props":211,"children":212},{},[213,218],{"type":51,"tag":76,"props":214,"children":215},{},[216],{"type":56,"value":217},"Legend panel",{"type":56,"value":219},": Activated by default for 7+ services or multiple branching paths. Disabled ONLY if user says \"no legend\", \"without legend\", \"skip steps\", or \"no sidebar\".",{"type":51,"tag":88,"props":221,"children":222},{},[223,228,230,236],{"type":51,"tag":76,"props":224,"children":225},{},[226],{"type":56,"value":227},"Export format",{"type":56,"value":229},": Check for format keywords (png, svg, pdf). Default: ",{"type":51,"tag":94,"props":231,"children":233},{"className":232},[],[234],{"type":56,"value":235},".drawio",{"type":56,"value":237}," only.",{"type":51,"tag":66,"props":239,"children":241},{"id":240},"step-3-generate-diagram-xml",[242],{"type":56,"value":243},"Step 3: Generate Diagram XML",{"type":51,"tag":52,"props":245,"children":246},{},[247,252],{"type":51,"tag":76,"props":248,"children":249},{},[250],{"type":56,"value":251},"Load references now",{"type":56,"value":253}," (not before this step):",{"type":51,"tag":84,"props":255,"children":256},{},[257,270,282,294,306],{"type":51,"tag":88,"props":258,"children":259},{},[260,262,268],{"type":56,"value":261},"Read ",{"type":51,"tag":94,"props":263,"children":265},{"className":264},[],[266],{"type":56,"value":267},"references\u002Fxml-rules.md",{"type":56,"value":269}," for shape styles, label placement, and structural rules",{"type":51,"tag":88,"props":271,"children":272},{},[273,274,280],{"type":56,"value":261},{"type":51,"tag":94,"props":275,"children":277},{"className":276},[],[278],{"type":56,"value":279},"references\u002Fstyle-guide.md",{"type":56,"value":281}," for colors, fonts, and dark mode",{"type":51,"tag":88,"props":283,"children":284},{},[285,286,292],{"type":56,"value":261},{"type":51,"tag":94,"props":287,"children":289},{"className":288},[],[290],{"type":56,"value":291},"references\u002Fxml-templates-structure.md",{"type":56,"value":293}," for XML code blocks",{"type":51,"tag":88,"props":295,"children":296},{},[297,298,304],{"type":56,"value":261},{"type":51,"tag":94,"props":299,"children":301},{"className":300},[],[302],{"type":56,"value":303},"references\u002Flayout-guidelines.md",{"type":56,"value":305}," for spacing and edge routing",{"type":51,"tag":88,"props":307,"children":308},{},[309,311,316],{"type":56,"value":310},"Use the example entries in the table below only as conceptual guidance for edge routing and layout patterns; do not open or read any ",{"type":51,"tag":94,"props":312,"children":314},{"className":313},[],[315],{"type":56,"value":235},{"type":56,"value":317}," files as reference.",{"type":51,"tag":52,"props":319,"children":320},{},[321,326],{"type":51,"tag":76,"props":322,"children":323},{},[324],{"type":56,"value":325},"Example selection",{"type":56,"value":327}," — pick the most relevant example for the user's architecture:",{"type":51,"tag":329,"props":330,"children":331},"table",{},[332,356],{"type":51,"tag":333,"props":334,"children":335},"thead",{},[336],{"type":51,"tag":337,"props":338,"children":339},"tr",{},[340,346,351],{"type":51,"tag":341,"props":342,"children":343},"th",{},[344],{"type":56,"value":345},"Diagram Type",{"type":51,"tag":341,"props":347,"children":348},{},[349],{"type":56,"value":350},"Primary Example",{"type":51,"tag":341,"props":352,"children":353},{},[354],{"type":56,"value":355},"Secondary",{"type":51,"tag":357,"props":358,"children":359},"tbody",{},[360,387,412,437,459,483,508],{"type":51,"tag":337,"props":361,"children":362},{},[363,369,378],{"type":51,"tag":364,"props":365,"children":366},"td",{},[367],{"type":56,"value":368},"Serverless \u002F API",{"type":51,"tag":364,"props":370,"children":371},{},[372],{"type":51,"tag":94,"props":373,"children":375},{"className":374},[],[376],{"type":56,"value":377},"example-saas-backend.drawio",{"type":51,"tag":364,"props":379,"children":380},{},[381],{"type":51,"tag":94,"props":382,"children":384},{"className":383},[],[385],{"type":56,"value":386},"example-event-driven.drawio",{"type":51,"tag":337,"props":388,"children":389},{},[390,395,403],{"type":51,"tag":364,"props":391,"children":392},{},[393],{"type":56,"value":394},"Event-driven \u002F async",{"type":51,"tag":364,"props":396,"children":397},{},[398],{"type":51,"tag":94,"props":399,"children":401},{"className":400},[],[402],{"type":56,"value":386},{"type":51,"tag":364,"props":404,"children":405},{},[406],{"type":51,"tag":94,"props":407,"children":409},{"className":408},[],[410],{"type":56,"value":411},"example-microservices.drawio",{"type":51,"tag":337,"props":413,"children":414},{},[415,420,428],{"type":51,"tag":364,"props":416,"children":417},{},[418],{"type":56,"value":419},"Microservices \u002F ECS",{"type":51,"tag":364,"props":421,"children":422},{},[423],{"type":51,"tag":94,"props":424,"children":426},{"className":425},[],[427],{"type":56,"value":411},{"type":51,"tag":364,"props":429,"children":430},{},[431],{"type":51,"tag":94,"props":432,"children":434},{"className":433},[],[435],{"type":56,"value":436},"example-complex-platform.drawio",{"type":51,"tag":337,"props":438,"children":439},{},[440,445,454],{"type":51,"tag":364,"props":441,"children":442},{},[443],{"type":56,"value":444},"Multi-region",{"type":51,"tag":364,"props":446,"children":447},{},[448],{"type":51,"tag":94,"props":449,"children":451},{"className":450},[],[452],{"type":56,"value":453},"example-multi-region-active-active.drawio",{"type":51,"tag":364,"props":455,"children":456},{},[457],{"type":56,"value":458},"—",{"type":51,"tag":337,"props":460,"children":461},{},[462,467,475],{"type":51,"tag":364,"props":463,"children":464},{},[465],{"type":56,"value":466},"Complex (13+ services)",{"type":51,"tag":364,"props":468,"children":469},{},[470],{"type":51,"tag":94,"props":471,"children":473},{"className":472},[],[474],{"type":56,"value":436},{"type":51,"tag":364,"props":476,"children":477},{},[478],{"type":51,"tag":94,"props":479,"children":481},{"className":480},[],[482],{"type":56,"value":377},{"type":51,"tag":337,"props":484,"children":485},{},[486,491,500],{"type":51,"tag":364,"props":487,"children":488},{},[489],{"type":56,"value":490},"AI \u002F AgentCore",{"type":51,"tag":364,"props":492,"children":493},{},[494],{"type":51,"tag":94,"props":495,"children":497},{"className":496},[],[498],{"type":56,"value":499},"example-agentcore.drawio",{"type":51,"tag":364,"props":501,"children":502},{},[503],{"type":51,"tag":94,"props":504,"children":506},{"className":505},[],[507],{"type":56,"value":386},{"type":51,"tag":337,"props":509,"children":510},{},[511,515,524],{"type":51,"tag":364,"props":512,"children":513},{},[514],{"type":56,"value":207},{"type":51,"tag":364,"props":516,"children":517},{},[518],{"type":51,"tag":94,"props":519,"children":521},{"className":520},[],[522],{"type":56,"value":523},"example-sketch.drawio",{"type":51,"tag":364,"props":525,"children":526},{},[527],{"type":56,"value":528},"+ one from above",{"type":51,"tag":84,"props":530,"children":531},{},[532,542,547],{"type":51,"tag":88,"props":533,"children":534},{},[535,537],{"type":56,"value":536},"If the architecture includes non-AWS services, also read ",{"type":51,"tag":94,"props":538,"children":540},{"className":539},[],[541],{"type":56,"value":141},{"type":51,"tag":88,"props":543,"children":544},{},[545],{"type":56,"value":546},"Generate the XML following all loaded rules and the selected example's patterns",{"type":51,"tag":88,"props":548,"children":549},{},[550],{"type":56,"value":551},"Apply styling selections from Step 2",{"type":51,"tag":66,"props":553,"children":555},{"id":554},"step-4-validate-and-export",[556],{"type":56,"value":557},"Step 4: Validate and Export",{"type":51,"tag":84,"props":559,"children":560},{},[561,579,592,597,608,693],{"type":51,"tag":88,"props":562,"children":563},{},[564,566,571,573],{"type":56,"value":565},"Write the ",{"type":51,"tag":94,"props":567,"children":569},{"className":568},[],[570],{"type":56,"value":235},{"type":56,"value":572}," file to ",{"type":51,"tag":94,"props":574,"children":576},{"className":575},[],[577],{"type":56,"value":578},".\u002Fdocs\u002F",{"type":51,"tag":88,"props":580,"children":581},{},[582,584,590],{"type":56,"value":583},"PostToolUse hook validates XML automatically (see ",{"type":51,"tag":94,"props":585,"children":587},{"className":586},[],[588],{"type":56,"value":589},"references\u002Fpost-processing.md",{"type":56,"value":591}," for the fixer pipeline)",{"type":51,"tag":88,"props":593,"children":594},{},[595],{"type":56,"value":596},"If validation fails, fix errors and rewrite",{"type":51,"tag":88,"props":598,"children":599},{},[600,602],{"type":56,"value":601},"Run badge overlap fixer: ",{"type":51,"tag":94,"props":603,"children":605},{"className":604},[],[606],{"type":56,"value":607},"python3 ${PLUGIN_ROOT}\u002Fscripts\u002Flib\u002Ffix_step_badges.py .\u002Fdocs\u002F\u003Cfilename>.drawio",{"type":51,"tag":88,"props":609,"children":610},{},[611,613],{"type":56,"value":612},"After validation passes, generate preview URL:",{"type":51,"tag":614,"props":615,"children":620},"pre",{"className":616,"code":617,"language":618,"meta":619,"style":619},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","python3 ${PLUGIN_ROOT}\u002Fscripts\u002Flib\u002Fdrawio_url.py .\u002Fdocs\u002F\u003Cfilename>.drawio --open\n","bash","",[621],{"type":51,"tag":94,"props":622,"children":623},{"__ignoreMap":619},[624],{"type":51,"tag":625,"props":626,"children":629},"span",{"class":627,"line":628},"line",1,[630,636,642,648,653,659,664,669,674,679,684,688],{"type":51,"tag":625,"props":631,"children":633},{"style":632},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[634],{"type":56,"value":635},"python3",{"type":51,"tag":625,"props":637,"children":639},{"style":638},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[640],{"type":56,"value":641}," ${",{"type":51,"tag":625,"props":643,"children":645},{"style":644},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[646],{"type":56,"value":647},"PLUGIN_ROOT",{"type":51,"tag":625,"props":649,"children":650},{"style":638},[651],{"type":56,"value":652},"}",{"type":51,"tag":625,"props":654,"children":656},{"style":655},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[657],{"type":56,"value":658},"\u002Fscripts\u002Flib\u002Fdrawio_url.py",{"type":51,"tag":625,"props":660,"children":661},{"style":655},[662],{"type":56,"value":663}," .\u002Fdocs\u002F",{"type":51,"tag":625,"props":665,"children":666},{"style":638},[667],{"type":56,"value":668},"\u003C",{"type":51,"tag":625,"props":670,"children":671},{"style":655},[672],{"type":56,"value":673},"filenam",{"type":51,"tag":625,"props":675,"children":676},{"style":644},[677],{"type":56,"value":678},"e",{"type":51,"tag":625,"props":680,"children":681},{"style":638},[682],{"type":56,"value":683},">",{"type":51,"tag":625,"props":685,"children":686},{"style":655},[687],{"type":56,"value":235},{"type":51,"tag":625,"props":689,"children":690},{"style":655},[691],{"type":56,"value":692}," --open\n",{"type":51,"tag":88,"props":694,"children":695},{},[696,698,704],{"type":56,"value":697},"If export format requested, run draw.io CLI (see ",{"type":51,"tag":94,"props":699,"children":701},{"className":700},[],[702],{"type":56,"value":703},"references\u002Fcli-export.md",{"type":56,"value":125},{"type":51,"tag":59,"props":706,"children":708},{"id":707},"defaults",[709],{"type":56,"value":710},"Defaults",{"type":51,"tag":197,"props":712,"children":713},{},[714,724,742,752,762,772,781,798,813,830,846],{"type":51,"tag":88,"props":715,"children":716},{},[717,722],{"type":51,"tag":76,"props":718,"children":719},{},[720],{"type":56,"value":721},"Mode",{"type":56,"value":723},": Brainstorm (if no codebase context)",{"type":51,"tag":88,"props":725,"children":726},{},[727,732,734,740],{"type":51,"tag":76,"props":728,"children":729},{},[730],{"type":56,"value":731},"Font",{"type":56,"value":733},": ",{"type":51,"tag":94,"props":735,"children":737},{"className":736},[],[738],{"type":56,"value":739},"fontFamily=Helvetica",{"type":56,"value":741}," (Comic Sans MS only in sketch mode)",{"type":51,"tag":88,"props":743,"children":744},{},[745,750],{"type":51,"tag":76,"props":746,"children":747},{},[748],{"type":56,"value":749},"Icon size",{"type":56,"value":751},": 48x48 inside 120x120 containers",{"type":51,"tag":88,"props":753,"children":754},{},[755,760],{"type":51,"tag":76,"props":756,"children":757},{},[758],{"type":56,"value":759},"Spacing",{"type":56,"value":761},": 180px horizontal, 120px vertical between service group containers",{"type":51,"tag":88,"props":763,"children":764},{},[765,770],{"type":51,"tag":76,"props":766,"children":767},{},[768],{"type":56,"value":769},"Legend",{"type":56,"value":771},": ALWAYS for 7+ services (unless user opts out)",{"type":51,"tag":88,"props":773,"children":774},{},[775,779],{"type":51,"tag":76,"props":776,"children":777},{},[778],{"type":56,"value":207},{"type":56,"value":780},": OFF (unless user explicitly requests)",{"type":51,"tag":88,"props":782,"children":783},{},[784,789,790,796],{"type":51,"tag":76,"props":785,"children":786},{},[787],{"type":56,"value":788},"Dark mode",{"type":56,"value":733},{"type":51,"tag":94,"props":791,"children":793},{"className":792},[],[794],{"type":56,"value":795},"light-dark()",{"type":56,"value":797}," on all structural elements (always enabled)",{"type":51,"tag":88,"props":799,"children":800},{},[801,805,806,811],{"type":51,"tag":76,"props":802,"children":803},{},[804],{"type":56,"value":227},{"type":56,"value":733},{"type":51,"tag":94,"props":807,"children":809},{"className":808},[],[810],{"type":56,"value":235},{"type":56,"value":812}," (unless user requests png\u002Fsvg\u002Fpdf)",{"type":51,"tag":88,"props":814,"children":815},{},[816,821,823,829],{"type":51,"tag":76,"props":817,"children":818},{},[819],{"type":56,"value":820},"Grid",{"type":56,"value":822},": OFF (",{"type":51,"tag":94,"props":824,"children":826},{"className":825},[],[827],{"type":56,"value":828},"grid=0",{"type":56,"value":125},{"type":51,"tag":88,"props":831,"children":832},{},[833,838,839,844],{"type":51,"tag":76,"props":834,"children":835},{},[836],{"type":56,"value":837},"File location",{"type":56,"value":733},{"type":51,"tag":94,"props":840,"children":842},{"className":841},[],[843],{"type":56,"value":578},{"type":56,"value":845}," directory",{"type":51,"tag":88,"props":847,"children":848},{},[849,854,856],{"type":51,"tag":76,"props":850,"children":851},{},[852],{"type":56,"value":853},"XML format",{"type":56,"value":855},": Uncompressed, wrapped in ",{"type":51,"tag":94,"props":857,"children":859},{"className":858},[],[860],{"type":56,"value":861},"\u003Cmxfile>\u003Cdiagram>\u003CmxGraphModel>",{"type":51,"tag":59,"props":863,"children":865},{"id":864},"error-handling",[866],{"type":56,"value":867},"Error Handling",{"type":51,"tag":197,"props":869,"children":870},{},[871,881,907,924,958,983],{"type":51,"tag":88,"props":872,"children":873},{},[874,879],{"type":51,"tag":76,"props":875,"children":876},{},[877],{"type":56,"value":878},"XML validation failure",{"type":56,"value":880},": Fix reported errors (malformed tags, missing IDs, invalid shapes), rewrite the file, re-validate",{"type":51,"tag":88,"props":882,"children":883},{},[884,889,891,897,899,905],{"type":51,"tag":76,"props":885,"children":886},{},[887],{"type":56,"value":888},"Shape not found",{"type":56,"value":890},": Check ",{"type":51,"tag":94,"props":892,"children":894},{"className":893},[],[895],{"type":56,"value":896},"references\u002Faws4-shapes-services.md",{"type":56,"value":898}," for valid ",{"type":51,"tag":94,"props":900,"children":902},{"className":901},[],[903],{"type":56,"value":904},"mxgraph.aws4.*",{"type":56,"value":906}," names",{"type":51,"tag":88,"props":908,"children":909},{},[910,915,917,922],{"type":51,"tag":76,"props":911,"children":912},{},[913],{"type":56,"value":914},"draw.io CLI not found",{"type":56,"value":916},": Write ",{"type":51,"tag":94,"props":918,"children":920},{"className":919},[],[921],{"type":56,"value":235},{"type":56,"value":923}," file only, skip export, inform user to install draw.io desktop",{"type":51,"tag":88,"props":925,"children":926},{},[927,932,934,940,942,948,950,956],{"type":51,"tag":76,"props":928,"children":929},{},[930],{"type":56,"value":931},"Invalid edge source\u002Ftarget",{"type":56,"value":933},": Verify all ",{"type":51,"tag":94,"props":935,"children":937},{"className":936},[],[938],{"type":56,"value":939},"source=",{"type":56,"value":941}," and ",{"type":51,"tag":94,"props":943,"children":945},{"className":944},[],[946],{"type":56,"value":947},"target=",{"type":56,"value":949}," IDs reference existing ",{"type":51,"tag":94,"props":951,"children":953},{"className":952},[],[954],{"type":56,"value":955},"mxCell",{"type":56,"value":957}," elements",{"type":51,"tag":88,"props":959,"children":960},{},[961,966,967,973,975,981],{"type":51,"tag":76,"props":962,"children":963},{},[964],{"type":56,"value":965},"Double hyphens in XML comments",{"type":56,"value":733},{"type":51,"tag":94,"props":968,"children":970},{"className":969},[],[971],{"type":56,"value":972},"--",{"type":56,"value":974}," is illegal inside ",{"type":51,"tag":94,"props":976,"children":978},{"className":977},[],[979],{"type":56,"value":980},"\u003C!-- -->",{"type":56,"value":982}," per XML spec; use single hyphens or rephrase",{"type":51,"tag":88,"props":984,"children":985},{},[986,991,993,999,1000,1006,1007,1013,1014,1020],{"type":51,"tag":76,"props":987,"children":988},{},[989],{"type":56,"value":990},"Special characters",{"type":56,"value":992},": Escape ",{"type":51,"tag":94,"props":994,"children":996},{"className":995},[],[997],{"type":56,"value":998},"&amp;",{"type":56,"value":101},{"type":51,"tag":94,"props":1001,"children":1003},{"className":1002},[],[1004],{"type":56,"value":1005},"&lt;",{"type":56,"value":101},{"type":51,"tag":94,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":56,"value":1012},"&gt;",{"type":56,"value":101},{"type":51,"tag":94,"props":1015,"children":1017},{"className":1016},[],[1018],{"type":56,"value":1019},"&quot;",{"type":56,"value":1021}," in attribute values",{"type":51,"tag":59,"props":1023,"children":1025},{"id":1024},"style-rules",[1026],{"type":56,"value":1027},"Style Rules",{"type":51,"tag":52,"props":1029,"children":1030},{},[1031,1033,1038],{"type":56,"value":1032},"Full style details in ",{"type":51,"tag":94,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":56,"value":279},{"type":56,"value":1039},". Critical rules that MUST be followed:",{"type":51,"tag":197,"props":1041,"children":1042},{},[1043,1059,1083,1109,1167,1177,1187,1212,1237],{"type":51,"tag":88,"props":1044,"children":1045},{},[1046,1050,1052,1058],{"type":51,"tag":76,"props":1047,"children":1048},{},[1049],{"type":56,"value":731},{"type":56,"value":1051},": ALL text MUST use ",{"type":51,"tag":94,"props":1053,"children":1055},{"className":1054},[],[1056],{"type":56,"value":1057},"fontFamily=Helvetica;",{"type":56,"value":741},{"type":51,"tag":88,"props":1060,"children":1061},{},[1062,1066,1068,1073,1075,1081],{"type":51,"tag":76,"props":1063,"children":1064},{},[1065],{"type":56,"value":788},{"type":56,"value":1067},": ALL structural elements MUST use ",{"type":51,"tag":94,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":56,"value":795},{"type":56,"value":1074}," fills with ",{"type":51,"tag":94,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":56,"value":1080},"fillStyle=auto;",{"type":56,"value":1082},". See style-guide.md for the full color table.",{"type":51,"tag":88,"props":1084,"children":1085},{},[1086,1091,1093,1099,1101,1107],{"type":51,"tag":76,"props":1087,"children":1088},{},[1089],{"type":56,"value":1090},"Region groups",{"type":56,"value":1092},": MUST use ",{"type":51,"tag":94,"props":1094,"children":1096},{"className":1095},[],[1097],{"type":56,"value":1098},"container=0",{"type":56,"value":1100}," (decoration-only). Services use ",{"type":51,"tag":94,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":56,"value":1106},"parent=\"aws-cloud\"",{"type":56,"value":1108}," with absolute coords.",{"type":51,"tag":88,"props":1110,"children":1111},{},[1112,1117,1119,1125,1127,1133,1135,1141,1143,1149,1151,1157,1159,1165],{"type":51,"tag":76,"props":1113,"children":1114},{},[1115],{"type":56,"value":1116},"Group fontColor",{"type":56,"value":1118},": MUST match the group's ",{"type":51,"tag":94,"props":1120,"children":1122},{"className":1121},[],[1123],{"type":56,"value":1124},"strokeColor",{"type":56,"value":1126}," (VPC: ",{"type":51,"tag":94,"props":1128,"children":1130},{"className":1129},[],[1131],{"type":56,"value":1132},"#8C4FFF",{"type":56,"value":1134},", Public subnet: ",{"type":51,"tag":94,"props":1136,"children":1138},{"className":1137},[],[1139],{"type":56,"value":1140},"#248814",{"type":56,"value":1142},", Private subnet: ",{"type":51,"tag":94,"props":1144,"children":1146},{"className":1145},[],[1147],{"type":56,"value":1148},"#147EBA",{"type":56,"value":1150},", Region: ",{"type":51,"tag":94,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":56,"value":1156},"#00A4A6",{"type":56,"value":1158},"). NEVER use ",{"type":51,"tag":94,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":56,"value":1164},"fontColor=#AAB7B8",{"type":56,"value":1166},".",{"type":51,"tag":88,"props":1168,"children":1169},{},[1170,1175],{"type":51,"tag":76,"props":1171,"children":1172},{},[1173],{"type":56,"value":1174},"Font hierarchy",{"type":56,"value":1176},": Title 30px bold > Subtitle 16px > Group 14px bold > Container 12px bold > Service 10px > Edge 11px",{"type":51,"tag":88,"props":1178,"children":1179},{},[1180,1185],{"type":51,"tag":76,"props":1181,"children":1182},{},[1183],{"type":56,"value":1184},"Category containers",{"type":56,"value":1186},": Every 48x48 icon MUST sit inside a 120x120 container with its category tint color. See style-guide.md for the tint color table.",{"type":51,"tag":88,"props":1188,"children":1189},{},[1190,1195,1197,1203,1205,1211],{"type":51,"tag":76,"props":1191,"children":1192},{},[1193],{"type":56,"value":1194},"AgentCore",{"type":56,"value":1196},": Use ",{"type":51,"tag":94,"props":1198,"children":1200},{"className":1199},[],[1201],{"type":56,"value":1202},"resIcon=mxgraph.aws4.bedrock_agentcore",{"type":56,"value":1204}," (NOT ",{"type":51,"tag":94,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":56,"value":1210},"mxgraph.aws4.bedrock",{"type":56,"value":125},{"type":51,"tag":88,"props":1213,"children":1214},{},[1215,1219,1221,1227,1229,1235],{"type":51,"tag":76,"props":1216,"children":1217},{},[1218],{"type":56,"value":207},{"type":56,"value":1220},": Only when user requests it. Add ",{"type":51,"tag":94,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":56,"value":1226},"sketch=1;curveFitting=1;jiggle=2",{"type":56,"value":1228}," to non-icon elements. Keep ",{"type":51,"tag":94,"props":1230,"children":1232},{"className":1231},[],[1233],{"type":56,"value":1234},"sketch=0",{"type":56,"value":1236}," on service icons.",{"type":51,"tag":88,"props":1238,"children":1239},{},[1240,1245,1247,1252],{"type":51,"tag":76,"props":1241,"children":1242},{},[1243],{"type":56,"value":1244},"Non-AWS services",{"type":56,"value":1246},": Map to the closest general icon using ",{"type":51,"tag":94,"props":1248,"children":1250},{"className":1249},[],[1251],{"type":56,"value":141},{"type":56,"value":1253},". Same 120x120 container + 48x48 icon pattern. Apply category tint colors by functional role (database, compute, etc.). Labels are critical since icons are generic.",{"type":51,"tag":59,"props":1255,"children":1257},{"id":1256},"diagram-types",[1258],{"type":56,"value":1259},"Diagram Types",{"type":51,"tag":197,"props":1261,"children":1262},{},[1263,1273,1283,1293,1303,1313,1323],{"type":51,"tag":88,"props":1264,"children":1265},{},[1266,1271],{"type":51,"tag":76,"props":1267,"children":1268},{},[1269],{"type":56,"value":1270},"VPC\u002FNetwork",{"type":56,"value":1272},": VPC, subnets, security groups, NAT gateways, load balancers with group shapes",{"type":51,"tag":88,"props":1274,"children":1275},{},[1276,1281],{"type":51,"tag":76,"props":1277,"children":1278},{},[1279],{"type":56,"value":1280},"Serverless",{"type":56,"value":1282},": API Gateway, Lambda, DynamoDB, S3, Step Functions, EventBridge",{"type":51,"tag":88,"props":1284,"children":1285},{},[1286,1291],{"type":51,"tag":76,"props":1287,"children":1288},{},[1289],{"type":56,"value":1290},"Multi-Region",{"type":56,"value":1292},": Multiple regions with replication, Route 53, Global Accelerator",{"type":51,"tag":88,"props":1294,"children":1295},{},[1296,1301],{"type":51,"tag":76,"props":1297,"children":1298},{},[1299],{"type":56,"value":1300},"CI\u002FCD Pipeline",{"type":56,"value":1302},": CodeCommit\u002FGitHub -> CodeBuild -> CodeDeploy -> targets",{"type":51,"tag":88,"props":1304,"children":1305},{},[1306,1311],{"type":51,"tag":76,"props":1307,"children":1308},{},[1309],{"type":56,"value":1310},"Data Flow\u002FAnalytics",{"type":56,"value":1312},": Kinesis, S3, Glue, Athena, Redshift, QuickSight pipelines",{"type":51,"tag":88,"props":1314,"children":1315},{},[1316,1321],{"type":51,"tag":76,"props":1317,"children":1318},{},[1319],{"type":56,"value":1320},"Container",{"type":56,"value":1322},": ECS\u002FEKS clusters, ECR, Fargate, load balancing",{"type":51,"tag":88,"props":1324,"children":1325},{},[1326,1331],{"type":51,"tag":76,"props":1327,"children":1328},{},[1329],{"type":56,"value":1330},"Hybrid",{"type":56,"value":1332},": On-premises + AWS with Direct Connect, VPN, Transit Gateway",{"type":51,"tag":52,"props":1334,"children":1335},{},[1336,1338,1344,1345,1351],{"type":56,"value":1337},"See ",{"type":51,"tag":94,"props":1339,"children":1341},{"className":1340},[],[1342],{"type":56,"value":1343},"references\u002Fdiagram-templates-basic.md",{"type":56,"value":941},{"type":51,"tag":94,"props":1346,"children":1348},{"className":1347},[],[1349],{"type":56,"value":1350},"references\u002Fdiagram-templates-advanced.md",{"type":56,"value":1352}," for layout patterns.",{"type":51,"tag":59,"props":1354,"children":1356},{"id":1355},"xml-generation-rules",[1357],{"type":56,"value":1358},"XML Generation Rules",{"type":51,"tag":52,"props":1360,"children":1361},{},[1362,1364,1369],{"type":56,"value":1363},"For detailed XML templates, style strings, and code examples, see ",{"type":51,"tag":94,"props":1365,"children":1367},{"className":1366},[],[1368],{"type":56,"value":267},{"type":56,"value":1370},". Key structural rules:",{"type":51,"tag":66,"props":1372,"children":1374},{"id":1373},"required-structure",[1375],{"type":56,"value":1376},"Required Structure",{"type":51,"tag":52,"props":1378,"children":1379},{},[1380,1382,1388],{"type":56,"value":1381},"Always use the full ",{"type":51,"tag":94,"props":1383,"children":1385},{"className":1384},[],[1386],{"type":56,"value":1387},"mxfile",{"type":56,"value":1389}," wrapper:",{"type":51,"tag":614,"props":1391,"children":1395},{"className":1392,"code":1393,"language":1394,"meta":619,"style":619},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cmxfile host=\"Electron\" version=\"29.6.1\">\n  \u003Cdiagram name=\"Page-1\" id=\"diagram-1\">\n    \u003CmxGraphModel dx=\"1200\" dy=\"800\" grid=\"0\" gridSize=\"10\" guides=\"1\" tooltips=\"1\" connect=\"1\" arrows=\"1\" fold=\"1\" page=\"0\" pageScale=\"1\" pageWidth=\"1100\" pageHeight=\"850\" math=\"0\" shadow=\"0\">\n      \u003Croot>\n        \u003CmxCell id=\"0\" \u002F>\n        \u003CmxCell id=\"1\" parent=\"0\" \u002F>\n        \u003C!-- All shapes and edges here -->\n      \u003C\u002Froot>\n    \u003C\u002FmxGraphModel>\n  \u003C\u002Fdiagram>\n\u003C\u002Fmxfile>\n","xml",[1396],{"type":51,"tag":94,"props":1397,"children":1398},{"__ignoreMap":619},[1399,1407,1416,1425,1434,1443,1452,1461,1470,1479,1488],{"type":51,"tag":625,"props":1400,"children":1401},{"class":627,"line":628},[1402],{"type":51,"tag":625,"props":1403,"children":1404},{},[1405],{"type":56,"value":1406},"\u003Cmxfile host=\"Electron\" version=\"29.6.1\">\n",{"type":51,"tag":625,"props":1408,"children":1410},{"class":627,"line":1409},2,[1411],{"type":51,"tag":625,"props":1412,"children":1413},{},[1414],{"type":56,"value":1415},"  \u003Cdiagram name=\"Page-1\" id=\"diagram-1\">\n",{"type":51,"tag":625,"props":1417,"children":1419},{"class":627,"line":1418},3,[1420],{"type":51,"tag":625,"props":1421,"children":1422},{},[1423],{"type":56,"value":1424},"    \u003CmxGraphModel dx=\"1200\" dy=\"800\" grid=\"0\" gridSize=\"10\" guides=\"1\" tooltips=\"1\" connect=\"1\" arrows=\"1\" fold=\"1\" page=\"0\" pageScale=\"1\" pageWidth=\"1100\" pageHeight=\"850\" math=\"0\" shadow=\"0\">\n",{"type":51,"tag":625,"props":1426,"children":1428},{"class":627,"line":1427},4,[1429],{"type":51,"tag":625,"props":1430,"children":1431},{},[1432],{"type":56,"value":1433},"      \u003Croot>\n",{"type":51,"tag":625,"props":1435,"children":1437},{"class":627,"line":1436},5,[1438],{"type":51,"tag":625,"props":1439,"children":1440},{},[1441],{"type":56,"value":1442},"        \u003CmxCell id=\"0\" \u002F>\n",{"type":51,"tag":625,"props":1444,"children":1446},{"class":627,"line":1445},6,[1447],{"type":51,"tag":625,"props":1448,"children":1449},{},[1450],{"type":56,"value":1451},"        \u003CmxCell id=\"1\" parent=\"0\" \u002F>\n",{"type":51,"tag":625,"props":1453,"children":1455},{"class":627,"line":1454},7,[1456],{"type":51,"tag":625,"props":1457,"children":1458},{},[1459],{"type":56,"value":1460},"        \u003C!-- All shapes and edges here -->\n",{"type":51,"tag":625,"props":1462,"children":1464},{"class":627,"line":1463},8,[1465],{"type":51,"tag":625,"props":1466,"children":1467},{},[1468],{"type":56,"value":1469},"      \u003C\u002Froot>\n",{"type":51,"tag":625,"props":1471,"children":1473},{"class":627,"line":1472},9,[1474],{"type":51,"tag":625,"props":1475,"children":1476},{},[1477],{"type":56,"value":1478},"    \u003C\u002FmxGraphModel>\n",{"type":51,"tag":625,"props":1480,"children":1482},{"class":627,"line":1481},10,[1483],{"type":51,"tag":625,"props":1484,"children":1485},{},[1486],{"type":56,"value":1487},"  \u003C\u002Fdiagram>\n",{"type":51,"tag":625,"props":1489,"children":1491},{"class":627,"line":1490},11,[1492],{"type":51,"tag":625,"props":1493,"children":1494},{},[1495],{"type":56,"value":1496},"\u003C\u002Fmxfile>\n",{"type":51,"tag":197,"props":1498,"children":1499},{},[1500,1521,1534],{"type":51,"tag":88,"props":1501,"children":1502},{},[1503,1505,1511,1513,1519],{"type":56,"value":1504},"Cell ",{"type":51,"tag":94,"props":1506,"children":1508},{"className":1507},[],[1509],{"type":56,"value":1510},"id=\"0\"",{"type":56,"value":1512}," is the root layer; cell ",{"type":51,"tag":94,"props":1514,"children":1516},{"className":1515},[],[1517],{"type":56,"value":1518},"id=\"1\"",{"type":56,"value":1520}," is the default parent (both always required)",{"type":51,"tag":88,"props":1522,"children":1523},{},[1524,1526,1532],{"type":56,"value":1525},"All diagram elements use ",{"type":51,"tag":94,"props":1527,"children":1529},{"className":1528},[],[1530],{"type":56,"value":1531},"parent=\"1\"",{"type":56,"value":1533}," unless nested inside a container",{"type":51,"tag":88,"props":1535,"children":1536},{},[1537,1539,1545,1546,1552,1553,1559,1560],{"type":56,"value":1538},"Use descriptive cell IDs: ",{"type":51,"tag":94,"props":1540,"children":1542},{"className":1541},[],[1543],{"type":56,"value":1544},"vpc-1",{"type":56,"value":101},{"type":51,"tag":94,"props":1547,"children":1549},{"className":1548},[],[1550],{"type":56,"value":1551},"lambda-orders",{"type":56,"value":101},{"type":51,"tag":94,"props":1554,"children":1556},{"className":1555},[],[1557],{"type":56,"value":1558},"s3-assets",{"type":56,"value":101},{"type":51,"tag":94,"props":1561,"children":1563},{"className":1562},[],[1564],{"type":56,"value":1565},"edge-lambda-to-dynamo",{"type":51,"tag":66,"props":1567,"children":1569},{"id":1568},"key-principles",[1570],{"type":56,"value":1571},"Key Principles",{"type":51,"tag":197,"props":1573,"children":1574},{},[1575,1595,1615,1650,1670,1689,1694],{"type":51,"tag":88,"props":1576,"children":1577},{},[1578,1580,1585,1587,1593],{"type":56,"value":1579},"ALWAYS use ",{"type":51,"tag":94,"props":1581,"children":1583},{"className":1582},[],[1584],{"type":56,"value":904},{"type":56,"value":1586}," namespace. Use ",{"type":51,"tag":94,"props":1588,"children":1590},{"className":1589},[],[1591],{"type":56,"value":1592},"resourceIcon;resIcon=",{"type":56,"value":1594}," for main service icons, sub-resource style for components.",{"type":51,"tag":88,"props":1596,"children":1597},{},[1598,1600,1606,1608,1613],{"type":56,"value":1599},"Container ",{"type":51,"tag":94,"props":1601,"children":1603},{"className":1602},[],[1604],{"type":56,"value":1605},"value",{"type":56,"value":1607}," = category label (e.g., \"DNS\", \"Compute\"). Icon ",{"type":51,"tag":94,"props":1609,"children":1611},{"className":1610},[],[1612],{"type":56,"value":1605},{"type":56,"value":1614}," = service name + optional italic sub-label. NEVER put the service name on the container.",{"type":51,"tag":88,"props":1616,"children":1617},{},[1618,1620,1626,1628,1634,1635,1641,1642,1648],{"type":56,"value":1619},"Edges connect to service icons, not containers. Use ",{"type":51,"tag":94,"props":1621,"children":1623},{"className":1622},[],[1624],{"type":56,"value":1625},"exitX",{"type":56,"value":1627},"\u002F",{"type":51,"tag":94,"props":1629,"children":1631},{"className":1630},[],[1632],{"type":56,"value":1633},"exitY",{"type":56,"value":941},{"type":51,"tag":94,"props":1636,"children":1638},{"className":1637},[],[1639],{"type":56,"value":1640},"entryX",{"type":56,"value":1627},{"type":51,"tag":94,"props":1643,"children":1645},{"className":1644},[],[1646],{"type":56,"value":1647},"entryY",{"type":56,"value":1649}," (0-1) to control connection sides.",{"type":51,"tag":88,"props":1651,"children":1652},{},[1653,1655,1661,1662,1668],{"type":56,"value":1654},"Edge labels are separate child cells with ",{"type":51,"tag":94,"props":1656,"children":1658},{"className":1657},[],[1659],{"type":56,"value":1660},"connectable=\"0\"",{"type":56,"value":941},{"type":51,"tag":94,"props":1663,"children":1665},{"className":1664},[],[1666],{"type":56,"value":1667},"relative=\"1\"",{"type":56,"value":1669}," geometry.",{"type":51,"tag":88,"props":1671,"children":1672},{},[1673,1675,1680,1682,1688],{"type":56,"value":1674},"Region groups use ",{"type":51,"tag":94,"props":1676,"children":1678},{"className":1677},[],[1679],{"type":56,"value":1098},{"type":56,"value":1681}," (decoration-only). VPC\u002Fsubnets use ",{"type":51,"tag":94,"props":1683,"children":1685},{"className":1684},[],[1686],{"type":56,"value":1687},"container=1",{"type":56,"value":1166},{"type":51,"tag":88,"props":1690,"children":1691},{},[1692],{"type":56,"value":1693},"Prefer flat layouts. Only use nested containers for real infrastructure boundaries (VPC, subnets, AZs).",{"type":51,"tag":88,"props":1695,"children":1696},{},[1697,1699,1705],{"type":56,"value":1698},"External actors use visible containers (",{"type":51,"tag":94,"props":1700,"children":1702},{"className":1701},[],[1703],{"type":56,"value":1704},"fillColor=#f5f5f5",{"type":56,"value":1706},"), placed BELOW title block at y >= 140.",{"type":51,"tag":59,"props":1708,"children":1710},{"id":1709},"layout-guidelines",[1711],{"type":56,"value":1712},"Layout Guidelines",{"type":51,"tag":52,"props":1714,"children":1715},{},[1716,1718,1723],{"type":56,"value":1717},"For detailed spacing rules, edge routing patterns, and placement tables, see ",{"type":51,"tag":94,"props":1719,"children":1721},{"className":1720},[],[1722],{"type":56,"value":303},{"type":56,"value":1724},". Key rules:",{"type":51,"tag":197,"props":1726,"children":1727},{},[1728,1737,1754,1764,1782,1792],{"type":51,"tag":88,"props":1729,"children":1730},{},[1731,1735],{"type":51,"tag":76,"props":1732,"children":1733},{},[1734],{"type":56,"value":759},{"type":56,"value":1736},": 180px horizontal \u002F 120px vertical gaps. For 13+ services, increase to 220px\u002F160px.",{"type":51,"tag":88,"props":1738,"children":1739},{},[1740,1745,1746,1752],{"type":51,"tag":76,"props":1741,"children":1742},{},[1743],{"type":56,"value":1744},"Edge routing",{"type":56,"value":1196},{"type":51,"tag":94,"props":1747,"children":1749},{"className":1748},[],[1750],{"type":56,"value":1751},"orthogonalEdgeStyle",{"type":56,"value":1753},". Add explicit waypoints for non-adjacent routing. Edges leave perpendicular to container face.",{"type":51,"tag":88,"props":1755,"children":1756},{},[1757,1762],{"type":51,"tag":76,"props":1758,"children":1759},{},[1760],{"type":56,"value":1761},"Multiple edges",{"type":56,"value":1763},": Each outgoing edge MUST exit from a different point. Spread entry points when multiple edges enter the same target.",{"type":51,"tag":88,"props":1765,"children":1766},{},[1767,1772,1774,1780],{"type":51,"tag":76,"props":1768,"children":1769},{},[1770],{"type":56,"value":1771},"Step badges\u002Flegend",{"type":56,"value":1773},": Teal ",{"type":51,"tag":94,"props":1775,"children":1777},{"className":1776},[],[1778],{"type":56,"value":1779},"#007CBD",{"type":56,"value":1781}," 28x28 badges near arrow sources. Right sidebar legend for 7+ services. Legend height MUST match diagram height.",{"type":51,"tag":88,"props":1783,"children":1784},{},[1785,1790],{"type":51,"tag":76,"props":1786,"children":1787},{},[1788],{"type":56,"value":1789},"Auxiliary services",{"type":56,"value":1791},": Only CloudWatch, CloudTrail, X-Ray, IAM. No step numbers, no edges. Place in dashed \"Auxiliary Services\" group inside AWS Cloud boundary.",{"type":51,"tag":88,"props":1793,"children":1794},{},[1795,1800],{"type":51,"tag":76,"props":1796,"children":1797},{},[1798],{"type":56,"value":1799},"All other services are primary",{"type":56,"value":1801}," — MUST have edges and step numbers.",{"type":51,"tag":59,"props":1803,"children":1805},{"id":1804},"file-naming",[1806],{"type":56,"value":1807},"File Naming",{"type":51,"tag":52,"props":1809,"children":1810},{},[1811,1813,1818,1820,1825,1827,1833,1834,1840],{"type":56,"value":1812},"Each diagram gets a ",{"type":51,"tag":76,"props":1814,"children":1815},{},[1816],{"type":56,"value":1817},"descriptive filename",{"type":56,"value":1819}," in kebab-case, placed in ",{"type":51,"tag":94,"props":1821,"children":1823},{"className":1822},[],[1824],{"type":56,"value":578},{"type":56,"value":1826}," (e.g., ",{"type":51,"tag":94,"props":1828,"children":1830},{"className":1829},[],[1831],{"type":56,"value":1832},"docs\u002Fhealthcare-appointment-agent.drawio",{"type":56,"value":101},{"type":51,"tag":94,"props":1835,"children":1837},{"className":1836},[],[1838],{"type":56,"value":1839},"docs\u002F3-tier-vpc-webapp.drawio",{"type":56,"value":1841},"). Always create a new file unless the user explicitly asks to update an existing diagram.",{"type":51,"tag":59,"props":1843,"children":1845},{"id":1844},"output",[1846],{"type":56,"value":1847},"Output",{"type":51,"tag":84,"props":1849,"children":1850},{},[1851,1864,1869,1879,1890,1895,1900,1981,2009],{"type":51,"tag":88,"props":1852,"children":1853},{},[1854,1856,1862],{"type":56,"value":1855},"Create the ",{"type":51,"tag":94,"props":1857,"children":1859},{"className":1858},[],[1860],{"type":56,"value":1861},"docs\u002F",{"type":56,"value":1863}," directory if it does not exist",{"type":51,"tag":88,"props":1865,"children":1866},{},[1867],{"type":56,"value":1868},"Derive the filename from the user's prompt (see File Naming above)",{"type":51,"tag":88,"props":1870,"children":1871},{},[1872,1877],{"type":51,"tag":76,"props":1873,"children":1874},{},[1875],{"type":56,"value":1876},"Always create new files",{"type":56,"value":1878}," unless the user explicitly asks to update an existing diagram",{"type":51,"tag":88,"props":1880,"children":1881},{},[1882,1884],{"type":56,"value":1883},"Save the diagram to ",{"type":51,"tag":94,"props":1885,"children":1887},{"className":1886},[],[1888],{"type":56,"value":1889},".\u002Fdocs\u002F\u003Cdescriptive-name>.drawio",{"type":51,"tag":88,"props":1891,"children":1892},{},[1893],{"type":56,"value":1894},"After writing, the PostToolUse hook will automatically:\na. Validate the XML (structure, AWS shapes, edges, geometry)\nb. If validation passes, generate a draw.io preview URL",{"type":51,"tag":88,"props":1896,"children":1897},{},[1898],{"type":56,"value":1899},"If validation fails, fix the errors and rewrite the file",{"type":51,"tag":88,"props":1901,"children":1902},{},[1903,1908,1910,1967,1971,1973,1979],{"type":51,"tag":76,"props":1904,"children":1905},{},[1906],{"type":56,"value":1907},"Only after validation passes",{"type":56,"value":1909},", generate the browser preview link by running:",{"type":51,"tag":614,"props":1911,"children":1912},{"className":616,"code":617,"language":618,"meta":619,"style":619},[1913],{"type":51,"tag":94,"props":1914,"children":1915},{"__ignoreMap":619},[1916],{"type":51,"tag":625,"props":1917,"children":1918},{"class":627,"line":628},[1919,1923,1927,1931,1935,1939,1943,1947,1951,1955,1959,1963],{"type":51,"tag":625,"props":1920,"children":1921},{"style":632},[1922],{"type":56,"value":635},{"type":51,"tag":625,"props":1924,"children":1925},{"style":638},[1926],{"type":56,"value":641},{"type":51,"tag":625,"props":1928,"children":1929},{"style":644},[1930],{"type":56,"value":647},{"type":51,"tag":625,"props":1932,"children":1933},{"style":638},[1934],{"type":56,"value":652},{"type":51,"tag":625,"props":1936,"children":1937},{"style":655},[1938],{"type":56,"value":658},{"type":51,"tag":625,"props":1940,"children":1941},{"style":655},[1942],{"type":56,"value":663},{"type":51,"tag":625,"props":1944,"children":1945},{"style":638},[1946],{"type":56,"value":668},{"type":51,"tag":625,"props":1948,"children":1949},{"style":655},[1950],{"type":56,"value":673},{"type":51,"tag":625,"props":1952,"children":1953},{"style":644},[1954],{"type":56,"value":678},{"type":51,"tag":625,"props":1956,"children":1957},{"style":638},[1958],{"type":56,"value":683},{"type":51,"tag":625,"props":1960,"children":1961},{"style":655},[1962],{"type":56,"value":235},{"type":51,"tag":625,"props":1964,"children":1965},{"style":655},[1966],{"type":56,"value":692},{"type":51,"tag":1968,"props":1969,"children":1970},"br",{},[],{"type":56,"value":1972},"This compresses the XML and opens ",{"type":51,"tag":94,"props":1974,"children":1976},{"className":1975},[],[1977],{"type":56,"value":1978},"app.diagrams.net",{"type":56,"value":1980}," with the diagram loaded instantly. Do NOT run this if validation failed.",{"type":51,"tag":88,"props":1982,"children":1983},{},[1984,1986,1992,1994,2000,2002,2007],{"type":56,"value":1985},"If the user requested an export format (png, svg, pdf):\na. Check if draw.io desktop CLI is available\nb. Export with ",{"type":51,"tag":94,"props":1987,"children":1989},{"className":1988},[],[1990],{"type":56,"value":1991},"--embed-diagram",{"type":56,"value":1993}," to ",{"type":51,"tag":94,"props":1995,"children":1997},{"className":1996},[],[1998],{"type":56,"value":1999},".\u002Fdocs\u002F\u003Cfilename>.drawio.\u003Cformat>",{"type":56,"value":2001},"\nc. Delete the intermediate ",{"type":51,"tag":94,"props":2003,"children":2005},{"className":2004},[],[2006],{"type":56,"value":235},{"type":56,"value":2008}," file on success",{"type":51,"tag":88,"props":2010,"children":2011},{},[2012,2017,2019],{"type":51,"tag":76,"props":2013,"children":2014},{},[2015],{"type":56,"value":2016},"Always present to the user",{"type":56,"value":2018},":",{"type":51,"tag":197,"props":2020,"children":2021},{},[2022,2027,2032,2037,2042],{"type":51,"tag":88,"props":2023,"children":2024},{},[2025],{"type":56,"value":2026},"File path",{"type":51,"tag":88,"props":2028,"children":2029},{},[2030],{"type":56,"value":2031},"Diagram type and services included",{"type":51,"tag":88,"props":2033,"children":2034},{},[2035],{"type":56,"value":2036},"Validation status",{"type":51,"tag":88,"props":2038,"children":2039},{},[2040],{"type":56,"value":2041},"The draw.io preview URL (clickable link to open in browser)",{"type":51,"tag":88,"props":2043,"children":2044},{},[2045],{"type":56,"value":2046},"A recommended alt text (concise, under 100 characters, describing the diagram's purpose — not \"diagram of...\")",{"type":51,"tag":59,"props":2048,"children":2050},{"id":2049},"critical-xml-well-formedness",[2051],{"type":56,"value":2052},"CRITICAL: XML Well-Formedness",{"type":51,"tag":197,"props":2054,"children":2055},{},[2056,2086,2114],{"type":51,"tag":88,"props":2057,"children":2058},{},[2059,2071,2073,2078,2079,2084],{"type":51,"tag":76,"props":2060,"children":2061},{},[2062,2064,2069],{"type":56,"value":2063},"NEVER use double hyphens (",{"type":51,"tag":94,"props":2065,"children":2067},{"className":2066},[],[2068],{"type":56,"value":972},{"type":56,"value":2070},") inside XML comments.",{"type":56,"value":2072}," ",{"type":51,"tag":94,"props":2074,"children":2076},{"className":2075},[],[2077],{"type":56,"value":972},{"type":56,"value":974},{"type":51,"tag":94,"props":2080,"children":2082},{"className":2081},[],[2083],{"type":56,"value":980},{"type":56,"value":2085}," per the XML spec and causes parse errors. Use single hyphens or rephrase.",{"type":51,"tag":88,"props":2087,"children":2088},{},[2089,2091,2096,2097,2102,2103,2108,2109],{"type":56,"value":2090},"Escape special characters in attribute values: ",{"type":51,"tag":94,"props":2092,"children":2094},{"className":2093},[],[2095],{"type":56,"value":998},{"type":56,"value":101},{"type":51,"tag":94,"props":2098,"children":2100},{"className":2099},[],[2101],{"type":56,"value":1005},{"type":56,"value":101},{"type":51,"tag":94,"props":2104,"children":2106},{"className":2105},[],[2107],{"type":56,"value":1012},{"type":56,"value":101},{"type":51,"tag":94,"props":2110,"children":2112},{"className":2111},[],[2113],{"type":56,"value":1019},{"type":51,"tag":88,"props":2115,"children":2116},{},[2117,2119,2125,2127],{"type":56,"value":2118},"Always use unique ",{"type":51,"tag":94,"props":2120,"children":2122},{"className":2121},[],[2123],{"type":56,"value":2124},"id",{"type":56,"value":2126}," values for each ",{"type":51,"tag":94,"props":2128,"children":2130},{"className":2129},[],[2131],{"type":56,"value":955},{"type":51,"tag":59,"props":2133,"children":2135},{"id":2134},"important-rules",[2136],{"type":56,"value":2137},"Important Rules",{"type":51,"tag":197,"props":2139,"children":2140},{},[2141,2146,2156,2174,2179,2190,2203,2208,2213,2218,2229,2234,2259,2264,2269,2274],{"type":51,"tag":88,"props":2142,"children":2143},{},[2144],{"type":56,"value":2145},"NEVER use compressed\u002Fbase64 diagram content",{"type":51,"tag":88,"props":2147,"children":2148},{},[2149,2151],{"type":56,"value":2150},"NEVER invent shape names — only use shapes from ",{"type":51,"tag":94,"props":2152,"children":2154},{"className":2153},[],[2155],{"type":56,"value":896},{"type":51,"tag":88,"props":2157,"children":2158},{},[2159,2161,2166,2168],{"type":56,"value":2160},"ALWAYS wrap XML in ",{"type":51,"tag":94,"props":2162,"children":2164},{"className":2163},[],[2165],{"type":56,"value":861},{"type":56,"value":2167}," — not bare ",{"type":51,"tag":94,"props":2169,"children":2171},{"className":2170},[],[2172],{"type":56,"value":2173},"\u003CmxGraphModel>",{"type":51,"tag":88,"props":2175,"children":2176},{},[2177],{"type":56,"value":2178},"ALWAYS include cells id=\"0\" and id=\"1\" as root and default layer",{"type":51,"tag":88,"props":2180,"children":2181},{},[2182,2183,2188],{"type":56,"value":1579},{"type":51,"tag":94,"props":2184,"children":2186},{"className":2185},[],[2187],{"type":56,"value":1592},{"type":56,"value":2189}," style for main service icons",{"type":51,"tag":88,"props":2191,"children":2192},{},[2193,2195,2201],{"type":56,"value":2194},"ALWAYS set ",{"type":51,"tag":94,"props":2196,"children":2198},{"className":2197},[],[2199],{"type":56,"value":2200},"container=1;pointerEvents=0;",{"type":56,"value":2202}," on group shapes",{"type":51,"tag":88,"props":2204,"children":2205},{},[2206],{"type":56,"value":2207},"ALWAYS validate edge source\u002Ftarget IDs reference existing cells",{"type":51,"tag":88,"props":2209,"children":2210},{},[2211],{"type":56,"value":2212},"ALWAYS include a title block at the top of every diagram",{"type":51,"tag":88,"props":2214,"children":2215},{},[2216],{"type":56,"value":2217},"ALWAYS place 48x48 service icons inside colored category containers",{"type":51,"tag":88,"props":2219,"children":2220},{},[2221,2222,2227],{"type":56,"value":1579},{"type":51,"tag":94,"props":2223,"children":2225},{"className":2224},[],[2226],{"type":56,"value":1057},{"type":56,"value":2228}," in every style attribute",{"type":51,"tag":88,"props":2230,"children":2231},{},[2232],{"type":56,"value":2233},"For complex diagrams (7+ services), ALWAYS add step badges and legend",{"type":51,"tag":88,"props":2235,"children":2236},{},[2237,2239,2244,2245,2250,2252,2258],{"type":56,"value":2238},"Use descriptive cell IDs, not random strings (e.g., ",{"type":51,"tag":94,"props":2240,"children":2242},{"className":2241},[],[2243],{"type":56,"value":1544},{"type":56,"value":101},{"type":51,"tag":94,"props":2246,"children":2248},{"className":2247},[],[2249],{"type":56,"value":1551},{"type":56,"value":2251},", not ",{"type":51,"tag":94,"props":2253,"children":2255},{"className":2254},[],[2256],{"type":56,"value":2257},"cell-47",{"type":56,"value":125},{"type":51,"tag":88,"props":2260,"children":2261},{},[2262],{"type":56,"value":2263},"Add italic sub-labels to service icons to clarify their role in the architecture",{"type":51,"tag":88,"props":2265,"children":2266},{},[2267],{"type":56,"value":2268},"Only include services the user explicitly mentions or that are core to the data flow. Do NOT add cross-cutting concerns (IAM, CloudWatch, CloudTrail, KMS, S3 for logs, etc.) unless the user asks for them",{"type":51,"tag":88,"props":2270,"children":2271},{},[2272],{"type":56,"value":2273},"Include a title\u002Flabel on the diagram describing the architecture",{"type":51,"tag":88,"props":2275,"children":2276},{},[2277,2279,2285],{"type":56,"value":2278},"NEVER set a ",{"type":51,"tag":94,"props":2280,"children":2282},{"className":2281},[],[2283],{"type":56,"value":2284},"background",{"type":56,"value":2286}," attribute on mxGraphModel — any hardcoded background breaks dark mode adaptive contrast",{"type":51,"tag":59,"props":2288,"children":2290},{"id":2289},"reference-priority",[2291],{"type":56,"value":2292},"Reference Priority",{"type":51,"tag":52,"props":2294,"children":2295},{},[2296],{"type":56,"value":2297},"When generating diagrams, follow this priority order:",{"type":51,"tag":84,"props":2299,"children":2300},{},[2301,2306,2326],{"type":51,"tag":88,"props":2302,"children":2303},{},[2304],{"type":56,"value":2305},"This skill's XML generation rules and style guide (ALWAYS authoritative)",{"type":51,"tag":88,"props":2307,"children":2308},{},[2309,2311,2316,2318,2324],{"type":56,"value":2310},"This skill's example ",{"type":51,"tag":94,"props":2312,"children":2314},{"className":2313},[],[2315],{"type":56,"value":235},{"type":56,"value":2317}," files in ",{"type":51,"tag":94,"props":2319,"children":2321},{"className":2320},[],[2322],{"type":56,"value":2323},"references\u002F",{"type":56,"value":2325}," (Step 3 selection table)",{"type":51,"tag":88,"props":2327,"children":2328},{},[2329,2331,2336],{"type":56,"value":2330},"The user's existing ",{"type":51,"tag":94,"props":2332,"children":2334},{"className":2333},[],[2335],{"type":56,"value":235},{"type":56,"value":2337}," files ONLY when explicitly requested (\"match my style\", \"update my diagram\")",{"type":51,"tag":52,"props":2339,"children":2340},{},[2341,2343,2348],{"type":56,"value":2342},"Do NOT proactively read ",{"type":51,"tag":94,"props":2344,"children":2346},{"className":2345},[],[2347],{"type":56,"value":235},{"type":56,"value":2349}," files from the user's project unless they specifically ask you to reference or modify them. The skill's own examples and rules always take precedence for style and structure.",{"type":51,"tag":2351,"props":2352,"children":2353},"style",{},[2354],{"type":56,"value":2355},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2357,"total":2534},[2358,2377,2397,2407,2420,2433,2443,2453,2474,2489,2504,2519],{"slug":2359,"name":2359,"fn":2360,"description":2361,"org":2362,"tags":2363,"stars":2374,"repoUrl":2375,"updatedAt":2376},"agentcore-investigation","investigate Bedrock AgentCore runtime sessions","Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session\u002Ftrace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2364,2365,2368,2371],{"name":21,"slug":22,"type":16},{"name":2366,"slug":2367,"type":16},"Debugging","debugging",{"name":2369,"slug":2370,"type":16},"Logs","logs",{"name":2372,"slug":2373,"type":16},"Observability","observability",9427,"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Fmcp","2026-07-12T08:37:22.601527",{"slug":2378,"name":2379,"fn":2380,"description":2381,"org":2382,"tags":2383,"stars":2374,"repoUrl":2375,"updatedAt":2396},"amazon-aurora-dsql","amazon aurora dsql","build applications with Aurora DSQL","Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, FK replacement code generation, OCC retry patterns, ORM migration (Django\u002FHibernate\u002FRails), DDL operations, query plan explainability, SQL compatibility validation, and bulk data loading. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow, DSQL foreign key, DSQL OCC retry, DSQL multi-region, load into DSQL, load CSV into DSQL, bulk load DSQL, aurora-dsql-loader.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2384,2387,2388,2391,2393],{"name":2385,"slug":2386,"type":16},"Aurora","aurora",{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},"Database","database",{"name":1280,"slug":2392,"type":16},"serverless",{"name":2394,"slug":2395,"type":16},"SQL","sql","2026-07-12T08:36:45.053393",{"slug":2398,"name":2399,"fn":2380,"description":2381,"org":2400,"tags":2401,"stars":2374,"repoUrl":2375,"updatedAt":2406},"aurora-dsql","aurora dsql",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2402,2403,2404,2405],{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},{"name":1280,"slug":2392,"type":16},{"name":2394,"slug":2395,"type":16},"2026-07-12T08:36:42.694299",{"slug":2408,"name":2409,"fn":2380,"description":2381,"org":2410,"tags":2411,"stars":2374,"repoUrl":2375,"updatedAt":2419},"aws-dsql","aws dsql",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2412,2413,2414,2417,2418],{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},{"name":2415,"slug":2416,"type":16},"Migration","migration",{"name":1280,"slug":2392,"type":16},{"name":2394,"slug":2395,"type":16},"2026-07-12T08:36:38.584057",{"slug":2421,"name":2422,"fn":2380,"description":2381,"org":2423,"tags":2424,"stars":2374,"repoUrl":2375,"updatedAt":2432},"distributed-postgres","distributed postgres",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2425,2426,2427,2430,2431],{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},{"name":2428,"slug":2429,"type":16},"PostgreSQL","postgresql",{"name":1280,"slug":2392,"type":16},{"name":2394,"slug":2395,"type":16},"2026-07-12T08:36:46.530743",{"slug":2434,"name":2435,"fn":2380,"description":2381,"org":2436,"tags":2437,"stars":2374,"repoUrl":2375,"updatedAt":2442},"distributed-sql","distributed sql",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2438,2439,2440,2441],{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},{"name":1280,"slug":2392,"type":16},{"name":2394,"slug":2395,"type":16},"2026-07-12T08:36:48.104182",{"slug":2444,"name":2444,"fn":2380,"description":2381,"org":2445,"tags":2446,"stars":2374,"repoUrl":2375,"updatedAt":2452},"dsql",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2447,2448,2449,2450,2451],{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},{"name":2415,"slug":2416,"type":16},{"name":1280,"slug":2392,"type":16},{"name":2394,"slug":2395,"type":16},"2026-07-12T08:36:36.374512",{"slug":2454,"name":2454,"fn":2455,"description":2456,"org":2457,"tags":2458,"stars":2471,"repoUrl":2472,"updatedAt":2473},"cost-efficiency-analyzer","analyze cost efficiency and expenses","Analyzes cost structure, cost efficiency, and expense management from P&L data. Use when the user asks about costs, expenses, COGS, operating expenses, cost ratios, cost control, spending efficiency, margin compression from cost side, or wants to understand where money is going. Also use for \"are we spending too much\", \"cost breakdown\", \"expense analysis\", or \"how efficient are our operations\". NOT for revenue or top-line analysis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2459,2462,2465,2468],{"name":2460,"slug":2461,"type":16},"Accounting","accounting",{"name":2463,"slug":2464,"type":16},"Analytics","analytics",{"name":2466,"slug":2467,"type":16},"Cost Optimization","cost-optimization",{"name":2469,"slug":2470,"type":16},"Finance","finance",3176,"https:\u002F\u002Fgithub.com\u002Fawslabs\u002Fagentcore-samples","2026-07-12T08:40:03.29555",{"slug":2475,"name":2475,"fn":2476,"description":2477,"org":2478,"tags":2479,"stars":2471,"repoUrl":2472,"updatedAt":2488},"executive-financial-briefing","generate executive financial briefings","Generates a concise executive-level financial briefing or summary suitable for a CEO, CFO, or board presentation. Use when the user asks for a summary, briefing, executive summary, board update, financial overview, financial health check, or \"how is the business doing\". Covers the full P&L picture in one page. Also use for \"give me the highlights\", \"what do I need to know\", or \"quick financial update\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2480,2481,2482,2485],{"name":21,"slug":22,"type":16},{"name":2469,"slug":2470,"type":16},{"name":2483,"slug":2484,"type":16},"Management","management",{"name":2486,"slug":2487,"type":16},"Reporting","reporting","2026-07-12T08:40:02.066471",{"slug":2490,"name":2490,"fn":2491,"description":2492,"org":2493,"tags":2494,"stars":2471,"repoUrl":2472,"updatedAt":2503},"multi-quarter-trend-analysis","analyze multi-quarter financial trends","Analyzes financial trends across multiple quarters by comparing P&L metrics over time. Use when the user wants to see trends, patterns, trajectories, or directional movement across 3 or more quarters. Also use for \"how are we trending\", \"show me the trend\", \"track performance over time\", \"quarter over quarter comparison across all quarters\", or any multi-period longitudinal analysis.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2495,2496,2497,2500],{"name":2463,"slug":2464,"type":16},{"name":2469,"slug":2470,"type":16},{"name":2498,"slug":2499,"type":16},"Financial Statements","financial-statements",{"name":2501,"slug":2502,"type":16},"Variance Analysis","variance-analysis","2026-07-12T08:40:00.79141",{"slug":2505,"name":2505,"fn":2506,"description":2507,"org":2508,"tags":2509,"stars":2471,"repoUrl":2472,"updatedAt":2518},"pdf","process and manipulate PDF documents","Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text\u002Ftables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting\u002Fdecrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2510,2513,2516],{"name":2511,"slug":2512,"type":16},"Automation","automation",{"name":2514,"slug":2515,"type":16},"Documents","documents",{"name":2517,"slug":2505,"type":16},"PDF","2026-07-12T08:41:44.135656",{"slug":2520,"name":2520,"fn":2521,"description":2522,"org":2523,"tags":2524,"stars":2471,"repoUrl":2472,"updatedAt":2533},"quarterly-kpi-calculator","calculate quarterly financial KPIs","Calculates quarterly financial KPIs from P&L data. P&L figures can be provided directly by the user or fetched from the financial data MCP server. Use when the user wants KPI calculations such as Gross Margin %, EBITDA Margin %, Operating Expense Ratio, or Revenue Growth % QoQ. Also use for quarterly performance review, P&L analysis, or interpreting financial ratios against benchmarks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2525,2526,2529,2530],{"name":2460,"slug":2461,"type":16},{"name":2527,"slug":2528,"type":16},"Data Analysis","data-analysis",{"name":2469,"slug":2470,"type":16},{"name":2531,"slug":2532,"type":16},"KPI","kpi","2026-07-12T08:39:59.54971",150,{"items":2536,"total":2627},[2537,2554,2572,2584,2591,2602,2612],{"slug":2538,"name":2538,"fn":2539,"description":2540,"org":2541,"tags":2542,"stars":26,"repoUrl":27,"updatedAt":2553},"amazon-location-service","integrate Amazon Location Service maps","Integrates Amazon Location Service APIs for AWS applications. Use this skill when users want to add maps (interactive MapLibre or static images); geocode addresses to coordinates or reverse geocode coordinates to addresses; calculate routes, travel times, or service areas; find places and businesses through text search, nearby search, or autocomplete suggestions; retrieve detailed place information including hours, contacts, and addresses; monitor geographical boundaries with geofences; or track device locations. Covers authentication, SDK integration, and all Amazon Location Service capabilities.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2543,2546,2547,2550],{"name":2544,"slug":2545,"type":16},"API Development","api-development",{"name":21,"slug":22,"type":16},{"name":2548,"slug":2549,"type":16},"Maps","maps",{"name":2551,"slug":2552,"type":16},"Navigation","navigation","2026-07-12T08:39:49.88311",{"slug":2555,"name":2555,"fn":2556,"description":2557,"org":2558,"tags":2559,"stars":26,"repoUrl":27,"updatedAt":2571},"amplify-workflow","build and deploy apps with AWS Amplify","Build and deploy full-stack web and mobile apps with AWS Amplify Gen2 (TypeScript code-first). Covers auth (Cognito), data (AppSync\u002FDynamoDB including schema modeling, enum types, relationships, authorization rules), storage (S3), functions, APIs, and AI (Amplify AI Kit with Bedrock). Supports React, Next.js, Vue, Angular, React Native, Flutter, Swift, and Android. Always use this skill for Amplify Gen2 topics — even for questions you think you know — it contains validated, version-specific patterns that prevent common mistakes. TRIGGER when: user mentions Amplify Gen2; project has amplify\u002F directory or amplify_outputs; code imports @aws-amplify packages; user asks about defineBackend, defineAuth, defineData, defineStorage, or npx ampx. SKIP: Amplify Gen1 (amplify CLI v6), standalone SAM\u002FCDK without Amplify (use aws-serverless), direct Bedrock without Amplify AI Kit (use bedrock).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2560,2563,2564,2565,2568],{"name":2561,"slug":2562,"type":16},"Auth","auth",{"name":21,"slug":22,"type":16},{"name":2389,"slug":2390,"type":16},{"name":2566,"slug":2567,"type":16},"Deployment","deployment",{"name":2569,"slug":2570,"type":16},"TypeScript","typescript","2026-07-12T08:39:43.500162",{"slug":2573,"name":2573,"fn":2574,"description":2575,"org":2576,"tags":2577,"stars":26,"repoUrl":27,"updatedAt":2583},"api-gateway","build and manage Amazon API Gateway APIs","Build, manage, and operate APIs with Amazon API Gateway (REST, HTTP, and WebSocket). Triggers on phrases like: API Gateway, REST API, HTTP API, WebSocket API, custom domain, Lambda authorizer, usage plan, throttling, CORS, VPC link, private API. Also covers troubleshooting API Gateway errors (4xx, 5xx, timeout, CORS failures) and IaC templates containing API Gateway resources. For general REST API design unrelated to AWS, do not trigger.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2578,2579,2580],{"name":2544,"slug":2545,"type":16},{"name":21,"slug":22,"type":16},{"name":2581,"slug":2582,"type":16},"REST API","rest-api","2026-07-12T08:39:00.149339",{"slug":4,"name":4,"fn":5,"description":6,"org":2585,"tags":2586,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2587,2588,2589,2590],{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":24,"slug":25,"type":16},{"name":18,"slug":19,"type":16},{"slug":2592,"name":2592,"fn":2593,"description":2594,"org":2595,"tags":2596,"stars":26,"repoUrl":27,"updatedAt":2601},"aws-lambda","build and deploy AWS Lambda functions","Design, build, deploy, test, and debug serverless applications with AWS Lambda. Triggers on phrases like: Lambda function, event source, serverless application, API Gateway, EventBridge, Step Functions, serverless API, event-driven architecture, Lambda trigger. For deploying non-serverless apps to AWS, use deploy-on-aws plugin instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2597,2598,2599,2600],{"name":2544,"slug":2545,"type":16},{"name":21,"slug":22,"type":16},{"name":2566,"slug":2567,"type":16},{"name":1280,"slug":2392,"type":16},"2026-07-12T08:38:58.598492",{"slug":2603,"name":2603,"fn":2604,"description":2605,"org":2606,"tags":2607,"stars":26,"repoUrl":27,"updatedAt":2611},"aws-lambda-durable-functions","build resilient AWS Lambda durable functions","Build resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for long-running executions. Covers the critical replay model, step operations, wait\u002Fcallback patterns, error handling with saga pattern, testing with LocalDurableTestRunner. Triggers on phrases like: lambda durable functions, workflow orchestration, state machines, retry\u002Fcheckpoint patterns, long-running stateful Lambda functions, saga pattern, human-in-the-loop callbacks, and reliable serverless applications.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2608,2609,2610],{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":1280,"slug":2392,"type":16},"2026-07-12T08:39:05.546173",{"slug":2613,"name":2613,"fn":2614,"description":2615,"org":2616,"tags":2617,"stars":26,"repoUrl":27,"updatedAt":2626},"aws-lambda-managed-instances","configure AWS Lambda Managed Instances","Evaluate, configure, and migrate workloads to AWS Lambda Managed Instances (LMI). Triggers on: Lambda Managed Instances, LMI, capacity provider, multi-concurrency Lambda, dedicated instance Lambda, EC2-backed Lambda, cold start elimination, Graviton Lambda, instance type for Lambda, scheduled scaling for LMI, Lambda cost optimization with Reserved Instances or Savings Plans. Also trigger when users describe high-volume predictable workloads seeking cost savings, want to scale LMI capacity on a schedule, or compare Lambda vs EC2 for steady-state traffic. For standard Lambda without LMI, use the aws-lambda skill instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[2618,2619,2620,2623],{"name":21,"slug":22,"type":16},{"name":2566,"slug":2567,"type":16},{"name":2621,"slug":2622,"type":16},"Infrastructure","infrastructure",{"name":2624,"slug":2625,"type":16},"Performance","performance","2026-07-12T08:39:07.007071",33]