By johnpsasser
Generates professional cloud architecture diagrams by analyzing Infrastructure as Code files (Terraform, CloudFormation, Kubernetes, Docker Compose) and parsing resource graphs.
A Claude Code plugin that generates professional cloud architecture diagrams from Infrastructure as Code. Parses Terraform, CloudFormation, Kubernetes, and Docker Compose into a resource graph, then renders a polished diagram with Nano Banana Pro (Gemini 3 Pro Image).
In Claude Code:
/plugin marketplace add 0-to-1-Labs/claude-marketplace
/plugin install iac-diagram-generator@0to1-labs
Then set a Gemini API key (used for diagram rendering):
export GEMINI_API_KEY='your-key-here' # https://aistudio.google.com/apikey
That's it — diagram generation is bundled, no separate image skill required.
google-genai is auto-installed on first render)Nano Banana Pro renders at roughly $0.134/image and embeds a SynthID watermark marking output as AI-generated.
Just ask Claude Code:
"Generate an architecture diagram from my Terraform code"
"Show me what this CloudFormation template deploys"
"Diagram our Kubernetes application in the k8s/ directory"
"Visualize my compose.yaml services"
"Diagram the infrastructure in https://github.com/user/repo"
Claude will detect and parse the IaC, extract resources/relationships/topology,
build an optimized prompt, and save a iac_diagram_*.png in your current directory.
| Format | Extensions | Notes |
|---|---|---|
| Terraform | .tf, .tfvars | Tiered: tfparse → python-hcl2 → regex |
| CloudFormation | .yaml, .yml, .json, .template | Tiered: cfn-lint → PyYAML; resolves Ref/GetAtt/Sub |
| Kubernetes | .yaml, .yml | 20+ kinds; selector/owner/reference/mount/network relationships |
| Docker Compose | compose.yaml, docker-compose.yaml, … | Services, networks, volumes, depends_on |
Not yet supported: Pulumi, Azure ARM/Bicep, GCP Deployment Manager. (The skill will say so and offer to read the files manually instead of guessing.)
pip install python-hcl2 # better Terraform parsing (no terraform init needed)
pip install tfparse # best Terraform parsing (needs terraform init, Python 3.10+)
pip install cfn-lint # accurate CloudFormation intrinsic-function parsing
scripts/parse_iac.py scans your files (or a GitHub URL) into a JSON resource/dependency graphscripts/generate_diagram.py produces a PNGgit clone https://github.com/johnpsasser/iac-diagram-generator.git
cd iac-diagram-generator
./install.sh
This copies the skill into ~/.claude/skills/iac-diagram-generator/.
Nano Banana Pro outputs PNG. To get editable SVG/PDF, run the PNG through a
vectorizer — see skills/iac-diagram-generator/references/vectorization.md.
tfparse/python-hcl2 for accuracyFocus areas: Pulumi / Azure ARM / GCP Deployment Manager parsers, richer Terraform expression handling, and layout optimizations.
MIT.
Built for Claude Code. Uses Nano Banana Pro (Gemini 3 Pro Image) for rendering.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub 0-to-1-labs/claude-marketplace --plugin iac-diagram-generatorGenerate and edit photorealistic images with perfect text rendering using Nano Banana Pro (Gemini 3 Pro Image). Auto-enhances prompts and supports aspect ratio, resolution, and reference-image editing.
Review a pull request using a dual-family pipeline (OpenAI Codex + Claude Opus) with a cross-family grounded verifier and a deterministic lint/typecheck/test floor.
Create distinctive, production-grade frontend interfaces with high design quality — expanded, anti-AI-slop fork of the stock skill with stronger triggering, richer typographic and aesthetic direction.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Memory compression system for Claude Code - persist context across sessions
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.