本文へスキップ
Kitbay
スキル公式active

terraform-style-guide

MPL-2.02026年11月4日 更新925GitHubスター

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

スキルの内容

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.

できること

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