Terraform Skills

SkillFiles & storage

Terraform infrastructure-as-code skills from HashiCorp. Covers HCL code generation with style conventions, testing with .tftest.hcl files, and module refactoring. Use when writing, reviewing, generating, or refactoring Terraform configurations, creating tests, or designing modules.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Terraform Skills skill

What this skill tells your AI

The instructions your AI receives, as published by georgekhananaev/claude-skills-vault in .claude/skills/terraform/SKILL.md and read by ahel’s review.

HashiCorp's official Terraform agent skills for infrastructure-as-code development.

Available Sub-Skills

SkillFileUse When
Style Guideterraform-style-guide-SKILL.mdWriting or reviewing Terraform HCL code
Testingterraform-test-SKILL.mdCreating .tftest.hcl test files, writing assertions, mocking
Module Refactoringrefactor-module-SKILL.mdTransforming monolithic configs into reusable modules

Quick Reference

File Organization

FilePurpose
terraform.tfVersion requirements
providers.tfProvider configurations
main.tfPrimary resources
variables.tfInput variables (alphabetical)
outputs.tfOutput values (alphabetical)
locals.tfLocal values

Key Conventions

  • Two spaces per indent, no tabs
  • Lowercase with underscores for names
  • Every variable needs type and description
  • Every output needs description
  • Prefer for_each over count
  • Never hardcode credentials

Validation

terraform fmt -recursive
terraform validate

Source

From hashicorp/agent-skills - terraform code-generation and module-generation plugins.

Signals

GitHub stars
28
Forks
10
Last commit
Aug 2026
Hacker News mentions
20
Advanced
Catalog kind
skill
Gateway key
terraform-georgekhananaev
Source
github.com/georgekhananaev/claude-skills-vault