← Back to list

infra-previewer
by fractary
⭐ 4🍴 0📅 Jan 10, 2026
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
<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>
EXECUTE STEPS:
- Load configuration for environment
- Change to Terraform directory
- Execute pre-plan hooks:
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
- Invoke handler-iac-terraform with operation="plan"
- Parse plan output
- Display summary: X to add, Y to change, Z to destroy
- Show detailed changes
- Save plan file
- Execute post-plan hooks:
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}
<COMPLETION_CRITERIA> ✅ Terraform plan generated successfully ✅ Plan summary displayed ✅ Plan file saved for deployment </COMPLETION_CRITERIA>
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon