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/aws-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 aws-static-site-cicd.tvg.json --annotate aws-static-site-cicd.annotations.yml
format: '0.3'
title: AWS static website on CloudFront and S3 with a CodePipeline release
update:
tv_aws_internet.github:
label: GitHub repository
aws_lambda_function.security_headers:
label: Lambda@Edge Security Headers
connect:
aws_route53_zone.site:
- aws_cloudfront_distribution.production: Alias record
aws_wafv2_web_acl.site:
- aws_cloudfront_distribution.production: Managed rules, rate limit
aws_cloudfront_distribution.production:
- aws_s3_bucket.site: Origin access control
- aws_s3_bucket.site_replica: Failover origin
- aws_lambda_function.security_headers: Viewer response
aws_s3_bucket.site:
- aws_s3_bucket.site_replica: Cross-Region replication
aws_codeconnections_connection.github:
- aws_codepipeline.site: Push to main
aws_codebuild_project.browser_tests:
- aws_cloudfront_distribution.staging: Playwright tests
aws_codebuild_project.deploy_production:
- aws_cloudfront_distribution.production: Invalidate /*
aws_cloudwatch_metric_alarm.error_rate:
- aws_sns_topic.releases: 5xx above 1%
flows:
Page load:
description: A visitor opens the site
steps:
- resource: tv_aws_users.visitors -> aws_route53_zone.site
xlabel: DNS
detail: Route 53 resolves www.example.com to CloudFront
- resource: aws_wafv2_web_acl.site -> aws_cloudfront_distribution.production
xlabel: Filter
detail: AWS WAF filters the request at the edge
- resource: aws_cloudfront_distribution.production -> aws_s3_bucket.site
xlabel: Fetch
detail: CloudFront serves cached pages, fetching misses from S3 through origin access control
- resource: aws_cloudfront_distribution.production -> aws_s3_bucket.site_replica
xlabel: Failover
detail: If the origin fails, the origin group switches to the replica bucket in a second Region
- resource: aws_cloudfront_distribution.production -> aws_lambda_function.security_headers
xlabel: Headers
detail: Lambda@Edge adds the security headers
Release:
description: A change reaches production
steps:
- resource: tv_aws_users.developers -> tv_aws_internet.github
xlabel: Push
detail: A developer merges to main on GitHub
- resource: aws_codeconnections_connection.github -> aws_codepipeline.site
xlabel: Source
detail: The CodeConnections connection starts CodePipeline
- resource: aws_codepipeline.site -> aws_codebuild_project.build
xlabel: Build
detail: CodeBuild builds the site and stores the bundle
- resource: aws_codebuild_project.deploy_staging -> aws_s3_bucket.staging
xlabel: Stage
detail: deploys it to the staging bucket
- resource: aws_codebuild_project.browser_tests -> aws_cloudfront_distribution.staging
xlabel: Test
detail: and runs browser tests against the staging distribution
- resource: aws_codebuild_project.deploy_production -> aws_s3_bucket.site
xlabel: Release
detail: Once they pass, it syncs the production bucket and invalidates the CloudFront cache
- resource: aws_sns_topic.releases -> aws_chatbot_slack_channel_configuration.web_team
xlabel: Announce
detail: SNS and AWS Chatbot post the result, and any error-rate alarm, to the team's Slack channel
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 |