From terraform-toolkit
Analyzes Terraform resource dependencies, visualizes graphs, detects circular dependencies, and suggests optimal ordering. Use for troubleshooting errors, refactoring configs, and optimizing apply.
How this skill is triggered — by the user, by Claude, or both
Slash command
/terraform-toolkit:terraform-dependency-analyzerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill helps analyze and optimize resource dependencies in Terraform configurations.
This skill helps analyze and optimize resource dependencies in Terraform configurations.
Use this skill when:
Terraform automatically detects dependencies through resource attribute references:
subnet_id = aws_subnet.main.idUse depends_on only when implicit dependencies aren't sufficient:
# Create visual dependency graph
terraform graph | dot -Tpng > graph.png
# View as text
terraform graph
Parse configuration to map dependencies:
depends_on declarationsCommon causes:
Solution approaches:
Process:
Analysis:
depends_on statements forcing sequential creationOptimization:
depends_on when absolutely necessarydepends_on statementsnpx claudepluginhub p/armanzeroeight-terraform-toolkit-plugins-terraform-toolkitGenerates architecture diagrams from Terraform code by parsing .tf files and visualizing resources, modules, and dependencies via Eraser API.
Diagnoses Terraform/OpenTofu failures (identity churn, secrets, blast radius, CI drift, state corruption) with version-aware guards and a structured response contract.
Terraform and OpenTofu configuration, modules, testing, state management, and HCL review. Use when working with Terraform, OpenTofu, HCL, tfvars, tftest, state migration, or IaC patterns.