CtrlK
BlogDocsLog inGet started
Tessl Logo

terraform-style-guide

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-guide
What are skills?

92

1.40x

Quality

79%

Does it follow best practices?

Impact

94%

1.40x

Average score across 10 eval scenarios

Optimize this skill with Tessl

npx tessl skill review --optimize ./terraform/code-generation/skills/terraform-style-guide/SKILL.md
SKILL.md
Review
Evals

Evaluation results

100%

45%

Create Terraform Configuration for an AWS VPC

File organization and version constraints

Criteria
Without context
With context

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%

93%

40%

Create Terraform Resources for a Web Application Stack

Naming conventions and block ordering

Criteria
Without context
With context

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%

100%

25%

Define Variables and Outputs for an AWS Lambda Module

Variable and output conventions

Criteria
Without context
With context

Variables alphabetical

0%

100%

Variables have type

100%

100%

Variables have description

100%

100%

Outputs alphabetical

100%

100%

Outputs have description

100%

100%

75%

25%

Create Terraform Resources for an Application Environment

for_each preference and locals merge pattern

Criteria
Without context
With context

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%

100%

Create Terraform Configuration for a Secure Data Storage Bucket

S3 security hardening and variables for configurable values

Criteria
Without context
With context

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%

Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

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.