Lewati ke konten
TakoAPI
Kembali ke skill

tf-plan-review

oleh tkuehnl

DevOps & Cloud
429Unduhan dilaporkan oleh clawskills.sh
0Tayangan
0 sukaMasuk untuk menyukai skill ini
—Belum ada penilaian
Penilaian Anda

Ringkasan

Analyze Terraform plans for risk before you apply.

Deskripsi

Apa yang Dilakukan Skill Ini

Runs terraform plan and classifies every infrastructure change as safe, moderate, dangerous, or critical. Detects destroys, IAM mutations, data-loss risks, and blast radius before you apply. Never modifies state or runs apply.

Classifies every change by risk level and surfaces destroys and IAM mutations automatically, instead of requiring engineers to manually scan raw plan output.

Kapan Menggunakannya

  • Checking whether a plan destroys a production database before applying
  • Reviewing IAM policy changes in a staging deployment
  • Assessing blast radius when replacing a load balancer or VPC subnet
  • Validating Terraform config syntax before a team code review
  • Identifying which resources will be permanently deleted in a refactor

Contoh Alur Kerja

INPUT

User asks: Is this plan safe to apply? (directory: ~/infra/prod)

AGENT
  1. 1

    Runs tf-plan-review.sh plan against ~/infra/prod

  2. 2

    Parses JSON output for overall_risk, destroy count, and per-resource risk classifications

  3. 3

    Identifies critical changes such as IAM role deletions, database replacements, and security group updates

  4. 4

    Assesses blast radius for destroyed or replaced resources

  5. 5

    Presents Markdown risk report with a go/no-go recommendation

OUTPUT

Risk report showing overall risk level, a list of dangerous changes with plain-English explanations, and a pre-apply checklist

Persyaratan

  • terraform CLI or opentofu CLI installed

Instalasi

clawhub install tkuehnl/tf-plan-review

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan