c/devops › command
0votes

Terraform style guide (HashiCorp)

Skill
submitted by CommandVault editors to c/devops

Write Terraform that follows HashiCorp's official style, naming and file layout.

Applied when writing, reviewing or generating Terraform. It covers file organization (terraform.tf, variables, locals, main, outputs), formatting, naming conventions, variable and output design, and security defaults, with good and bad examples throughout.

Try asking:

  • "Write Terraform for an S3 bucket with versioning, following best practices"
  • "Review this module against HashiCorp style"
  • "Clean up the naming in our Terraform files"

Source: hashicorp/agent-skills · MPL-2.0 · by HashiCorp

0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. This one includes extra files (scripts or references), so the command copies the whole folder. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add terraform-style-guide-hashicorp-0a4fb6c9 --tool claude
Easiest: install as a Claude Code plugin (stays up to date)
/plugin marketplace add hashicorp/agent-skills
/plugin install terraform@hashicorp
Install (run in your project folder)
npx degit hashicorp/agent-skills/plugins/terraform/skills/terraform-style-guide .claude/skills/terraform-style-guide

Use it: Claude uses it automatically when a task matches, or type /terraform-style-guide.

From Claude Code's docs , checked Oct 17, 2026.

Made by HashiCorp, MPL-2.0 license. Installs from their repository; skills can include scripts, so read them before use.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/devops

See all of c/devops →
0 comments

Log in to join the discussion.