Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.
Install with Tessl CLI
npx tessl i github:hashicorp/agent-skills --skill terraform-style-guide92
Quality
79%
Does it follow best practices?
Impact
94%
1.40xAverage score across 10 eval scenarios
Optimize this skill with Tessl
npx tessl skill review --optimize ./terraform/code-generation/skills/terraform-style-guide/SKILL.mdFile organization and version constraints
terraform.tf exists
0%
100%
providers.tf separate
0%
100%
Pessimistic version constraint
100%
100%
Separate variables and outputs files
100%
100%
locals.tf separate
100%
100%
Naming conventions and block ordering
Singular resource names
65%
65%
Default to main
0%
100%
No resource type in name
100%
100%
Meta-arguments first
100%
100%
Lifecycle block last
0%
100%
Variable and output conventions
Variables alphabetical
0%
100%
Variables have type
100%
100%
Variables have description
100%
100%
Outputs alphabetical
100%
100%
Outputs have description
100%
100%
for_each preference and locals merge pattern
for_each for multiples
100%
100%
Map or set variable type
0%
100%
Count for conditional
100%
100%
Common tags via locals and merge
0%
0%
S3 security hardening and variables for configurable values
KMS encryption configured
100%
100%
Public access fully blocked
100%
100%
Versioning enabled
100%
100%
Bucket name uses variables
100%
100%
Equals signs aligned
100%
100%
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.