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

@openmodelsrun