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.

85

1.19x
Quality

77%

Does it follow best practices?

Impact

97%

1.19x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Fix and improve this skill with Tessl

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

Quality

Content

65%

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

A highly actionable, well-organized style guide rich with executable HCL examples, concrete commands, and a review checklist. Its main gaps are a duplicated terraform block and siloed validation that isn't woven into the generation workflow, plus a dangling reference to a non-existent SECURITY.md.

Suggestions

Remove the verbatim-duplicated `terraform {}` block in 'Version Pinning' (reference the earlier example or keep only one) and drop the opener that restates the description.

Integrate validation as an explicit final step in 'Code Generation Strategy' (e.g. step 6: run `terraform fmt -recursive` and `terraform validate`, fix and re-run on failure) to create a real checkpoint/feedback loop.

Either add the referenced `SECURITY.md` to the bundle (e.g. in `references/`) or inline its security guidance and drop the dangling reference, so navigation resolves.

DimensionReasoningScore

Conciseness

The body is largely lean and assumes Claude's competence (no basic-concept padding), but the identical `terraform { required_version … required_providers … }` block is repeated verbatim in both 'Example Structure' and 'Version Pinning', and the opener restates the frontmatter description — tokens that do not earn their place, so it stops short of the 'every token earns its place' level 3.

2 / 3

Actionability

It provides numerous complete, executable, copy-paste-ready HCL examples plus concrete commands (`terraform fmt -recursive`, `terraform validate`) and named tools (tflint, checkov, tfsec), matching the 'fully executable code/commands; copy-paste ready' anchor.

3 / 3

Workflow Clarity

A clear 5-step 'Code Generation Strategy', a review checklist, and validation commands exist, but validation is siloed in a separate section rather than appearing as an explicit checkpoint inside the generation workflow, fitting 'sequence present but checkpoints missing or implicit' rather than the integrated-feedback-loop level 3.

2 / 3

Progressive Disclosure

Sections are well organized (not a wall of text), but the skill is a monolithic ~310-line single file and references a `SECURITY.md` that is not present in the bundle, so navigation is partly broken and the simple-skills (<50-line) exemption does not apply; this fits 'some structure but could be better organized; references present but not clearly signaled'.

2 / 3

Total

9

/

12

Passed

Description

90%

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, third-person description that clearly answers both what the skill does and when to use it, with strong trigger-term coverage and a distinct niche. Its only weakness is specificity: it describes one composite action rather than listing multiple concrete capabilities.

Suggestions

Expand the capability clause into concrete actions, e.g. 'Format, organize, name, and version-pin Terraform HCL configurations' to reach the multi-action specificity anchor.

Consider adding a common variation such as '.tf files' or 'infrastructure as code' to broaden natural-term coverage, though current coverage is already strong.

DimensionReasoningScore

Specificity

It names the domain and a concrete action ("Generate Terraform HCL code following HashiCorp's official style conventions and best practices") but does not enumerate multiple distinct concrete capabilities, so it lands at 'names domain and some actions, not comprehensive' rather than the multi-action level 3.

2 / 3

Completeness

It states both what it does ("Generate Terraform HCL code following…style conventions and best practices") and an explicit when ("Use when writing, reviewing, or generating Terraform configurations"), satisfying the explicit-trigger requirement that caps level 2 at 'when only implied'.

3 / 3

Trigger Term Quality

Natural terms a user would say are well covered — "Terraform HCL code", "Terraform configurations", and the writing/reviewing/generating verbs — matching the 'good coverage of natural terms' anchor rather than the 'some keywords but missing variations' level 2.

3 / 3

Distinctiveness Conflict Risk

The Terraform HCL niche is clear with distinct triggers, making it unlikely to fire for unrelated skills, fitting the 'clear niche with distinct triggers' anchor.

3 / 3

Total

11

/

12

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

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.