Pular para o conteúdo
Kitbay
SkillOficialactive

terraform-style-guide

MPL-2.0Atualizado em 4 de nov. de 2026925Estrelas no GitHub

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

O que a skill ensina

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.

O que faz

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