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/gcp-static-site-cicd.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source gcp-static-site-cicd.tvg.json --annotate gcp-static-site-cicd.annotations.yml
format: '0.3'
title: Google Cloud static website with Cloud CDN, a Cloud Run API and Cloud Build from GitHub
update:
tv_gcp_external_saas.github:
label: GitHub
tv_gcp_external_saas.email:
label: Email Provider
google_compute_target_https_proxy.site:
label: HTTPS Proxy Site
google_artifact_registry_repository.api_images:
label: Artifact Registry Api Images
google_certificate_manager_certificate.site:
label: Certificate Manager Site
google_cloud_run_v2_service.api:
label: Cloud Run Api
google_cloudbuild_trigger.main:
label: Cloud Build Main
google_cloudbuild_trigger.pull_request:
label: Cloud Build Pull Request
google_cloudbuildv2_repository.site:
label: Repository Site
google_cloudfunctions2_function.contact:
label: Cloud Functions Contact
google_compute_backend_bucket.static:
label: Backend Bucket Static
google_compute_backend_service.api:
label: Backend Service Api
google_compute_global_forwarding_rule.https:
label: Forwarding Rule Https
google_compute_security_policy.edge:
label: Cloud Armor Edge
google_compute_url_map.site:
label: URL Map Site
google_dns_managed_zone.site:
label: Cloud DNS Site
google_firestore_database.content:
label: Firestore Content
google_identity_platform_config.members:
label: Identity Platform Members
google_kms_key_ring.site:
label: Cloud KMS Site
google_logging_project_sink.site:
label: Log Sink Site
google_pubsub_topic.contact_form:
label: Pub/Sub Contact Form
google_secret_manager_secret.sendgrid_key:
label: Secret Manager Sendgrid Key
google_storage_bucket.previews:
label: Cloud Storage Previews
google_storage_bucket.site:
label: Cloud Storage Site
connect:
google_compute_backend_bucket.static:
- google_storage_bucket.site: Cloud CDN
google_compute_url_map.site:
- google_compute_backend_service.api: /api/*
google_cloudbuild_trigger.main:
- google_compute_url_map.site: Invalidate cache
flows:
Visit:
description: A visitor loads the site
color: '#D93025'
steps:
- resource: tv_gcp_users_icon.visitors -> google_dns_managed_zone.site
xlabel: Resolve
detail: The site's name resolves in Cloud DNS to the load balancer's anycast IP
- resource: google_certificate_manager_certificate.site -> google_compute_target_https_proxy.site
xlabel: TLS
detail: The HTTPS proxy ends TLS with a Certificate Manager certificate
- resource: google_compute_backend_bucket.static -> google_storage_bucket.site
xlabel: Pages
detail: The URL map serves pages and assets from the site bucket through Cloud CDN
- resource: tv_gcp_users_icon.visitors -> google_identity_platform_config.members
xlabel: Sign in
detail: Members sign in with Identity Platform
- resource: google_compute_backend_service.api -> google_cloud_run_v2_service.api
xlabel: API
detail: Calls to /api go through Cloud Armor to the API on Cloud Run
- resource: google_cloud_run_v2_service.api -> google_firestore_database.content
xlabel: Content
detail: which reads member content from Firestore
- resource: google_cloudfunctions2_function.contact -> tv_gcp_server.sendgrid
xlabel: Email
detail: Contact form messages go through Pub/Sub to a function that emails the team
Release:
description: A merged change goes live
color: '#188038'
steps:
- resource: tv_gcp_server.github -> google_cloudbuildv2_repository.site
xlabel: Push
detail: A pull request or merge in GitHub notifies Cloud Build
- resource: google_cloudbuild_trigger.pull_request -> google_storage_bucket.previews
xlabel: Preview
detail: Each pull request builds a preview copy of the site
- resource: google_cloudbuild_trigger.main -> google_storage_bucket.site
xlabel: Publish
detail: A merge to main builds the site and syncs it to the site bucket
- resource: google_cloudbuild_trigger.main -> google_compute_url_map.site
xlabel: Invalidate
detail: invalidates the CDN cache
- resource: google_artifact_registry_repository.api_images -> google_cloud_run_v2_service.api
xlabel: Deploy
detail: and deploys the new API image to Cloud Run
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 |