What problem does it solve?
This Skill eliminates the risk of unstructured Terraform troubleshooting, inconsistent module design, unmanaged state drift, and unsafe migration workflows that can lead to infrastructure outages, data loss, or costly deployment rollbacks.
Core Features & Use Cases
- Structured 5-phase investigation: Systematically gather context, diagnose root causes, design fixes, prioritize recommendations, and verify changes for Terraform workspaces, modules, and state.
- Module design optimization: Identify coupling issues, enforce best practices for variable/output surfaces, and resolve common count vs for_each bugs.
- State management & migration: Fix state drift, handle safe resource imports, and execute state moves for module refactors without destroying live infrastructure.
- Use Case: Use this when your Terraform plan shows unexpected resource replacements, you need to audit a module's public API for a team, or you are migrating existing cloud infrastructure into Terraform management without downtime.
Quick Start
Use the terraform-specialist skill to audit the Terraform module at ./infra/network and resolve any state drift issues in the default workspace.