·debug:terraform

系統地調試 Terraform 基礎設施即代碼問題。此技能有助於診斷和解決 Terraform 特定的問題,包括狀態鎖定衝突、提供者身份驗證失敗、資源依賴週期、狀態漂移檢測、導入失敗、模塊版本衝突和計劃/應用錯誤。提供 TF_LOG 調試、terraform 控制台使用、狀態操作命令以及基礎設施自動化的 CI/CD 最佳實踐。

15安裝·0熱度·@snakeo

安裝

$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) |

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill debug:terraform
分類
</>開發工具
認證
收錄時間
2026-02-06
更新時間
2026-02-18

快速解答

什麼是 debug:terraform?

系統地調試 Terraform 基礎設施即代碼問題。此技能有助於診斷和解決 Terraform 特定的問題,包括狀態鎖定衝突、提供者身份驗證失敗、資源依賴週期、狀態漂移檢測、導入失敗、模塊版本衝突和計劃/應用錯誤。提供 TF_LOG 調試、terraform 控制台使用、狀態操作命令以及基礎設施自動化的 CI/CD 最佳實踐。 來源:snakeo/claude-debug-and-refactor-skills-plugin。

如何安裝 debug:terraform?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill debug:terraform 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

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