AI for Developers
Agent skill (SKILL.md) Open source AGPL-3.0 1.6k

terravision

Cloud architecture diagrams that work both ways with Terraform.

Install

For this project
$ npx skills add patrickchugh/terravision -a claude-code
For every project
$ npx skills add patrickchugh/terravision -a claude-code -g

Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).

For this project
$ npx skills add patrickchugh/terravision -a codex
For every project
$ npx skills add patrickchugh/terravision -a codex -g

Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).

For this project
$ npx skills add patrickchugh/terravision -a gemini-cli
For every project
$ npx skills add patrickchugh/terravision -a gemini-cli -g

Or copy the skill folder into .agents/skills/ (project) or ~/.gemini/skills/ (all projects).

Install Graphviz, Git and uv, with Terraform optional for drawing from code, then follow the README.

When to use

Use it when your architecture diagram has gone stale, or you want to sketch infrastructure in words and get both a diagram and starting Terraform.

TerraVision turns Terraform code into cloud architecture diagrams, and the skill lets you work both ways. For AWS, Azure and Google Cloud, you can describe an architecture to your assistant, get a diagram and then the Terraform, or draw what your existing Terraform will deploy.

The argument in the README is that code is the source of truth, so a generated diagram is more accurate than a hand-drawn one that drifted from what's deployed. It runs entirely client side with no access to your cloud environment, parses conditionally created resources and variables, and fits into CI/CD as docs as code. It needs Graphviz, Git and uv.

Related skills

All skills