Performs safe Terraform state operations using the terraform CLI state subcommands and the Terraform Cloud API. Handles state imports, resource moves, and taint operations with automatic backup and rollback.
Installs into .claude/skills of the current project.
Are you the author of Terraform State Surgery Kit?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-terraform-state-surgery-kit)
---
name: "Terraform State Surgery Kit"
slug: "terraform-state-surgery-kit"
description: "Performs safe Terraform state operations using the terraform CLI state subcommands and the Terraform Cloud API. Handles state imports, resource moves, and taint operations with automatic backup and rollback."
github_stars: 48146
verification: "security_reviewed"
source: "https://github.com/hashicorp/terraform"
category: "Runbooks & Diagnostics"
framework: "Claude Code"
tool_ecosystem:
github_repo: "hashicorp/terraform"
github_stars: 48146
---
# Terraform State Surgery Kit
Performs safe Terraform state operations using the terraform CLI state subcommands and the Terraform Cloud API. Handles state imports, resource moves, and taint operations with automatic backup and rollback.
## Installation
Basic usage or getting-started notes:
- Documentation is available on the [Terraform website](https://developer.hashicorp.com/terraform):
- [Introduction](https://developer.hashicorp.com/terraform/intro)
- [Documentation](https://developer.hashicorp.com/terraform/docs)
- Source: https://github.com/hashicorp/terraform
- Extracted from upstream docs: https://raw.githubusercontent.com/hashicorp/terraform/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/terraform-state-surgery-kit/)