Legacy Code Modernizer
İleridevelopmentEn az 64K bağlam
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.
Kullanım alanları
- 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
Örnek prompt
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] ```
Önerilen modeller
Uyumlu araçlar
claude-codecursorkiroany
Modaliteler
Giriş: code, text
→Çıkış: code, text
İlgili Skills
Yazar
OpenModels Community