BeClaude

terraform-skill

New
20Community RegistryDevelopmentby Anton Babenko

Use when writing, reviewing, or debugging Terraform/OpenTofu modules, tests, CI, scans, or state ops - diagnoses failure mode (identity churn, secrets, blast radius, CI drift, state corruption) with version-aware guards.

First seen 5/22/2026

Summary

This skill helps you write, review, and debug Terraform and OpenTofu modules by diagnosing common failure modes like identity churn, secrets exposure, blast radius issues, CI drift, and state corruption.

  • It includes version-aware guards to ensure compatibility and best practices across your IaC workflows.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/terraform-skill.md https://raw.githubusercontent.com/antonbabenko/agent-plugins/main/SKILL.md
3
Invoke in Claude Code
/terraform-skill

Use Cases

Review a Terraform module for security issues such as hardcoded secrets or overly permissive IAM policies.
Debug a state lock error or state corruption issue in an OpenTofu project.
Identify and fix CI drift where infrastructure changes are not reflected in version control.
Analyze the blast radius of a planned change to understand which resources and environments are affected.
Check for identity churn in IAM roles and policies that could cause permission errors.
Validate module compatibility with specific Terraform or OpenTofu versions.

Usage Examples

1

/terraform-skill review main.tf --check secrets,iam,blast-radius

2

Debug state corruption in my OpenTofu project: the state file shows resources that no longer exist.

3

Check for CI drift in our Terraform pipeline: the plan output differs from the committed configuration.

View source on GitHub
testingcode-reviewterraformopentofuiacinfrastructure-as-codestate-managementci-cd

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is terraform-skill?

This skill helps you write, review, and debug Terraform and OpenTofu modules by diagnosing common failure modes like identity churn, secrets exposure, blast radius issues, CI drift, and state corruption. It includes version-aware guards to ensure compatibility and best practices across your IaC workflows.

How to install terraform-skill?

To install terraform-skill: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/terraform-skill.md https://raw.githubusercontent.com/antonbabenko/agent-plugins/main/SKILL.md. Finally, /terraform-skill in Claude Code.

What is terraform-skill best for?

terraform-skill is a skill categorized under Development. It is designed for: testing, code-review, terraform, opentofu, iac, infrastructure-as-code, state-management, ci-cd. Created by Anton Babenko.

What can I use terraform-skill for?

terraform-skill is useful for: Review a Terraform module for security issues such as hardcoded secrets or overly permissive IAM policies.; Debug a state lock error or state corruption issue in an OpenTofu project.; Identify and fix CI drift where infrastructure changes are not reflected in version control.; Analyze the blast radius of a planned change to understand which resources and environments are affected.; Check for identity churn in IAM roles and policies that could cause permission errors.; Validate module compatibility with specific Terraform or OpenTofu versions..