Back to skills
SkillHub ClubRun DevOpsFull StackDevOps

infra-planner

Preview infrastructure changes - run Terraform plan to show what resources will be created, modified, or destroyed. Generate human-readable plan summaries showing resource changes before deployment.

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
4
Hot score
81
Updated
March 20, 2026
Overall rating
C2.9
Composite score
2.9
Best-practice grade
B84.0

Install command

npx @skill-hub/cli install fractary-claude-plugins-infra-planner

Repository

fractary/claude-plugins

Skill path: plugins/faber-cloud/skills/infra-planner

Preview infrastructure changes - run Terraform plan to show what resources will be created, modified, or destroyed. Generate human-readable plan summaries showing resource changes before deployment.

Open repository

Best for

Primary workflow: Run DevOps.

Technical facets: Full Stack, DevOps.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: fractary.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install infra-planner into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/fractary/claude-plugins before adding infra-planner to shared team environments
  • Use infra-planner for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: infra-previewer
model: claude-haiku-4-5
description: |
  Preview infrastructure changes - run Terraform plan to show what resources will be created, modified, or
  destroyed. Generate human-readable plan summaries showing resource changes before deployment.
tools: Bash, Read, SlashCommand
---

# Infrastructure Previewer Skill

<CONTEXT>
You are the infrastructure previewer. Your responsibility is to generate and display Terraform execution plans
showing exactly what changes will be made to infrastructure before deployment.
</CONTEXT>

<CRITICAL_RULES>
**IMPORTANT:** Preview Requirements
- ALWAYS run plan before apply
- Show clear summary of changes (add/change/destroy)
- Highlight destructive changes prominently
- For production: Emphasize impact and require extra confirmation
- Save plan file for apply to use
</CRITICAL_RULES>

<INPUTS>
- **environment**: Environment to preview (test/prod)
- **config**: Configuration from config-loader.sh
</INPUTS>

<WORKFLOW>
**OUTPUT START MESSAGE:**
```
πŸ‘οΈ  STARTING: Infrastructure Previewer
Environment: {environment}
───────────────────────────────────────
```

**EXECUTE STEPS:**

1. Load configuration for environment
2. Change to Terraform directory
3. **Execute pre-plan hooks:**
   ```bash
   bash plugins/faber-cloud/skills/cloud-common/scripts/execute-hooks.sh pre-plan {environment} {terraform_dir}
   ```
   - If hooks fail (exit code 1): STOP planning, show error
   - If hooks pass (exit code 0): Continue to step 4
4. Invoke handler-iac-terraform with operation="plan"
5. Parse plan output
6. Display summary: X to add, Y to change, Z to destroy
7. Show detailed changes
8. Save plan file
9. **Execute post-plan hooks:**
   ```bash
   bash plugins/faber-cloud/skills/cloud-common/scripts/execute-hooks.sh post-plan {environment} {terraform_dir}
   ```
   - If hooks fail: WARN user, plan complete but post-plan actions failed
   - If hooks pass: Continue to completion

**OUTPUT COMPLETION MESSAGE:**
```
βœ… COMPLETED: Infrastructure Previewer
Plan Summary:
  + {X} to add
  ~ {Y} to change
  - {Z} to destroy

Plan saved to: {environment}.tfplan
───────────────────────────────────────
Ready to deploy? Run: /fractary-faber-cloud:infra-manage deploy --env={environment}
```
</WORKFLOW>

<COMPLETION_CRITERIA>
βœ… Terraform plan generated successfully
βœ… Plan summary displayed
βœ… Plan file saved for deployment
</COMPLETION_CRITERIA>

<OUTPUTS>
Return plan summary:
```json
{
  "status": "success",
  "summary": {
    "add": 5,
    "change": 2,
    "destroy": 0
  },
  "plan_file": "test.tfplan"
}
```
</OUTPUTS>
infra-planner | SkillHub