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-security-logging.annotations.yml
View on GitHub# Title, CIDR ranges, arrow labels and flow steps for the gallery diagram. Use with:
# terravision draw --source aws-security-logging.tvg.json --annotate aws-security-logging.annotations.yml
format: '0.3'
title: AWS organisation security logging and threat detection
update:
aws_vpc.security_tooling:
cidr_block: 10.90.0.0/24
aws_subnet.search~1:
cidr_block: 10.90.0.0/26
aws_subnet.search~2:
cidr_block: 10.90.0.64/26
aws_s3_bucket.cloudtrail_logs:
label: S3 CloudTrail Logs (Object Lock)
connect:
aws_cloudtrail.organization_trail:
- aws_s3_bucket.cloudtrail_logs: All accounts, all Regions
aws_guardduty_member.workloads:
- aws_guardduty_detector.delegated_admin: Findings
aws_guardduty_detector.delegated_admin:
- aws_securityhub_account.aggregator: ASFF findings
aws_config_config_rule.conformance:
- aws_securityhub_account.aggregator: Compliance
aws_securityhub_account.aggregator:
- aws_cloudwatch_event_rule.high_severity: HIGH and CRITICAL
aws_kinesis_firehose_delivery_stream.findings:
- aws_opensearch_domain.siem~1: VPC delivery
- aws_opensearch_domain.siem~2: VPC delivery
aws_cloudwatch_event_rule.high_severity:
- aws_lambda_function.auto_remediate: Quarantine instance
flows:
Audit trail:
description: Every API call is kept and searchable
steps:
- resource: aws_cloudtrail.organization_trail -> aws_s3_bucket.cloudtrail_logs
xlabel: Record
detail: The organisation trail records every API call in every account and Region
- resource: aws_vpc_flow_log.workloads -> aws_s3_bucket.flow_logs
xlabel: Flows
detail: Workload VPC flow logs and Config history land in the log archive account too
- resource: tv_aws_users.security_team -> aws_athena_workgroup.investigations
xlabel: Investigate
detail: Investigators query them with Athena
- resource: aws_glue_catalog_database.security_logs -> aws_s3_bucket.cloudtrail_logs
xlabel: Read
detail: through Glue tables over the immutable, Object Lock protected buckets
Threat response:
description: A finding reaches the security team
steps:
- resource: aws_guardduty_member.workloads -> aws_guardduty_detector.delegated_admin
xlabel: Detect
detail: GuardDuty in each workload account reports to the delegated administrator
- resource: aws_guardduty_detector.delegated_admin -> aws_securityhub_account.aggregator
xlabel: Aggregate
detail: Security Hub aggregates its findings with Config compliance
- resource: aws_securityhub_account.aggregator -> aws_cloudwatch_event_rule.high_severity
xlabel: Match
detail: An EventBridge rule matches high and critical findings
- resource: aws_cloudwatch_event_rule.high_severity -> aws_lambda_function.auto_remediate
xlabel: Contain
detail: A Lambda function quarantines the affected instance
- resource: aws_sns_topic.security_alerts -> aws_chatbot_slack_channel_configuration.secops
xlabel: Alert
detail: SNS and AWS Chatbot post the finding to the SecOps Slack channel
- resource: aws_kinesis_firehose_delivery_stream.findings -> aws_opensearch_domain.siem~1
xlabel: Index
detail: and Firehose indexes it in OpenSearch for correlation
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 |