terraform-module-generation
v1.0.0Terraform module generation and refactoring skills for Claude Code, including module design and Terraform Stacks.
by HashiCorpMPL-2.0790updated 5 days ago
Source
git clone https://github.com/hashicorp/agent-skillsClone the source, then follow the repository's marketplace instructions for your runtime. The plugin root is terraform/module-generation/ inside the repository.
Layout
├── .claude-plugin/plugin.json├── skills/refactor-module/SKILL.md├── skills/terraform-stacks/SKILL.md└── .mcp.json
Skills2
Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.
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.
MCP servers1
- command
- docker
- args
- run -i --rm -e TFE_TOKEN -e TFE_ADDRESS hashicorp/terraform-mcp-server
- env.TFE_TOKEN
- ${TFE_TOKEN}
- env.TFE_ADDRESS
- ${TFE_ADDRESS}
Manifests1
{
"name": "terraform-module-generation",
"version": "1.0.0",
"description": "Terraform module generation and refactoring skills for Claude Code, including module design and Terraform Stacks.",
"author": {
"name": "HashiCorp",
"url": "https://github.com/hashicorp"
},
"homepage": "https://developer.hashicorp.com/terraform/language/modules",
"repository": "https://github.com/hashicorp/agent-skills",
"license": "MPL-2.0",
"keywords": [
"terraform",
"modules",
"infrastructure",
"iac",
"stacks",
"refactoring"
],
"mcpServers": {
"terraform": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"TFE_TOKEN",
"-e",
"TFE_ADDRESS",
"hashicorp/terraform-mcp-server"
],
"env": {
"TFE_TOKEN": "${TFE_TOKEN}",
"TFE_ADDRESS": "${TFE_ADDRESS}"
}
}
}
}