PR workflow Skill for Terraform/Terragrunt repos: branch naming, PR hygiene, read-only CI gates, and versioning expectations for interface changes.
Use this Skill when preparing or reviewing a PR in Terraform/Terragrunt repos, especially shared module libraries and their consumers.
Goal: catch workflow/process issues early (before apply-time surprises).
[BLOCKING] – cannot merge as-is (missing plan rationale, unsafe workflow, breaking change not called out).[SHOULD_FIX] – strongly recommended before merge (docs drift, missing versioning note).[NIT] – minor polish.feat/, fix/, chore/, docs/, refactor/).PR description must include either:
terragrunt plan output summary for the relevant stacks, orStrongly preferred sections (when applicable):
What changedPlan / ValidationRisk / RolloutBreaking changes (if any)Versioning (module repos)fmt, validate, tflint, and optionally plan.apply.apply in CI, flag as [BLOCKING] and recommend moving applies to a gated/manual workflow..github/workflows/*.yml for apply usage (terraform apply, terragrunt apply, run-all apply).If the PR changes module interface (examples):
variables.tf inputs added/renamed/removedoutputs.tf outputs added/renamed/removedThen require:
VERSIONING.md when present).If changes are breaking (renames/removals, behavior changes, tighter validations):
Breaking changes section with:Return:
Verdict: MERGE-READY / NOT READYFindings: bullets with [BLOCKING] / [SHOULD_FIX] / [NIT]Suggested edits: concrete fixes to branch name / PR title / PR body sections