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-security-command-center.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source gcp-security-command-center.tvg.json --annotate gcp-security-command-center.annotations.yml
format: '0.3'
title: Google Cloud security operations with Security Command Center, Cloud NGFW and automated remediation
update:
google_compute_subnetwork.web:
ip_cidr_range: 10.130.0.0/24
google_project.workloads:
label: Workload Project
google_project.security:
label: Security Project
tv_gcp_external_3p.internet:
label: Internet
google_org_policy_policy.no_public_buckets:
label: Org Policy No Public Buckets
google_scc_notification_config.high_findings:
label: Security Command Center High Findings
google_bigquery_dataset.security_analytics:
label: BigQuery Security Analytics
google_cloud_asset_folder_feed.iam_changes:
label: Asset Feed Iam Changes
google_cloudfunctions2_function.iam_review:
label: Cloud Functions Iam Review
google_cloudfunctions2_function.remediate:
label: Cloud Functions Remediate
google_compute_router.egress:
label: Cloud Router Egress
google_compute_router_nat.egress:
label: Cloud NAT Egress
google_data_loss_prevention_job_trigger.uploads:
label: Sensitive Data Protection Uploads
google_kms_key_ring.security:
label: Cloud KMS Security
google_logging_metric.firewall_threats:
label: Log-based Metric Firewall Threats
google_logging_organization_sink.all_logs:
label: Org Log Sink All Logs
google_logging_project_bucket_config.security_logs:
label: Log Bucket Security Logs
google_monitoring_alert_policy.threats:
label: Alert Policy Threats
google_monitoring_notification_channel.soc:
label: Notification Channel Soc
google_network_security_firewall_endpoint.ips:
label: Cloud NGFW Ips
google_pubsub_topic.asset_changes:
label: Pub/Sub Asset Changes
google_pubsub_topic.findings:
label: Pub/Sub Findings
google_secret_manager_secret.chat_webhook:
label: Secret Manager Chat Webhook
google_storage_bucket.customer_uploads:
label: Cloud Storage Customer Uploads
connect:
google_compute_instance.web~1:
- google_network_security_firewall_endpoint.ips: Inspected
google_compute_instance.web~2:
- google_network_security_firewall_endpoint.ips: Inspected
google_cloudfunctions2_function.remediate:
- google_storage_bucket.customer_uploads: Remove public access
flows:
Detect and alert:
description: A threat is blocked and reported
color: '#D93025'
steps:
- resource: google_compute_instance.web~1 -> google_network_security_firewall_endpoint.ips
xlabel: Inspect
detail: Cloud NGFW Enterprise inspects the web VMs' traffic and blocks known exploits
- resource: google_logging_organization_sink.all_logs -> google_logging_project_bucket_config.security_logs
xlabel: Collect
detail: An organisation sink gathers threat, audit and flow logs from every project
- resource: google_logging_project_bucket_config.security_logs -> google_logging_metric.firewall_threats
xlabel: Count
detail: A log-based metric counts blocked threats
- resource: google_monitoring_alert_policy.threats -> google_monitoring_notification_channel.soc
xlabel: Alert
detail: and an alert policy notifies the SOC channel when they spike
- resource: tv_gcp_users_icon.soc_analysts -> google_bigquery_dataset.security_analytics
xlabel: Hunt
detail: Analysts query the linked BigQuery dataset to investigate
Remediate:
description: Misconfigurations are fixed automatically
color: '#188038'
steps:
- resource: google_scc_notification_config.high_findings -> google_pubsub_topic.findings
xlabel: Finding
detail: 'Security Command Center publishes a high-severity finding: a bucket made public'
- resource: google_pubsub_topic.findings -> google_cloudfunctions2_function.remediate
xlabel: Trigger
detail: which triggers the remediation function
- resource: google_cloudfunctions2_function.remediate -> google_storage_bucket.customer_uploads
xlabel: Fix
detail: The function removes the public binding and marks the finding resolved
- resource: google_cloud_asset_folder_feed.iam_changes -> google_pubsub_topic.asset_changes
xlabel: IAM change
detail: A Cloud Asset feed reports every IAM policy change in the folder
- resource: google_cloudfunctions2_function.iam_review -> google_monitoring_notification_channel.soc
xlabel: Review
detail: and a function flags grants of owner or editor to the SOC
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 |