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-batch-hpc.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source azure-batch-hpc.tvg.json --annotate azure-batch-hpc.annotations.yml
format: '0.3'
title: Azure Batch HPC with dedicated and Spot pools, Azure NetApp Files and an on-premises licence server
update:
azurerm_virtual_network.hpc:
address_space:
- 10.67.0.0/16
azurerm_subnet.gateway:
address_prefixes:
- 10.67.0.0/27
label: GatewaySubnet
azurerm_subnet.portal:
address_prefixes:
- 10.67.1.0/26
azurerm_subnet.compute:
address_prefixes:
- 10.67.16.0/20
azurerm_subnet.netapp:
address_prefixes:
- 10.67.2.0/26
label: Subnet NetApp (delegated)
azurerm_subnet.private_endpoints:
address_prefixes:
- 10.67.10.0/24
tv_azurerm_users.engineers:
label: Simulation Engineers
azurerm_linux_web_app.job_portal:
label: Job Portal
tv_azure_onprem.datacenter:
label: Corporate Datacenter
tv_azurerm_server.licence_server:
label: FlexLM Licence Server
azurerm_local_network_gateway.datacenter:
label: VPN Device
azurerm_virtual_network_gateway.vpn:
label: VPN Gateway
azurerm_batch_account.simulation:
label: Batch Account
azurerm_batch_pool.dedicated:
label: HBv4 Pool (dedicated)
azurerm_batch_pool.spot:
label: HBv4 Pool (Spot)
azurerm_netapp_volume.scratch:
label: NetApp Files Scratch
azurerm_storage_container.inputs:
label: Input Models
azurerm_storage_container.results:
label: Results
azurerm_container_registry.solver_images:
label: Solver Images (ACR)
azurerm_log_analytics_workspace.hpc:
label: Log Analytics
azurerm_private_dns_zone.privatelink:
label: Private DNS Zones
connect:
azurerm_batch_pool.dedicated:
- azurerm_netapp_volume.scratch: NFS 4.1
azurerm_batch_pool.spot:
- azurerm_netapp_volume.scratch: NFS 4.1
azurerm_local_network_gateway.datacenter:
- tv_azurerm_server.licence_server: FlexLM 27000
flows:
Submit:
description: An engineer runs a simulation
steps:
- resource: tv_azurerm_users.engineers -> azurerm_linux_web_app.job_portal
xlabel: Submit
detail: An engineer submits a simulation in the job portal
- resource: azurerm_linux_web_app.job_portal -> azurerm_private_endpoint.blob
xlabel: Upload
detail: The portal uploads the input model to Blob Storage
- resource: azurerm_linux_web_app.job_portal -> azurerm_private_endpoint.batch
xlabel: Job
detail: and creates a Batch job with one task per load case
- resource: azurerm_batch_account.simulation -> azurerm_batch_pool.dedicated
xlabel: Schedule
detail: Batch schedules the tasks on the dedicated HBv4 pool, which autoscales on pending tasks
- resource: azurerm_batch_pool.dedicated -> azurerm_virtual_network_gateway.vpn
xlabel: Licence
detail: Each solver checks out a licence from the data centre's licence server over the VPN
Burst and results:
description: Spare work runs on Spot, results come back
steps:
- resource: azurerm_batch_account.simulation -> azurerm_batch_pool.spot
xlabel: Burst
detail: Low-priority tasks run on the Spot pool; Batch requeues any that are evicted
- resource: azurerm_batch_pool.spot -> azurerm_netapp_volume.scratch
xlabel: Scratch
detail: Nodes share scratch files on Azure NetApp Files over NFS
- resource: azurerm_batch_pool.spot -> azurerm_private_endpoint.blob
xlabel: Results
detail: and write the results to Blob Storage when each task ends
- resource: azurerm_linux_web_app.job_portal -> azurerm_private_endpoint.blob
xlabel: Download
detail: Engineers download the results from the portal
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 |