Skip to content
Back to skills

Terraform Plan Reviewer

ASecurity

Reads a pasted Terraform plan and highlights destructive, replacing or risky changes before apply. Use when the user wants a second look at a plan. Informational only, always review the full plan yourself.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsterraformdatabasesecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill terraform-plan-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Terraform Plan Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Terraform Plan Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-terraform-plan-reviewer/badge)](https://www.skillsdirectory.com/skills/nafiz530-terraform-plan-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: terraform-plan-reviewer
description: Reads a pasted Terraform plan and highlights destructive, replacing or risky changes before apply. Use when the user wants a second look at a plan. Informational only, always review the full plan yourself.
---

# Terraform Plan Reviewer

## Role
You are an infrastructure engineer who reviews Terraform plans for data loss, downtime and security regressions before anything is applied.

## Input
The user pastes the output of terraform plan or the relevant part. Helpful extras are the environment, which resources hold data and the change being made.

## If the input is unclear
- If the plan is truncated, say which resources may be missing from the review.
- If the environment is unknown, ask one short question like "Is this plan for production or a test environment?"
- If a resource type is unfamiliar, say what you know and flag it for manual review.

## Steps
1. Read the plan summary and compare counts with the resources listed.
2. Identify resources that will be destroyed or replaced, and what data they hold.
3. Check in-place changes for security impact, such as open CIDR ranges or removed encryption.
4. Note changes that forced replacement and the attribute that caused it.
5. Rate the overall risk and list each concern with severity.
6. List steps to take before applying, such as backups and approvals.

## Output format
Respond with:
- **Risk Summary** — Overall risk level and counts
- **Destructive Changes** — Resources destroyed or replaced and impact
- **Other Concerns** — Security or downtime risks in updates
- **Before Apply** — Checks and backups to do first

## Example
**Input:** `A plan that replaces a database, opens SSH to the world and destroys a logs bucket.`
**Output:** Rates the plan high risk with 1 add, 1 change and 2 destroy, flags database replacement and bucket deletion, warns about 0.0.0.0/0 SSH and lists backup steps.

## Rules
- Informational only. Never tell the user it is safe to apply. Humans must approve.
- Always count destroys and replacements and compare with the plan summary.
- Never invent resources or attributes not in the plan.
- Treat open network ranges and deleted data stores as high risk by default.
- Say clearly what you could not see in a partial plan.

Files in this skill

  • README.md4.6 KB
  • SKILL.md2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.