review-terraform
Skill1.1k starsChanged 59 days agoMITView on GitHub
Run and review an Azure-backed Terraform plan for infrastructure changes. Use for "review terraform", "plan terraform PR", or Terraform deployability questions.
In this repository9 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- check-prodSkill
- debug-deploySkill
- gh-stackSkill
- query-prod-dbSkill
- reset-prod-submissionsSkill
- review-pr-commentsSkill
- ship-itSkill
- write-migrationSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 14
every planned action matches the intended diff
- Distinctive: line 15
no unexpected destroy, replacement, identity, auth, networking, or data change
- Distinctive: line 26
Do not recommend merge with unresolved destroy/replacement, identity, authentication, state-access, or authorization concerns.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review Terraform
Review the diff and an Azure-backed plan before recommending merge. For an open infrastructure PR, follow the planning procedure. Inspect the existing head; do not update or rebase the branch unless requested.
Check:
- every planned action matches the intended diff
- no unexpected destroy, replacement, identity, auth, networking, or data change
- resources Azure creates by default are updated/imported rather than recreated
- the GitHub Actions identity has required Azure RBAC and, for
azuread_*, Microsoft Graph permissions - provider and lock-file-only updates produce no infrastructure changes
- Terraform formatting, validation, and tests pass
For risky identity changes, separate the platform gate from application deployment.
Report planned resource actions, unexplained changes, and any blocked checks. Do not recommend merge with unresolved destroy/replacement, identity, authentication, state-access, or authorization concerns.
Production applies must run through deploy.yml, which applies on merge to
main before releasing the application. Review does not authorize
apply, state mutation, imports, unlocks, or access changes. Never infer safety
from terraform validate alone.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

