CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

terraform-skill

Terraform infrastructure as code best practices

Quality

57%

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 ./skills/terraform-skill/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

60%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.

The body is a strong, well-structured core: concrete code, decision matrices, and clear workflows covering naming, testing, structure, and version management. Its two real defects are broken progressive disclosure — every promised detailed guide is missing from the bundle — and moderate internal duplication.

Suggestions

Create the referenced bundle files (references/testing-frameworks.md, module-patterns.md, ci-cd-workflows.md, security-compliance.md, quick-reference.md) or remove all 'For detailed X, see' pointers and the Detailed Guides section; as shipped, every deep reference is a dead end.

Merge the duplicate singleton-'this' explanation (naming section and Singleton Resources) and fold 'Version-Specific Guidance' into the 'Modern Terraform Features' table to cut redundancy.

Add explicit failure-handling steps to the CI/CD and testing workflows (e.g. what to do when terraform plan shows unexpected destroys, or when validate/tflint fails) to close the feedback-loop gap.

DimensionReasoningScore

Conciseness

The body is dense with opinionated, non-obvious guidance (singleton 'this' naming, deletion-ordering via try() in locals, count vs for_each migration rationale) with little filler. However, the singleton 'this' convention is explained twice (naming section plus 'Singleton Resources') and 'Modern Terraform Features' overlaps with 'Version-Specific Guidance' on the 1.6/1.7 material, so it fits 'mostly efficient but could be tightened' rather than level 4.

3 / 5

Actionability

Guidance is mostly executable and copy-paste ready: full HCL examples for resource ordering, variables, for_each patterns, version constraints, plus concrete commands (trivy config ., checkov -d ., terraform init -upgrade) and decision matrices mapping situation to tool. Minor gaps keep it below level 5: several snippets use '# ...' elisions and the Terraform MCP step ('Search provider docs → Get resource schema') is process-level rather than a runnable command.

4 / 5

Workflow Clarity

Multi-step processes are clearly sequenced with checkpoints: CI stages Validate → Test → Plan ('generate and review execution plan') → Apply ('with approvals for production'), the update workflow (init → init -upgrade → plan), and the pre-test checklist ('Before generating test code'). It stays at level 4 because explicit error-recovery/feedback loops (what to do when validation or plan review fails) are absent.

4 / 5

Progressive Disclosure

The body clearly signals one-level-deep references ('For detailed X, see: Testing Frameworks Guide', 'Module Patterns', 'CI/CD Workflows Guide', 'Security & Compliance', 'Quick Reference') and states 'Claude will load it on demand' — but none of these files exist: the bundle contains no references/, scripts/, or assets/ directories at all. Navigation is broken in practice, matching the level-2 anchor (references buried/ineffective) rather than level 3, whose references at least exist.

2 / 5

Total

13

/

20

Passed

Description

40%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.

The description correctly anchors on the Terraform domain but is a bare category label: it states no concrete capabilities and no usage triggers. A user asking about OpenTofu, modules, or IaC testing would not reliably activate it.

Suggestions

Add concrete capabilities drawn from the body, e.g. 'Guides testing (terraform test, Terratest), module structure, count/for_each patterns, CI/CD, and state/version management for Terraform and OpenTofu'.

Append an explicit trigger clause: 'Use when creating, reviewing, refactoring, or testing Terraform/OpenTofu configurations, modules, or CI/CD pipelines'.

Include the natural variations users say — OpenTofu, IaC, .tf files, module patterns — so distinctiveness and trigger coverage both improve.

DimensionReasoningScore

Specificity

The description names the domain ("Terraform infrastructure as code") but the only stated capability is the generic "best practices" — no concrete actions appear, unlike the body which covers testing, modules, and CI/CD. This matches the anchor 'Names the domain but actions are minimal or generic' rather than level 3, which requires 1-2 concrete actions.

2 / 5

Completeness

There is no 'Use when...' clause or any equivalent trigger guidance, which caps completeness at 3 per the rubric; additionally the 'what' is vague since 'best practices' is a category label rather than a description of what the skill does. This matches anchor 2 ('Has a vague what and no when') better than anchor 3, whose example lists concrete actions.

2 / 5

Trigger Term Quality

"Terraform" and "infrastructure as code" are natural, strong trigger terms users would say, but common variations are missing: OpenTofu, modules, state, .tf files, or the 'IaC' abbreviation. Fits 'Some relevant keywords but missing common variations or synonyms', not level 4 which requires broader coverage.

3 / 5

Distinctiveness Conflict Risk

"Terraform" is a clear niche keyword with minimal conflict risk against unrelated skills. Minor gaps remain — OpenTofu (which the body explicitly supports) is absent, so OpenTofu-only queries may not trigger — keeping it at 'Mostly distinct; minor overlap risk' rather than level 5.

4 / 5

Total

11

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (515 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

skills/terraform-skill/SKILL.md

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.