Legacy Code Modernizer
高级development最低上下文: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.
使用场景
- 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
示例提示词
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] ```
推荐模型
兼容工具
claude-codecursorkiroany
模态
输入: code, text
→输出: code, text
相关 Skills
作者
OpenModels Community