Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

terraform-review

Skill by NotHarshhaa

Reviews Terraform or OpenTofu code and infrastructure design as a senior IaC engineer. It produces a prioritized findings table and remediation plans for teams that manage cloud infrastructure with Terraform.

  • Score 54
  • 24 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install terraform-review

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NotHarshhaa/devops-skills /tmp/devops-skills && mkdir -p ~/.claude/skills && cp -r /tmp/devops-skills/terraform-review ~/.claude/skills/terraform-review

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install terraform-review in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

terraform-review is a skill that reviews Terraform or OpenTofu code and infrastructure design. It checks state and backend setup, security, correctness and safety, maintainability, cost, and drift. Each finding is cited with a file and line or plan output, then placed in a prioritized table.

The skill is strictly read-only. It runs validate, format checks, and plan with locking disabled, and never runs apply, destroy, import, or state changes. For each finding it writes a remediation plan in the plans/ directory, including the expected plan diff and a stop condition. It is aimed at engineers who want a review of Terraform modules, root configurations, or IaC design before merging or on a regular basis.

Written from the project's SKILL.md and checked against it.

What it can do

  • State and backend reviewChecks remote state, locking, encryption, and state segmentation.
  • Security reviewFlags over-permissive IAM, open security groups, public buckets, and hardcoded secrets.
  • Correctness and safety checksLooks for forced replacements, missing lifecycle rules, and unstable count or for_each keys.
  • Maintainability reviewFinds copy-pasted blocks, missing variable validation, and duplicated provider config.
  • Cost and drift checksReviews instance sizing, autoscaling, log retention, and unexpected plan diffs.
  • Remediation plansWrites one plan per finding with current and target HCL and a plan gate.
  • Branch reviewReviews only the changes on the current git branch as a pre-PR gate.

What you need

  • Terraform or OpenTofu code
  • Terraform CLI for validate, fmt, and plan
  • tflint, tfsec, or checkov for additional checks

Try asking

  • Review my Terraform modules for security issues
  • Run a quick Terraform review focused on state and backend
  • Review only the Terraform changes on my current branch

Good to know

  • Strictly read-only: never runs apply, destroy, import, or state changes
  • Only plans/ files are written; no infrastructure or code is modified
  • Modules that cannot be initialized are named and their findings marked MED or LOW

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: terraform-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to terraform-review

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

terraform-review: common questions

Does the Terraform review skill change my infrastructure?

No. The source says it is strictly read-only and runs only plan and validate. It never runs apply, destroy, or state changes, and only writes files in plans/.

Does it work with OpenTofu?

Yes. The skill reviews Terraform or OpenTofu code and infrastructure design.

How are the review findings presented?

Findings are listed in a prioritized table with evidence such as path and line numbers. Each finding gets its own remediation plan with a plan gate and rollback steps.

How do I install terraform-review?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is terraform-review free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is terraform-review safe to use?

It scores 54 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to terraform-review?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

terraform-review Install

Add to stack

Loading.