Index live · v1.3.0 · MAY 26 2026

Terraform Module Generation

A-rank

Create and refactor reusable Terraform modules with proper structure.

Claude CodeCodexCursorMulti Platform
630stars
Updated 1 month ago
10contributors

Install This Skill

npx skills add hashicorp/terraform-module-generation

Plugin bundle — 12 sub-skills

upstream is a plugin / umbrella

This catalog entry is a plugin / umbrella that ships 12 individual SKILL.md files. Each one is listed below — click through to read the full markdown on GitHub.

azure-verified-modules

Azure Verified Modules (AVM) requirements and best practices for developing certified Azure Terraform modules. Use when creating or reviewing Azure modules that need AVM certification.

terraform/code-generation/skills/azure-verified-modules

terraform-search-import

Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

terraform/code-generation/skills/terraform-search-import

terraform-style-guide

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

terraform/code-generation/skills/terraform-style-guide

terraform-test

Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test syntax and execution.

terraform/code-generation/skills/terraform-test

refactor-module

Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.

terraform/module-generation/skills/refactor-module

terraform-stacks

Comprehensive guide for working with HashiCorp Terraform Stacks. Use when creating, modifying, or validating Terraform Stack configurations (.tfcomponent.hcl, .tfdeploy.hcl files), working with stack components and deployments from local modules, public registry, or private registry sources, managing multi-region or multi-environment infrastructure, or troubleshooting Terraform Stacks syntax and structure.

terraform/module-generation/skills/terraform-stacks

new-terraform-provider

Use this when scaffolding a new Terraform provider.

terraform/provider-development/skills/new-terraform-provider

provider-actions

Implement Terraform Provider actions using the Plugin Framework. Use when developing imperative operations that execute at lifecycle events (before/after create, update, destroy).

terraform/provider-development/skills/provider-actions

provider-docs

Create, update, and review Terraform provider documentation for Terraform Registry using HashiCorp-recommended patterns, tfplugindocs templates, and schema descriptions. Use when adding or changing provider configuration, resources, data sources, ephemeral resources, list resources, functions, or guides; when validating generated docs; and when troubleshooting missing or incorrect Registry documentation.

terraform/provider-development/skills/provider-docs

provider-resources

Implement Terraform Provider resources and data sources using the Plugin Framework. Use when developing CRUD operations, schema design, state management, and acceptance testing for provider resources.

terraform/provider-development/skills/provider-resources

provider-test-patterns

>- Terraform provider acceptance test patterns using terraform-plugin-testing with the Plugin Framework. Covers test structure, TestCase/TestStep fields, ConfigStateChecks with custom statecheck.StateCheck implementations, plan checks, CompareValue for cross-step assertions, config helpers, import testing with ImportStateKind, sweepers, and scenario patterns (basic, update, disappears, validation, regression), and ephemeral resource testing with the echoprovider package. Use when writing, reviewing, or debugging provider acceptance tests, including questions about statecheck, plancheck, TestCheckFunc, CheckDestroy, ExpectError, import state verification, ephemeral resources, or how to structure test files.

terraform/provider-development/skills/provider-test-patterns

run-acceptance-tests

Guide for running acceptance tests for a Terraform provider. Use this when asked to run an acceptance test or to run a test with the prefix `TestAcc`.

terraform/provider-development/skills/run-acceptance-tests
Indexed from hashicorp/agent-skills/tree/main/terraformfetched May 24, 2026

Quick Stats

Source repo · this path
Stars630
Forks75
Last commit2026-04-25
Contributors10
LicenseMPL-2.0
CategoryDevOps
View on GitHub

Tags

terraformmodulesiacinfrastructure