/iac-guidelines:iac-architecture-diagramfrom iac-guidelines
Generates a Mermaid flowchart and architecture write-up from Terragrunt/Terraform folders, showing layers, networks with CIDR ranges, services, dependencies, and security boundaries.
Ships in iac-guidelines. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyse the folder the user names, otherwise the repository and produce a Mermaid flowchart TB of the target architecture, plus a markdown write-up. The only file you create is the output file below.
terragrunt.hcl), Terraform modules (.tf directories), environment separation (dev / qa / prod…).root.hcl (project settings, locations), _settings.hcl / _settings.tf (versions, providers, backend), module.hcl (module sources), inputs.hcl (layer config, CIDR ranges), terragrunt.hcl (dependencies, includes), then the .tf files.dependency blocks, cross-layer data sources, network connectivity, service-to-service flows.flowchart TB
subgraph Cloud["Cloud Subscription"]
subgraph VNet["Virtual Network (10.0.0.0/16)"]
subgraph AKSSubnet["AKS Subnet (10.0.23.0/26)"]
AKS["☸️ AKS Cluster"]
end
subgraph DBSubnet["Database Subnet (10.0.22.0/24)"]
DB["🗄️ PostgreSQL"]
end
end
end
Users["👥 Users"] --> AKS
AKS --> DB
Validate the Mermaid syntax if a validator is available. Save one markdown file with a clear name (suggested: docs/diagrams/<folder-name>-architecture.md) containing: the diagram, an architecture overview, resource organisation per layer, network architecture (CIDR allocation, subnet purposes, connectivity), component details (roles, dependencies, data flows), security architecture, and how it is deployed.
The diagram must reflect the IaC accurately, with CIDR ranges and dependencies shown and a readable layout. Take values from the code, never invent them; mark anything you could not determine.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
5 skills in this plugin
/iac-auditRead-only audit of a Terraform / Terragrunt codebase against the Theodo Cloud IaC Guild guidelines, with a maturity level and risk-ranked findings. Use when asked to audit, assess or review the overall quality of an IaC repository or folder./iac-c4-diagramsGenerate C4 Context (level 1) and Container (level 2) Mermaid diagrams from a Terragrunt / Terraform folder. Use when asked for C4 diagrams or architecture documentation of an IaC project./iac-guidelinesTheodo Cloud IaC Guild guidelines for Terraform and Terragrunt. Use when writing, modifying or reviewing .tf / .hcl files, designing layers or modules, or answering questions about IaC naming, versioning, structure, secrets and refactoring./iac-upgrade-versionsNormalize and upgrade Terraform, Terragrunt and provider version constraints across a repository following the IaC Guild versioning rules, then check provider compatibility. Use when asked to upgrade providers, bump Terraform / Terragrunt versions or harmonize version pins.npx claudepluginhub padok-team/docs-terraform-guidelines --plugin iac-guidelinesOther plugins' skills for the same job