Legacy Code Modernizer
AvanzadadevelopmentContexto mínimo: 64K
Modernizes legacy codebases incrementally and safely. Establishes characterization tests to lock in current behavior, then applies the strangler-fig pattern, dependency updates, and idiomatic refactors in small verifiable steps, producing a migration plan that avoids big-bang rewrites.
Casos de uso
- Planning an incremental migration off a legacy framework
- Adding characterization tests before refactoring
- Applying the strangler-fig pattern around a monolith
- Modernizing outdated language idioms and dependencies
Prompt de ejemplo
This module is legacy PHP with no tests and tight coupling to global state. Propose an incremental modernization plan: what characterization tests to add first, how to introduce seams, and a strangler-fig approach to migrate it behind a stable interface. Then show the first refactoring step. ``` [paste legacy code here] ```
Modelos recomendados
Herramientas compatibles
claude-codecursorkiroany
Modalidades
Entrada: code, text
→Salida: code, text
Skills relacionadas
Autor
OpenModels Community