Zum Inhalt springen
Kitbay
Einreichen
SkillOffiziellactive

refactor-module

MPL-2.0Aktualisiert am 4. Nov. 2026925GitHub-Sterne

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

Was der Skill vermittelt

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.

Funktionen

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