plan-analyzer

Analyze Terraform plan results to flag destructive operations and high-risk modifications.

4|3|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/thrashr888/hcptf-cli --skill plan-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plan-analyzer
Source: https://github.com/thrashr888/hcptf-cli/tree/main/.skills/plan-analyzer
Command: npx skills add https://github.com/thrashr888/hcptf-cli --skill plan-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you thoroughly review Terraform plan outputs to prevent unintended infrastructure changes, identify risks, and ensure modifications align with expectations before applying them.

Core Features & Use Cases

  • Change Summarization: Quickly grasp the scope of additions, modifications, and destructions.
  • Risk Identification: Pinpoint high-risk operations like resource replacements or deletions of critical infrastructure.
  • Detailed Analysis: Drill down into specific resource changes and their configurations.
  • Use Case: Before deploying a change to production, use this Skill to automatically flag any resource destructions, especially for databases or security groups, and alert you to review them manually.

Quick Start

Use the plan-analyzer skill to check the plan for run ID 'run-abc123' for any destructive changes.

Frequently Asked Questions about plan-analyzer

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

FAQPage Schema
How do I check a Terraform plan for destructive changes before applying?

To check a Terraform plan for destructive changes, analyze the plan output to flag potential risks like resource replacements or deletions. This process scans modifications to databases, networks, and IAM configurations to validate changes against expected outcomes before deployment.

What is Terraform plan analysis and how does it identify infrastructure risks?

Terraform plan analysis is the process of reviewing planned infrastructure changes to identify risks before applying them. It works by scanning the plan output for destructive operations and high-risk modifications to critical resources like databases, networks, and IAM configurations.

Can I analyze HCP Terraform runs for risky resource replacements?

Yes, you can analyze HCP Terraform runs for risky resource replacements by passing the specific run ID to the plan analyzer. It identifies high-risk operations and alerts you to manually review planned destructions for critical infrastructure like databases or security groups.

What's the best way to summarize Terraform plan changes for a production deployment?

The best way to summarize Terraform plan changes is to use a plan analyzer that categorizes additions, modifications, and destructions. This provides an actionable overview of the deployment scope and flags any high-risk operations for manual review before applying.

Do I need any dependencies to review infrastructure as code changes for risk assessment?

No dependencies are required to review infrastructure as code changes for risk assessment. The plan analyzer operates independently using scripts and references to evaluate Terraform plan results and flag potential risks before applying changes.