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-media-processing.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source aws-media-processing.tvg.json --annotate aws-media-processing.annotations.yml
format: '0.3'
title: AWS video processing with MediaConvert, Rekognition and CloudFront signed URLs
connect:
tv_aws_users.creators:
- aws_s3_bucket.uploads: Multipart upload, presigned
aws_apigatewayv2_api.media:
- aws_cognito_user_pool.members: JWT authorizer
aws_s3_bucket.uploads:
- aws_glacier_vault.masters: Lifecycle after 30 days
- aws_cloudwatch_event_rule.new_upload: Object created
aws_sfn_state_machine.transcode:
- aws_media_convert_queue.vod: HLS ladder job
- aws_rekognition_collection.moderation: Content moderation, labels
aws_media_convert_queue.vod:
- aws_s3_bucket.renditions: HLS renditions
aws_lambda_function.catalogue_api:
- aws_secretsmanager_secret.url_signing_key: Signs URLs
aws_cloudfront_distribution.video:
- aws_s3_bucket.renditions: Origin access control
aws_wafv2_web_acl.video:
- aws_cloudfront_distribution.video: Bot control
flows:
Upload and process:
description: A creator publishes a video
steps:
- resource: tv_aws_users.creators -> aws_apigatewayv2_api.media
xlabel: Start
detail: A creator asks the API for an upload URL; Cognito authenticates them
- resource: aws_apigatewayv2_api.media -> aws_lambda_function.upload_url
xlabel: Presign
detail: and a Lambda function returns presigned multipart URLs
- resource: tv_aws_users.creators -> aws_s3_bucket.uploads
xlabel: Upload
detail: The creator uploads the master file straight to S3
- resource: aws_cloudwatch_event_rule.new_upload -> aws_sfn_state_machine.transcode
xlabel: Start
detail: EventBridge starts the Step Functions workflow
- resource: aws_sfn_state_machine.transcode -> aws_lambda_function.probe
xlabel: Probe
detail: which probes the file for codec and length
- resource: aws_sfn_state_machine.transcode -> aws_media_convert_queue.vod
xlabel: Transcode
detail: MediaConvert writes an adaptive bitrate ladder
- resource: aws_sfn_state_machine.transcode -> aws_rekognition_collection.moderation
xlabel: Moderate
detail: Rekognition checks the content and tags it
- resource: aws_sfn_state_machine.transcode -> aws_dynamodb_table.catalogue
xlabel: Publish
detail: and the video is published to the catalogue, with SNS telling the creator
Watch:
description: A member watches the video
steps:
- resource: tv_aws_users.viewers -> aws_apigatewayv2_api.media
xlabel: Browse
detail: A member browses the catalogue through the API
- resource: aws_apigatewayv2_api.media -> aws_lambda_function.catalogue_api
xlabel: Catalogue
detail: whose Lambda function reads DynamoDB
- resource: aws_lambda_function.catalogue_api -> aws_secretsmanager_secret.url_signing_key
xlabel: Sign
detail: and signs a short-lived CloudFront URL with the key in Secrets Manager
- resource: aws_route53_zone.video -> aws_cloudfront_distribution.video
xlabel: Play
detail: The player streams from CloudFront, which checks the signature
- resource: aws_cloudfront_distribution.video -> aws_s3_bucket.renditions
xlabel: Segments
detail: and serves HLS segments from S3 through origin access control
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 |