patrickchugh/terravision / skills/terravision-cloud-diagrams
terravision-cloud-diagrams
VerifiedDraw cloud architecture diagrams for AWS, Azure or GCP with the official provider icon sets, using TerraVision. Use whenever the user asks to draw, diagram, sketch or visualize a system on AWS, Azure or Google Cloud, or one built from their services (Lambda, DynamoDB, S3, EC2, EKS, RDS, API Gateway, Azure Functions, App Service, AKS, Cosmos DB, Cloud Run, GKE, BigQuery and the like), even if they never say 'cloud', 'diagram' or a tool name; also for a diagram of Terraform code. Prefer it over Mermaid, PlantUML, hand-written SVG or ASCII, which cannot use the official icons or VPC/subnet grouping. Not for diagrams that are not cloud infrastructure: sequence diagrams, flowcharts, class or ER diagrams, code or module structure, org charts, on-premises-only networks; use Mermaid or similar for those. Works with or without Terraform: with Terraform code the diagram comes from terraform plan; without it, write a small JSON graph and render it.
examples/gallery/azure-container-apps-microservices.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source azure-container-apps-microservices.tvg.json --annotate azure-container-apps-microservices.annotations.yml
format: '0.3'
title: Azure Container Apps microservices with Front Door Private Link and KEDA scaling
update:
azurerm_virtual_network.shop:
address_space:
- 10.60.0.0/16
azurerm_subnet.apps:
address_prefixes:
- 10.60.0.0/23
azurerm_subnet.private_endpoints:
address_prefixes:
- 10.60.10.0/24
azurerm_container_app_environment.shop:
label: Internal Environment
azurerm_container_app.fulfilment:
label: Fulfilment (KEDA)
azurerm_container_app.storefront:
label: Storefront
azurerm_container_app.orders:
label: Orders
azurerm_container_app.payments:
label: Payments
azurerm_container_app_job.reconcile:
label: Nightly Reconcile Job
azurerm_mssql_database.payments:
label: Azure SQL Payments
azurerm_cosmosdb_account.orders:
label: Cosmos DB Orders
azurerm_servicebus_queue.fulfilment:
label: Service Bus Queue
azurerm_container_registry.images:
label: Container Registry
azurerm_application_insights.apps:
label: Application Insights
azurerm_cdn_frontdoor_firewall_policy.waf:
label: Front Door WAF Policy
azurerm_cdn_frontdoor_profile.edge:
label: Azure Front Door
azurerm_dns_zone.shop:
label: Azure DNS
azurerm_log_analytics_workspace.apps:
label: Log Analytics
azurerm_private_dns_zone.privatelink:
label: Private DNS Zones
connect:
azurerm_cdn_frontdoor_profile.edge:
- azurerm_container_app_environment.shop: Private Link origin
azurerm_private_endpoint.cosmos:
- azurerm_cosmosdb_account.orders: HTTPS 443
azurerm_private_endpoint.service_bus:
- azurerm_servicebus_queue.fulfilment: AMQP 5671
azurerm_private_endpoint.sql:
- azurerm_mssql_database.payments: TDS 1433
azurerm_private_endpoint.redis:
- azurerm_managed_redis.carts: Redis TLS 10000
azurerm_public_ip.egress:
- tv_azurerm_internet.payment_provider: HTTPS 443
flows:
Checkout:
description: A customer pays for the basket
steps:
- resource: tv_azurerm_users.customers -> azurerm_dns_zone.shop
xlabel: Resolve
detail: The shop's name resolves in Azure DNS to Front Door
- resource: azurerm_cdn_frontdoor_profile.edge -> azurerm_container_app_environment.shop
xlabel: Origin
detail: Front Door, with its WAF policy, reaches the internal Container Apps environment over Private Link
- resource: azurerm_container_app_environment.shop -> azurerm_container_app.storefront
xlabel: Ingress
detail: The environment's ingress routes the request to the storefront app
- resource: azurerm_container_app.storefront -> azurerm_private_endpoint.redis
xlabel: Basket
detail: The storefront reads the basket from Azure Managed Redis
- resource: azurerm_container_app.storefront -> azurerm_container_app.payments
xlabel: Pay
detail: and calls the payments app on its internal ingress
- resource: azurerm_container_app.payments -> azurerm_private_endpoint.sql
xlabel: Record
detail: Payments records the attempt in Azure SQL
- resource: azurerm_public_ip.egress -> tv_azurerm_internet.payment_provider
xlabel: Authorise
detail: and authorises the card with the payment provider through the NAT gateway's fixed public IP
Fulfilment:
description: The order is saved and fulfilled
steps:
- resource: azurerm_container_app.storefront -> azurerm_container_app.orders
xlabel: Order
detail: The storefront places the order with the orders app
- resource: azurerm_container_app.orders -> azurerm_private_endpoint.cosmos
xlabel: Save
detail: Orders saves it to Cosmos DB
- resource: azurerm_container_app.orders -> azurerm_private_endpoint.service_bus
xlabel: Queue
detail: and queues a fulfilment message on Service Bus
- resource: azurerm_container_app.fulfilment -> azurerm_private_endpoint.service_bus
xlabel: Scale
detail: KEDA scales the fulfilment app on the queue length; each replica takes a message
- resource: azurerm_container_app.fulfilment -> azurerm_private_endpoint.cosmos
xlabel: Status
detail: and marks the order shipped in Cosmos DB
- resource: azurerm_container_app_job.reconcile -> azurerm_private_endpoint.sql
xlabel: Reconcile
detail: A scheduled Container Apps job reconciles the day's payments every night
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |