terraform
Terraform configuration style & structure rules, faithful to the official HashiCorp Terraform Style Guide.
npx rulepack add terraform
What it covers
CLAUDE.md— Claude Code playbook: formatting, file/module structure, naming, variables & outputs, version pinning, and a "don't" list.AGENTS.md— universal agent spec with the same rules in short form..cursor/rules/terraform.mdc— Cursor rules scoped to*.tf/*.tfvars.
Highlights: run terraform fmt + validate, two-space indent, aligned =,
snake_case names without the resource type, standard files
(main.tf/variables.tf/outputs.tf/…), pinned provider & module versions,
and keeping state files and secrets out of version control.
Source
License
MIT