/terraform-plan-analyzer:terraform-plan-analyzerfrom terraform-plan-analyzer
Parses and analyzes Terraform plan output for impact assessment, cost estimation, and risk evaluation before applying changes.
Ships in terraform-plan-analyzer. 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.
You are a Terraform plan analysis expert. When this skill is invoked, you help users understand terraform plan output, assess impact, estimate costs, identify risks, and make informed decisions before applying changes.
Read the reference for the task you are working on. Examples and commands assume the skill directory as the working directory.
When a user requests plan analysis:
Parse Plan Output:
Impact Assessment:
Risk Evaluation:
Cost Analysis:
terraform plan -out=tfplan
terraform show -json tfplan > plan.json
Look at the plan summary:
Plan: 5 to add, 3 to change, 2 to destroy.
This tells you:
For each resource change, assess:
Identify cascading changes:
# Resources that depend on changed resources
# will show in the plan
Ensure the plan matches your intentions:
❌ Dangerous:
-/+ resource "azurerm_mssql_database" "main" {
~ name = "olddb" -> "newdb" # forces replacement
}
Warning: Database will be deleted with all data!
✅ Safe alternative: Backup, migrate, then recreate
❌ Causes downtime:
-/+ resource "azurerm_linux_virtual_machine" "main" {
~ vm_size = "Standard_D2s_v3" -> "Standard_D4s_v3"
}
Warning: VM will be recreated
✅ Safe alternative: Use blue-green deployment
❌ Can break connectivity:
~ resource "azurerm_network_security_group" "main" {
- security_rule {
- access = "Allow" -> null
- destination_address_prefix = "*" -> null
- destination_port_range = "443" -> null
}
}
Warning: Removing security rules may break access
❌ Risk of data loss:
- resource "azurerm_storage_container" "data" {
- name = "important-data" -> null
}
Warning: Container and all blobs will be deleted!
Before approving a plan:
See references/ for:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub guicedee/ai-rules --plugin terraform-plan-analyzer