Parses Terraform plan JSON output to summarize resource changes, detect destructive actions, and flag policy violations. Uses the terraform show -json command and the Terraform Cloud API to retrieve plan artifacts. Integrates with OPA (Open Policy Agent) for policy-as-code enforcement on planned changes.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Terraform Plan Diff Analyzer"
slug: "terraform-plan-diff-analyzer"
description: "Parses Terraform plan JSON output to summarize resource changes, detect destructive actions, and flag policy violations. Uses the terraform show -json command and the Terraform Cloud API to retrieve plan artifacts. Integrates with OPA (Open Policy Agent) for policy-as-code enforcement on planned changes."
github_stars: 48146
verification: "security_reviewed"
source: "https://github.com/hashicorp/terraform"
category: "CI/CD Integrations"
framework: "Cursor"
tool_ecosystem:
github_repo: "hashicorp/terraform"
github_stars: 48146
---
# Terraform Plan Diff Analyzer
Parses Terraform plan JSON output to summarize resource changes, detect destructive actions, and flag policy violations. Uses the terraform show -json command and the Terraform Cloud API to retrieve plan artifacts. Integrates with OPA (Open Policy Agent) for policy-as-code enforcement on planned changes.
## Installation
Basic usage or getting-started notes:
- Documentation is available on the [Terraform website](https://developer.hashicorp.com/terraform):
- [Introduction](https://developer.hashicorp.com/terraform/intro)
- [Documentation](https://developer.hashicorp.com/terraform/docs)
- Source: https://github.com/hashicorp/terraform
- Extracted from upstream docs: https://raw.githubusercontent.com/hashicorp/terraform/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/terraform-plan-diff-analyzer/)
No comments yet. Be the first to comment!