Agent skills for Terraform projects
102 open-license skills in our database are built for Terraform, and 352 skills match a typical Terraform project. Below: what coding agents get wrong on Terraform, 3 picks to start with, and where each agent loads them.
Updated 2026-10-18. Tags used for this page: terraform.
What coding agents get wrong in Terraform
Agents hard-code values that belong in variables, skip remote state and locking, and write one giant main.tf. They mix provider versions and use arguments a provider removed.
Skills that help
HashiCorp's own skills for style, tests, modules and policy, plus skills for safe plan and apply habits.
3 picks to start with
1. terraform-style-guide
Generate Terraform HCL code following HashiCorp's official style conventions and best practices.
npx skills add hashicorp/agent-skills --skill terraform-style-guide
2. terraform-test
Comprehensive guide for writing and running Terraform tests.
npx skills add hashicorp/agent-skills --skill terraform-test
3. terraform-best-practices
Terraform and Infrastructure as Code optimization guidelines from Terramate.
npx skills add terramate-io/agent-skills --skill terraform-best-practices
Get the list for your exact project
These 3 fit Terraform in general. The scan box opens with a sample Terraform description you can edit. A scan reads your repo or description, shows the match count and 2 picks free, and the full curated list (up to 30 picks with install commands, reasons and overlap notes) costs $9 once.
Where each agent loads Terraform skills
- Claude Code: project folder
.claude/skills/, install flag--agent claude-code - Cursor: project folder
.cursor/skills/ or .agents/skills/, install flag--agent cursor - Codex: project folder
.agents/skills/, install flag--agent codex - GitHub Copilot: project folder
.github/skills/ or .agents/skills/, install flag--agent github-copilot
npx skills add owner/repo --skill skill-name --agent claude-code
How we count
We match project tags against 99,639 skills from 7,206 public GitHub repos (refreshed 2026-10-18). A skill built for another framework or language is left out, and so is a skill below our relevance floor. The picks on this page come from the ranked list for these tags. We favor broad practice skills over single-task ones. Licenses are shown as each repo declares them. Read a skill before you install it.
Questions
What agent skills should I use for Terraform?
Start with a broad practice skill built for Terraform, then add skills for testing and review. In our database 102 skills are tagged for Terraform and 352 skills match a typical Terraform project. The picks on this page are a place to start. A scan of your repo ranks the full list for your tasks.
Do these work with OpenTofu?
Most do. The database lists an OpenTofu skill (tofu), and style and module skills apply to both.
Where do Terraform skills go for Claude Code, Cursor, Codex and Copilot?
Claude Code reads .claude/skills/, Cursor reads .cursor/skills/ or .agents/skills/, Codex reads .agents/skills/, and GitHub Copilot reads .github/skills/ or .agents/skills/. The install command takes --agent with the agent name and copies the skill folder there.
Why 3 picks here?
The right list depends on your exact stack and tasks. Run a free scan for your project to see its match count and 2 picks. The full curated list is $9 once.
Related stacks
Kubernetes skillsGo skills.NET and C# skills
All stacks
Next.js skillsReact skillsPython skillsFastAPI skillsDjango skillsReact Native and Expo skillsSupabase skillsRust skillsGo skillsdata science (Python, Jupyter, pandas) skillsVue and Nuxt skillsAngular skillsSvelte and SvelteKit skillsTailwind CSS skillsNode.js and Express skillsLaravel skillsRuby on Rails skillsSpring Boot skillsJava skills.NET and C# skillsC++ skillsiOS and SwiftUI skillsSwift skillsAndroid and Jetpack Compose skillsFlutter and Dart skillsTerraform skillsKubernetes skillsMongoDB skillsPyTorch skillsHugging Face skillsApache Airflow skillsdbt skillsShopify skillsWordPress skillsSalesforce skillsn8n skillsSolidity and smart contracts skills
By agent
Skills for Claude CodeSkills for CursorSkills for CodexSkills for GitHub Copilot