---
title: "Terraform style guide: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/hashicorp-terraform-style-guide/
description: "Applies Terraform HCL organization, naming, variable documentation and formatting conventions."
---

# Terraform style guide: review, setup & limitations · Undominated.ai

> Applies Terraform HCL organization, naming, variable documentation and formatting conventions.

[← Explore all skills](/skills/)

DEVELOPMENT WORKFLOW / HashiCorp

# Terraform style guide

Applies Terraform HCL organization, naming, variable documentation and formatting conventions.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-style-guide)

SOURCE REVIEW

 Reviewed 2026-10-07
 Evidence 3 linked sources
 Publisher HashiCorp
 Licence [MPL-2.0 ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE)
 Revision f706481af9b8
 [Read what was—and wasn’t—checked ↓](#review)

“Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.”

 [HashiCorp · upstream description ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-style-guide/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - Shows separation of providers, variables, resources and outputs, with sensitivity and version-control guidance.
- Ends with formatting and validation checks while preserving dependency-lock and module constraints.

### A good fit for

 - Reviewing generated HCL before commit
- Matching an existing module to HashiCorp conventions

### Weigh up before choosing

 - The resource snippets omit project-specific required values and are not deployment-ready. Suggested versions and latest-provider guidance do not authorize an upgrade.
- Reviewed definition and licence are pinned; installation and real-task outcomes for this resource were not tested.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - plugins/terraform/skills/terraform-style-guide/SKILL.md (complete frontmatter and body)
- https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE (applicable licence text)

### Our findings

 - Shows separation of providers, variables, resources and outputs, with sensitivity and version-control guidance.
- Ends with formatting and validation checks while preserving dependency-lock and module constraints.
- Writes and formats Terraform files and invokes validation; any later plan or apply uses the host account and provider permissions.

### Not established by this review

 - Host discovery, task execution and model quality were not tested.
- Referenced helpers, sibling plugins and external service operations were not exhaustively audited or executed.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md)

DOCUMENTED COMMAND

 npx skills@1.7.1 add https://github.com/hashicorp/agent-skills/tree/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-style-guide --skill terraform-style-guide Copy command ↗

Copying does not execute this command. It may retrieve a newer version than the reviewed source.

 - Use the exact reviewed directory/revision and select the intended host/project scope in Skills CLI.
- Retain all supporting files; separately configure companion skills, runtimes and service credentials named in the definition.
- Review the resulting diff and use an isolated target before any migration, deployment, load test or warehouse operation.

### Before you start

 - Terraform and the project provider dependencies; preserve the existing lockfile and supported version policy.

### Compatibility

Agent Skills-compatible hosts

### Host-mediated code, files and tools

 - Writes and formats Terraform files and invokes validation; any later plan or apply uses the host account and provider permissions.
- The host enforces permissions; installing instructions does not itself create a sandbox.

### Cost model

Source is available under the stated licence. Model usage, compute and connected services can incur charges.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Skill definition ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-style-guide/SKILL.md) Checked 2026-10-07 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-style-guide/SKILL.md Supports: summary, whySelected, limitations, access, review
- [Repository licence ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE) Checked 2026-10-07 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE Supports: Redistribution terms
- [Install instructions ↗](https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md) Checked 2026-10-07 https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md Supports: Documented install path

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### API and Interface Design ↗ Designs stable API contracts, consistent errors and retry-safe idempotency behavior.](/skills/addyosmani-api-and-interface-design/)[### Constraint-driven development ↗ Records project quality constraints with measured baselines, enforcement commands and reviewable exceptions.](/skills/addyosmani-constraint-driven-development/)[### Dispatching Parallel Agents ↗ Splits independent investigations into bounded agent assignments and checks their integration afterward.](/skills/obra-dispatching-parallel-agents/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
