terraform:plan

Generate safety-categorized Terraform plan previews for repository root modules.

1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/fabn/claude-plugins --skill terraform-plan-fabn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terraform:plan
Source: https://github.com/fabn/claude-plugins/tree/main/plugins/terraform/skills/plan
Command: npx skills add https://github.com/fabn/claude-plugins --skill terraform-plan-fabn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps users understand upcoming Terraform modifications, providing a clear, safety‑graded summary before applying changes.

Core Features & Use Cases

  • Module discovery: Detects all Terraform root modules in a repo.
  • Safety‑categorized plan: Classifies resources as SAFE, RISKY, or DESTRUCTIVE.
  • Mixed‑plan assistance: Offers scoped plans for safe resources when risky or destructive changes are present.

Quick Start

Ask the assistant to run a Terraform plan for the desired module and receive a categorized summary.

Frequently Asked Questions about terraform:plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preview Terraform changes before applying them?

To preview Terraform changes, run a safety-categorized plan that classifies resources into SAFE, RISKY, or DESTRUCTIVE categories, providing a clear summary of upcoming infrastructure modifications before applying them.

How does Terraform plan risk categorization work for modules?

Terraform plan risk categorization works by discovering root modules in a repository, executing the plan, and classifying resources into SAFE, RISKY, or DESTRUCTIVE safety categories to help you understand the impact of modifications.

Can I run a scoped Terraform plan for safe resources when risky changes are present?

Yes, when risky or destructive changes are present in a mixed-plan, you can request scoped plans that isolate and apply only the safe resources, preventing unintended modifications to risky infrastructure components.

Do I need to run terraform init before generating a safety-categorized plan?

Yes, you need to run terraform init before generating a safety-categorized plan because the process requires executing both the init and plan commands to discover modules and classify resources accurately.

What is the best way to discover all Terraform root modules in a repository?

The best way to discover Terraform root modules in a repository is to use module discovery logic that scans the repository structure, identifies root modules, and prepares them for safety-categorized plan execution.

Why should I use safety categories for Terraform infrastructure changes?

You should use safety categories for Terraform infrastructure changes because they provide a clear, safety-graded summary that helps you understand upcoming modifications and avoid applying risky or destructive changes unintentionally.