infra-plan-review
Read a Terraform plan and report what it would create, replace and destroy — counts first, reasoning second.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-05
- Stars
- ★ 212
- Forks
- 33
01 前言 Front Matter
- name
- infra-plan-review
- description
- Read a Terraform plan and report what it would create, replace and destroy — counts first, reasoning second.
03 SKILL.md 正文
Review a Terraform plan
Steps
- Ask for the plan output (a saved
terraform plantext file, or the path to run it in). If neither exists yet, say so and stop — there is nothing to review. - Count the actions the plan reports: create, update, replace, destroy. Report the four counts before any commentary, so the shape of the change is visible before an opinion about it.
- List every RESOURCE ADDRESS the plan would destroy or replace, one per line. A replace is a destroy plus a create, so it belongs in this list even when the resource name is unchanged.
- For each destroy or replace, name the attribute that forces it, quoting the line from the plan. If the plan does not say, write "the plan does not say" rather than guessing.
What not to do
- Do not run
terraform apply, and do not offer to. This skill reads a plan; applying is a separate decision a human makes with the counts in front of them. - Do not estimate cost. The plan does not contain prices, so any number here would be invented.
- Do not summarise a plan you could not read in full. Say which part was truncated.
04 同仓库更多 Skills
web-verify
Verify a built web page or app actually renders and works — drive it in a real browser, check the console and network, confirm the thing you changed is the thing being served, and capture evidence. Use before claiming a frontend change works.
visual-output
Emit rich visual output in chat via <widget> tags — styled HTML cards, charts, tables, interactive tools, and drawn SVG/canvas diagrams, illustrations, and animations — theme-aware, centered, and responsive instead of clashing or cramped.
task-and-project
Track work as Tasks (the /api/tasks CRUD + native task provider), and decompose larger projects into independent, verifiable units — fanning parallel investigation out to subagents while keeping one coherent plan; hand open-ended goal-driven work to a goal loop.
research-campaign
Run a multi-cycle research campaign — grill the question, decompose it into answerable sub-questions, investigate each against sources, then synthesize with confidence and gaps stated. Use for open questions that need real investigation rather than one lookup.
memory-discipline
When and how to persist durable memory — save genuine user preferences, facts, and corrections; NEVER persist transient environment failures (a failed command, a flaky network call, a one-off tool error) as lessons; recall before re-asking.
loop-worker
Per-cycle protocol for an autonomous goal loop worker — the unified autonomous goal engine that runs one self-directed cycle per turn until its goal is met, then self-retires. Drives one cycle against a loop's file interface (status.json gate, brief.md goal, guidance.txt nudges, findings/cycle_NNN.json, FINDINGS.md, the type-appropriate deliverable, STOP sentinel). The worker produces work and reports evidence; a deterministic check or a separate judge — never the worker — decides done-ness.