Back to skills

terraform-style-guide

infrastructure

Generates Terraform HCL code following HashiCorp's official style conventions. Covers file organization, naming rules, variable declarations, output formatting, and security defaults. Based directly o

Setup & Installation

npx skills add https://github.com/hashicorp/terraform-style-guide --skill terraform-style-guide
or paste the link and ask your coding assistant to install it
https://github.com/hashicorp/terraform-style-guide
View on GitHub

What This Skill Does

Generates Terraform HCL code following HashiCorp's official style conventions. Covers file organization, naming rules, variable declarations, output formatting, and security defaults. Based directly on the HashiCorp Terraform Style Guide. Instead of cross-referencing the HashiCorp style guide manually during code review or generation, the conventions are applied inline as code is written.

When to use it

  • Working with terraform style guide functionality
  • Implementing terraform style guide features
  • Debugging terraform style guide related issues