/iac-guidelines:iac-auditfrom iac-guidelines
Read-only audit of Terraform/Terragrunt codebases against Theodo Cloud IaC Guild guidelines. Runs Guacamole static analysis and manual review to produce a maturity level with risk-ranked findings.
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.
Audit the path given by the user, otherwise the whole repository against the Theodo Cloud IaC Guild standards. Never modify files. The only commands allowed are command -v guacamole and guacamole static ... (see below).
The guideline documents are at the root of this plugin (terraform/, terragrunt/, operations/, tooling/); use the index in the iac-guidelines skill to pick the files relevant to each check and read them before judging. Subscription / tenant / AD group / resource IDs are public identifiers, not secrets. Only passwords, keys, certificates and tokens are sensitive.
Guacamole statically checks Terraform / Terragrunt code (HCL parsing only). It is the evidence base for the Naming, Modules and Versioning points it covers; do not re-audit those by hand. Keep manual review for the rest (structure, layer design, security, cross-layer references, CI, docs, lock files).
command -v guacamole succeeds, run guacamole static -v -p <audited path> first. Otherwise use the Guacamole output the user provided. Otherwise audit everything manually and state "Guacamole not available" in the report.command -v guacamole and guacamole static .... Never state, profile or ci modes, never terraform / terragrunt or any other command.✅|❌ <CHECK_ID> - <name>, with -v each error as path:line, final Score: x% (ok/total)..tf, layers included. Discard TF_MOD_003, TF_NAM_001, TF_NAM_005 hits on layers (layers use exact versions; this/these rules target modules). Report how many were discarded and why.# guacamole-ignore:<CHECK_ID> <reason> comment and .guacamoleignore entry (file:line + reason). A waiver without a reason is a 🟡 finding.| Check | Guideline file |
|---|---|
TF_MOD_001 remote module pinned, TF_MOD_003 ~> provider constraints in modules | terraform/terraform_versioning.md |
TF_MOD_002 no provider in module, TF_VAR_001 variable description, TF_VAR_002 no any type, TF_DAT_001 data source depending on apply-time value | terraform/donts.md |
TF_NAM_001 to TF_NAM_005 this/these, snake_case, stuttering, plural variables | terraform/terraform_naming.md |
TG_DRY_001, TG_DRY_002, TG_ARC_001, TG_INP_001 duplicate inputs, useless locals, leaf layer, inputs match module variables | terragrunt/context_pattern.md |
file:line and the guideline file it violates (e.g. terraform/terraform_naming.md). Guacamole findings: file:line · <CHECK_ID> · <guideline file>.this/these, plural collections, no main.tf, descriptions on variables and outputs. Guacamole-covered points come from Guacamole when available.provider block in modules; no workspaces, tfvars sprawl, one-liners, scripts mixed with .tf.5 Optimized · 4 Managed · 3 Defined · 2 Repeatable · 1 Initial. Assess each category (Architecture & Patterns, Standards & Quality, Security & Compliance, Automation & Tooling, Documentation & Process) and derive the overall level, weighting Security 35%, Architecture 25%, Standards 20%, Documentation 12%, Tooling 8%.
Risk levels: 🔴 Critical (security, outage, compliance) · 🟠 High · 🟡 Medium · 🟢 Low.
file:line + guideline file), layer false positives discarded (count), waivers list, gap to the next level, recommendations.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
terraform-audit, terragrunt, iac-review, guacamole, cloud-iac
npx claudepluginhub padok-team/docs-terraform-guidelines --plugin iac-guidelines5 skills in this plugin
/iac-architecture-diagramGenerate a Mermaid flowchart of the target architecture (layers, networks with CIDR ranges, services, dependencies, security boundaries) from a Terragrunt / Terraform folder, with an architecture write-up. Use when asked for an architecture diagram of an IaC project./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.Other plugins' skills for the same job