·debug:terraform

Debug Terraform infrastructure-as-code issues systematically. This skill helps diagnose and resolve Terraform-specific problems including state lock conflicts, provider authentication failures, resource dependency cycles, state drift detection, import failures, module version conflicts, and plan/apply errors. Provides TF_LOG debugging, terraform console usage, state manipulation commands, and CI/CD best practices for infrastructure automation.

15Installs·0Trend·@snakeo

Installation

$npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill debug:terraform

SKILL.md

Debug Terraform configurations and state issues using a systematic four-phase approach with provider-specific considerations.

| terraform validate | Check syntax and configuration | | terraform plan | Preview changes | | terraform plan -refresh-only | Detect state drift | | terraform state list | List all resources in state | | terraform state show | Show resource details | | terraform state pull | Download remote state | | terraform state rm | Remove from state |

| terraform import | Import existing resource | | terraform force-unlock | Release state lock | | terraform console | Interactive expression testing | | terraform graph | Generate dependency graph | | terraform providers | Show required providers | | terraform output | Show output values | | terraform taint | Mark for recreation (deprecated) |

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill debug:terraform
Category
</>Dev Tools
Verified
First Seen
2026-02-06
Updated
2026-02-18

Quick answers

What is debug:terraform?

Debug Terraform infrastructure-as-code issues systematically. This skill helps diagnose and resolve Terraform-specific problems including state lock conflicts, provider authentication failures, resource dependency cycles, state drift detection, import failures, module version conflicts, and plan/apply errors. Provides TF_LOG debugging, terraform console usage, state manipulation commands, and CI/CD best practices for infrastructure automation. Source: snakeo/claude-debug-and-refactor-skills-plugin.

How do I install debug:terraform?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill debug:terraform Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/snakeo/claude-debug-and-refactor-skills-plugin