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.

63

Quality

75%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/terraform/skills/terraform-style-guide/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

71%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, highly actionable style guide whose concrete HCL examples and tooling commands make it immediately usable. Its weaknesses are a dangling reference to a nonexistent SECURITY.md, duplicated version-pinning content, and validation guidance that is siloed rather than woven into the generation workflow.

Suggestions

Fix the progressive_disclosure gap: either create references/SECURITY.md with the promised guidance (encrypting resources, preventing sensitive data in state, secure configurations) or inline a concise security section and remove the dangling reference.

Tighten conciseness by removing the duplicated terraform/required_providers block — keep it once (Version Pinning) and reference it from the Example Structure, and drop redundant bullets like 'Be specific and meaningful'.

Improve workflow_clarity by integrating validation into the Code Generation Strategy as an explicit step (generate → run `terraform fmt -recursive` and `terraform validate` → fix and re-run before committing), turning the checklist into a feedback loop.

DimensionReasoningScore

Conciseness

The body is mostly efficient and example-driven, but the entire terraform/required_providers block is duplicated verbatim in the Example Structure and Version Pinning sections, and bullets like "Be specific and meaningful" restate adjacent rules, matching anchor 3's 'mostly efficient but could be tightened' rather than anchor 4's minor trimmings.

3 / 5

Actionability

It is fully executable: numerous copy-paste-ready HCL blocks, bad/good naming contrasts, concrete commands ("terraform fmt -recursive", "terraform validate", tflint, checkov/tfsec), and a file-organization table cover the common cases, matching anchor 5.

5 / 5

Workflow Clarity

The five-step "Code Generation Strategy" gives a clear sequence, and the Validation Tools section and Code Review Checklist supply checkpoints, but validation is presented in separate sections rather than an integrated validate-fix-retry loop within the workflow, matching anchor 4 rather than anchor 5.

4 / 5

Progressive Disclosure

Section structure and headers are good, but the sole external reference — "Refer to SECURITY.md" — points to a file that does not exist anywhere in the bundle (no references/ directory), making navigation to the security guidance impossible; this goes beyond anchor 4's 'minor organization gaps' and matches anchor 3's poorly functioning reference structure.

3 / 5

Total

15

/

20

Passed

Description

78%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A concise, well-formed description that names a clear domain and specific actions with an explicit 'Use when' trigger clause. Its main limitation is narrow trigger coverage — it misses natural variations like ".tf files", HCL, or infrastructure-as-code phrasing.

DimensionReasoningScore

Specificity

"Generate Terraform HCL code following HashiCorp's official style conventions" plus "writing, reviewing, or generating" names the domain and several concrete actions with only minor coverage gaps (formatting/validation unmentioned), matching anchor 4; it exceeds anchor 3 (1-2 actions) but is not comprehensive enough for anchor 5.

4 / 5

Completeness

It clearly answers both what ("Generate Terraform HCL code following HashiCorp's official style conventions") and when ("Use when writing, reviewing, or generating Terraform configurations"), but the when-clause could be more explicit with concrete trigger phrases, matching anchor 4 rather than anchor 5.

4 / 5

Trigger Term Quality

"Use when writing, reviewing, or generating Terraform configurations" covers natural user phrasings well, but omits common variations like ".tf files", "HCL", "modules", or "infrastructure as code", so it fits anchor 4 rather than anchor 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

Terraform/HCL generation is a clear niche with distinct triggers ("Terraform configurations") and minimal overlap risk with other skills; it matches anchor 5's clear-niche description.

5 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
hashicorp/agent-skills
Reviewed

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.