This enforces HashiCorp's official Terraform style conventions so you stop arguing about formatting in code reviews. It handles the standard file organization (terraform.tf, providers.tf, main.tf, variables.tf, outputs.tf), ensures two-space indentation with aligned equals signs, and mandates descriptions on every variable and output. The guide prioritizes for_each over count, includes validation rules for variables, and covers version pinning strategies. Use it when generating new Terraform configurations or reviewing existing ones. It's opinionated about security practices and references a separate SECURITY.md, plus includes a pre-commit checklist covering fmt, validate, and basic hygiene checks.
npx skills add https://github.com/hashicorp/agent-skills --skill terraform-style-guide