本文へスキップ
Kitbay
掲載依頼
スキル公式active

refactor-module

MPL-2.02026年11月4日 更新925GitHubスター

A HashiCorp skill for turning a large, single Terraform configuration into reusable modules.

スキルの内容

A HashiCorp skill for turning a large, single Terraform configuration into reusable modules. The agent analyses the existing code, groups related resources, extracts modules with clear input variables and outputs, migrates state to the new addresses, and adds documentation and tests, following HashiCorp's module design guidance and common community practice. It is aimed at configurations that have grown hard to maintain or reuse across environments.

できること

  • Split a monolithic configuration into modules
  • Define module variables and outputs
  • Migrate state after refactoring
  • Document and test extracted modules