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-data-pipeline.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source gcp-data-pipeline.tvg.json --annotate gcp-data-pipeline.annotations.yml
format: '0.3'
title: Google Cloud streaming and batch data platform in a VPC
update:
google_compute_subnetwork.processing:
ip_cidr_range: 10.95.0.0/20
google_compute_subnetwork.orchestration:
ip_cidr_range: 10.95.16.0/24
connect:
google_composer_environment.orchestration:
- google_dataflow_job.batch_load: Nightly DAG
- google_dataproc_batch.spark_transform: Nightly DAG
google_bigquery_dataset.curated:
- google_looker_instance.dashboards: SQL queries
- google_vertex_ai_model.churn_model: Training data
google_bigtable_instance.realtime_features:
- google_cloud_run_v2_service.recommendations_api: Low-latency reads
tv_gcp_users_icon.mobile_and_web_apps:
- google_pubsub_topic.clickstream: Click events
google_pubsub_topic.clickstream:
- google_pubsub_subscription.clickstream: Streaming pull
tv_gcp_users_icon.partners:
- google_storage_bucket.partner_landing: File drops
google_sql_database_instance.orders:
- google_datastream_stream.orders_cdc: Change stream
google_datastream_stream.orders_cdc:
- google_bigquery_dataset.raw: Replicates tables
google_dataflow_job.streaming_enrichment:
- google_compute_global_forwarding_rule.psc_google_apis: Google APIs
google_dataflow_job.batch_load:
- google_compute_global_forwarding_rule.psc_google_apis: Google APIs
google_dataproc_batch.spark_transform:
- google_compute_global_forwarding_rule.psc_google_apis: Google APIs
google_compute_global_forwarding_rule.psc_google_apis:
- google_bigtable_instance.realtime_features: Writes features
- google_bigquery_dataset.curated: Curated tables
google_vertex_ai_model.churn_model:
- google_vertex_ai_endpoint.churn_model: Deployed
flows:
Streaming:
description: Click events become real-time features
color: '#D93025'
steps:
- resource: tv_gcp_users_icon.mobile_and_web_apps -> google_pubsub_topic.clickstream
xlabel: Events
detail: Apps publish click events to Pub/Sub
- resource: google_dataflow_job.streaming_enrichment -> google_compute_global_forwarding_rule.psc_google_apis
xlabel: Enrich
detail: The streaming Dataflow job reads the subscription and enriches the events, reaching Google APIs through Private Service Connect
- resource: google_compute_global_forwarding_rule.psc_google_apis -> google_bigtable_instance.realtime_features
xlabel: Features
detail: It writes them to Bigtable as real-time features
- resource: google_bigtable_instance.realtime_features -> google_cloud_run_v2_service.recommendations_api
xlabel: Recommend
detail: The Cloud Run recommendations API serves them
Batch:
description: Nightly loads build the curated warehouse
color: '#188038'
steps:
- resource: tv_gcp_users_icon.partners -> google_storage_bucket.partner_landing
xlabel: Upload
detail: Partners drop files into the Cloud Storage landing bucket
- resource: google_sql_database_instance.orders -> google_datastream_stream.orders_cdc
xlabel: CDC
detail: Datastream replicates order changes from Cloud SQL into the raw BigQuery dataset
- resource: google_composer_environment.orchestration -> google_dataproc_batch.spark_transform
xlabel: Schedule
detail: Cloud Composer runs the batch Dataflow load and the Dataproc Spark transform
- resource: google_compute_global_forwarding_rule.psc_google_apis -> google_bigquery_dataset.curated
xlabel: Curate
detail: The jobs write the curated BigQuery dataset through Private Service Connect
- resource: google_bigquery_dataset.curated -> google_looker_instance.dashboards
xlabel: Dashboards
detail: Looker dashboards query the curated data
- resource: google_bigquery_dataset.curated -> google_vertex_ai_model.churn_model
xlabel: Train
detail: Vertex AI trains the churn model on it and serves the model from an endpoint
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 |