Terraform Change Review — Security skill for Claude Code
Evidence-based Terraform plan reviews for Claude Code and CI.
How to install Terraform Change Review
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open riadh-mnasri/terraform-change-review and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Terraform Change Review does
Evidence-based Terraform plan reviews for Claude Code and CI. Java 17, MCP, and targeted GCP security checks.
Alternatives in Security
- Jar Analyzer Claude — Claude Code plugin for Java JAR security audit — 基于 jar-analyzer 的 Claude Code 安全审计插件,构建数据库,AI 深入分析 124 ★
- Mobile Review — Senior-level deep review of an existing mobile app 107 ★
- UX A11y — WCAG 2.1 AA accessibility audit plus common-courtesy checks beyond the spec 66 ★
README
Terraform Change Review
Evidence-based Terraform plan review for Claude Code and CI. Built with Java 17 and the official MCP Java SDK.
**Status: early MVP.** Inventories resource and output changes across providers; specialized checks currently target selected Google Cloud resources. It does not certify a plan as safe or predict an outage.
The problem
A Terraform plan tells you what will change. Reviewers still need to determine what deserves attention: a replacement, a wider firewall source, a new sensitive role assignment, or a disabled recovery mechanism.
This project turns a local plan into a deterministic, structured review. Each finding contains a rule ID, resource, severity, evidence and a next check. Claude can explain those findings; the checks also run without an LLM in CI.
Quick start
Requirements: Java 17+ and Maven 3.9+. The build downloads dependencies from Maven Central; analysis itself makes no network calls.
mvn clean verify
java -jar target/terraform-change-review.jar review examples/gcp-risky.json --format markdown --fail-on none
java -jar target/terraform-change-review.jar review examples/gcp-unknown.json
java -jar target/terraform-change-review.jar rules
Generate a plan locally in your infrastructure repository:
terraform plan -out=review.tfplan
terraform show -json review.tfplan > plan.json
From that directory, run the built JAR using its absolute path. CLI input is confined to the current directory and descendants, including after symlink resolution.
java -jar /absolute/path/terraform-change-review/target/terraform-change-review.jar review plan.json --format json
Exit codes: `0` review completed without reaching the selected severity threshold, `1` findings reached the threshold, `2` invalid input/configuration. Default threshold: `high`; use `--fail-on medium` or `--fail-on none`. Exit `0` is not a safety verdict, including for unknown values or incomplete plans. CI must separately decide how
Related Skills
Checkov
Bootstrap Checkov on a developer laptop, run static or plan-level Terraform security scanning for AWS/Azure/GC
GCP SRE Triage
Triage GCP SRE findings (Terraform/IAM audit, Splunk/Kafka logs, Node.js traces): likely cause, blast radius,
GCP Triage
Triage GCP SRE findings (Terraform/IAM audit, Splunk/Kafka logs, Node.js traces) - likely cause, blast radius,
Ways Of Working Skills
Claude Code skills for ways of working, from files already on disk: change requests from a Terraform plan or P
Iac Review
Full Terraform/Ansible IaC review — plan sanity, security, state hygiene, and Checkov findings.
Ke Review
Perform an independent read-only review of a change, its requirements, tests, security, and completion evidenc
Related Agents
Cloud Engineer
Designs and implements cloud infrastructure using Infrastructure as Code (Terraform, CDK). Manages VPC, IAM, d
GCP Correctness
Reviews GCP infra/config (Terraform, cloudbuild, app.yaml, gcloud) for correctness. Used by /review flow.
Backend QA
QA for Tako's Raku backend — reviews a change to the grammar, checks, runner, event log or API for clean code