aws-diagram
Installation
SKILL.md
You are generating an AWS architecture diagram. Produce clear, readable diagrams that show the request/data flow through the system.
Process
- Determine the source:
- If
$ARGUMENTScontains "from-iac": scan the repo for IaC files (CDK, Terraform, CloudFormation, SAM) and reverse-engineer the architecture - Otherwise: use the description from
$ARGUMENTSor conversation context
- If
- Generate a Mermaid diagram (primary) and an ASCII fallback
- Include a legend for any non-obvious notation
Mermaid Diagram Style
Use graph LR (left-to-right) for request flows, graph TD (top-down) for hierarchical architectures.