tf-policy-plan

Automates Terraform compliance-policy planning and generates a tf-policy-design.md artifact.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hashi-demo-lab/terraform-agentic-workflows-demo09 --skill tf-policy-plan
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tf-policy-plan
Source: https://github.com/hashi-demo-lab/terraform-agentic-workflows-demo09/tree/main/.claude/skills/tf-policy-plan
Command: npx skills add https://github.com/hashi-demo-lab/terraform-agentic-workflows-demo09 --skill tf-policy-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Orchestrates early-stage policy planning for Terraform projects by clarifying requirements, researching applicable controls, and generating a tf-policy-design.md artifact while enforcing a human-approval gate before any code is written.

Core Features & Use Cases

  • Clarifies regulatory and internal policy requirements and maps them to Terraform policy design.
  • Generates specs/{FEATURE}/tf-policy-design.md and supports checkpoints, design reviews, and governance-ready documentation.
  • Coordinates phase progression (requirements gathering, research, and design) with an explicit approval step to prevent premature code creation.

Quick Start

Provide your policy requirements and run tf-policy-plan to generate specs/{FEATURE}/tf-policy-design.md and pause for human approval.

Frequently Asked Questions about tf-policy-plan

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

FAQPage Schema
How do I automate Terraform policy planning and compliance research?▼

Automate Terraform policy planning by providing your policy set and provider to research applicable controls and generate a governance-ready design artifact. This process clarifies regulatory requirements and maps them to your infrastructure as code design.

What is the best way to enforce a human approval gate before writing Terraform code?▼

Enforce a human approval gate by using a policy planning workflow that pauses after generating the design document. This prevents premature code creation and ensures requirements gathering and research are reviewed before proceeding.

How do I generate governance-ready documentation for Terraform compliance requirements?▼

Generate governance-ready documentation by researching regulatory requirements and producing a tf-policy-design.md artifact. This file is saved under specs/{FEATURE} for review and coordinates design checkpoints across your project.

Does the tfpolicy engine support automated design reviews for Terraform projects?▼

The tfpolicy engine supports automated design reviews by orchestrating phase progression across requirements gathering, research, and design. It utilizes checkpoints and post-progress scripts to ensure compliance before code generation.

Can I use this policy planning workflow with any Terraform provider?▼

Yes, the policy planning workflow accepts a specified policy set and provider to research applicable controls. It maps your regulatory and internal policy requirements to the Terraform design for your chosen provider.

When should I not use automated Terraform policy planning?▼

Avoid automated Terraform policy planning if your project requires immediate code generation without an explicit approval step, as this workflow strictly enforces a human review gate and pauses before any code is written.