terraform-style-guide
Enforces HashiCorp's official Terraform style conventions, security hardening, and best practices for IaC development.
Install
npx skills add https://github.com/hashicorp/agent-skills --skill terraform-style-guideStats
| Total installs | 2,344 |
| Weekly installs | 2.3K |
| GitHub stars | 489 |
| First seen | Jan 26, 2026 |
| Source | @hashicorp/agent-skills |
Summary
- Enforces two-space indentation, lowercase underscore naming, and standard file organization across terraform.tf, providers.tf, main.tf, variables.tf, outputs.tf, and locals.tf
- Requires type and description on all variables and outputs, with validation rules and sensitive flag support for credentials
- Prioritizes for_each over count for dynamic resources, applies security hardening (encryption, private networking, least privilege), and prevents hardcoded secrets
- Includes version pinning strategies, provider aliasing for multi-region deployments, and validation checklist for code review
Tags
Related skills
| Skill | Installs | vs terraform-style-guide |
|---|---|---|
| migrate-to-vinext | 2,384 | +40 |
| deployment-patterns | 1,526 | -818 |
| bats-testing-patterns | 3,280 | +936 |
| service | 1,576 | -768 |
| springboot-security | 1,934 | -410 |
FAQ
- How many installs does terraform-style-guide have?
- terraform-style-guide has 2,344 total installs and 2.3K installs this week.
- Where is terraform-style-guide hosted?
- terraform-style-guide is published by @hashicorp/agent-skills at https://github.com/hashicorp/agent-skills.
- How many GitHub stars does terraform-style-guide have?
- terraform-style-guide has 489 GitHub stars.
- When was terraform-style-guide first indexed?
- OrangeBot.AI first indexed terraform-style-guide on Jan 26, 2026.
- How do I install terraform-style-guide?
- Run: npx skills add https://github.com/hashicorp/agent-skills --skill terraform-style-guide