DEVELOPMENT WORKFLOW / HashiCorp
Terraform style guide
Applies Terraform HCL organization, naming, variable documentation and formatting conventions.
“Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.”
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.
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.
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 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.
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Skill definition ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/plugins/terraform/skills/terraform-style-guide/SKILL.md
Supports: summary, whySelected, limitations, access, review
- Repository licence ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/LICENSE
Supports: Redistribution terms
- Install instructions ↗Checked
https://github.com/hashicorp/agent-skills/blob/f706481af9b8fedb66de909f6243ad29601afa0c/README.md
Supports: Documented install path