Lightlines
By backnotprop

principle-migrate-callers-then-delete-legacy-apis

backnotprop2.6k installs

Refactor internal APIs without legacy wrappers.

What it does

Guides coordinated internal API refactors so callers move to the new contract without leaving compatibility layers behind.

When to use it

Use when introducing an internal API during simplification or refactoring, provided no external users need backward compatibility and the project can absorb coordinated breaking changes.

How to use it

It changes how the agent refactors internal APIs by migrating callers, removing the old API, and updating tests to assert the new contract.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.