Transform monolithic Terraform configurations into reusable, maintainable modules following HashiCorp's module design principles and community best practices.
Install
npx skills add hashicorp/agent-skills --skill refactor-modulenpx skills add hashicorp/agent-skills --skill refactor-module -a claude-code -gnpx skills add hashicorp/agent-skills --skill refactor-module -a codex -ggemini skills install https://github.com/hashicorp/agent-skills.git --path plugins/terraform/skills/refactor-modulegh skill install hashicorp/agent-skills refactor-modulegit clone --depth 1 https://github.com/hashicorp/agent-skills /tmp/hashicorp__agent-skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/hashicorp__agent-skills/plugins/terraform/skills/refactor-module ~/.claude/skills/refactor-module # Claude Code
cp -R /tmp/hashicorp__agent-skills/plugins/terraform/skills/refactor-module ~/.agents/skills/refactor-module # Codex, Cursor, Gemini CLI, Copilot, OpenCode