Zum Inhalt springen
Kitbay
SkillOffiziellactive

terraform-style-guide

MPL-2.0Aktualisiert am 4. Nov. 2026925GitHub-Sterne

A HashiCorp skill that makes an agent write Terraform HCL the way HashiCorp's own style guide describes.

Was der Skill vermittelt

A HashiCorp skill that makes an agent write Terraform HCL the way HashiCorp's own style guide describes. It sets an order for generating code, from version constraints and provider configuration through data sources and resources to outputs, and a standard file layout with terraform.tf, providers.tf, main.tf, variables.tf, outputs.tf and locals.tf, with variables and outputs sorted alphabetically. It also covers formatting, naming, variables and outputs, preferring for_each over count, security practices, version pinning and a code review checklist, and applies when reviewing existing configurations as well as generating new ones.

Funktionen

  • Generate Terraform code in HashiCorp style
  • Organise configuration into standard files
  • Review existing Terraform for style issues