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-media-processing.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source gcp-media-processing.tvg.json --annotate gcp-media-processing.annotations.yml
format: '0.3'
title: Google Cloud video processing with the Transcoder API, Workflows and Cloud CDN
update:
google_cloud_run_v2_job.thumbnails:
label: Cloud Run Job Thumbnails
google_video_transcoder_job_template.hls_dash:
label: Transcoder Template Hls Dash
google_bigquery_dataset.viewing:
label: BigQuery Viewing
google_cloud_run_v2_service.catalogue_api:
label: Cloud Run Catalogue Api
google_cloud_run_v2_service.studio_api:
label: Cloud Run Studio Api
google_compute_backend_bucket.renditions:
label: Backend Bucket Renditions
google_compute_backend_service.catalogue:
label: Backend Service Catalogue
google_compute_global_forwarding_rule.https:
label: Forwarding Rule Https
google_compute_security_policy.edge:
label: Cloud Armor Edge
google_compute_url_map.video:
label: URL Map Video
google_dns_managed_zone.video:
label: Cloud DNS Video
google_eventarc_trigger.video_uploaded:
label: Eventarc Video Uploaded
google_firestore_database.catalogue:
label: Firestore Catalogue
google_identity_platform_config.creators:
label: Identity Platform Creators
google_kms_key_ring.media:
label: Cloud KMS Media
google_logging_project_sink.media:
label: Log Sink Media
google_pubsub_subscription.watch_to_bigquery:
label: Subscription Watch To Bigquery
google_pubsub_topic.transcoder_events:
label: Pub/Sub Transcoder Events
google_pubsub_topic.watch_events:
label: Pub/Sub Watch Events
google_secret_manager_secret.cdn_signing_key:
label: Secret Manager Cdn Signing Key
google_storage_bucket.renditions:
label: Cloud Storage Renditions
google_storage_bucket.uploads:
label: Cloud Storage Uploads
google_transcoder_job.renditions:
label: Transcoder Renditions
google_workflows_workflow.process_video:
label: Workflows Process Video
connect:
tv_gcp_users_icon.creators:
- google_storage_bucket.uploads: Signed URL upload
google_compute_backend_bucket.renditions:
- google_storage_bucket.renditions: Cloud CDN, signed cookies
google_transcoder_job.renditions:
- google_pubsub_topic.transcoder_events: Job state
flows:
Ingest:
description: A creator's upload becomes a stream
color: '#D93025'
steps:
- resource: tv_gcp_users_icon.creators -> google_cloud_run_v2_service.studio_api
xlabel: Start
detail: A signed-in creator starts an upload in the studio API, which returns a signed URL
- resource: tv_gcp_users_icon.creators -> google_storage_bucket.uploads
xlabel: Upload
detail: The browser uploads the source video straight to Cloud Storage
- resource: google_eventarc_trigger.video_uploaded -> google_workflows_workflow.process_video
xlabel: Event
detail: Eventarc starts the processing workflow
- resource: google_workflows_workflow.process_video -> google_transcoder_job.renditions
xlabel: Transcode
detail: which creates a Transcoder API job from the HLS and DASH template
- resource: google_transcoder_job.renditions -> google_storage_bucket.renditions
xlabel: Write
detail: The job writes the bitrate ladder and manifests to the renditions bucket
- resource: google_transcoder_job.renditions -> google_pubsub_topic.transcoder_events
xlabel: Done
detail: and reports its state to Pub/Sub, which the workflow waits on
- resource: google_workflows_workflow.process_video -> google_cloud_run_v2_job.thumbnails
xlabel: Thumbnails
detail: The workflow runs a job to make thumbnails
- resource: google_workflows_workflow.process_video -> google_firestore_database.catalogue
xlabel: Publish
detail: and marks the title ready in the Firestore catalogue
Playback:
description: A viewer watches the video
color: '#188038'
steps:
- resource: tv_gcp_users_icon.viewers -> google_dns_managed_zone.video
xlabel: Resolve
detail: The player's host name resolves in Cloud DNS to the global load balancer
- resource: google_compute_backend_service.catalogue -> google_cloud_run_v2_service.catalogue_api
xlabel: Browse
detail: The catalogue API on Cloud Run lists titles and signs a CDN cookie
- resource: google_compute_backend_bucket.renditions -> google_storage_bucket.renditions
xlabel: Stream
detail: Segments stream from the renditions bucket through Cloud CDN
- resource: google_pubsub_subscription.watch_to_bigquery -> google_bigquery_dataset.viewing
xlabel: Analyse
detail: Watch events go through Pub/Sub to BigQuery for viewing analytics
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 |