Refactor an existing Terraform module for better organization and maintainability
<module_path> [--organize|--optimize|--split]module/# Refactor Terraform Module Refactor an existing Terraform module. Arguments: $ARGUMENTS ## CRITICAL: State-Preserving Refactoring **Goal: After refactoring, `terraform plan` MUST show NO CHANGES** Refactoring improves code quality WITHOUT changing infrastructure. Every refactor must: 1. Run `terraform plan` before refactoring (baseline) 2. Make code changes 3. Run `terraform plan` after refactoring 4. Verify output shows "No changes" or equivalent changes only If plan shows changes, the refactoring is incorrect and must be adjusted. ## Before Refactoring 1. Run `terraform plan` to e...
`/project:refactor.md <REFACTOR_SCOPE>`
安全で段階的なコードリファクタリングを実施し、SOLID 原則の遵守状況を定量的に評価します。技術的負債を可視化し、改善の優先順位を明確にします。
Implémente une refactorisation de code sûre et progressive, évalue quantitativement le respect des principes SOLID. Visualise la dette technique et clarifie les priorités d'amélioration.
Implementa refactorización de código segura y gradual, evalúa cuantitativamente la adherencia a los principios SOLID. Visualiza la deuda técnica y clarifica las prioridades de mejora.
안전하고 단계적인 코드 리팩터링을 실시하며, SOLID 원칙의 준수 상황을 정량적으로 평가합니다. 기술적 부채를 가시화하고, 개선의 우선순위를 명확히 합니다.