SuperAPI AI Directory

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

Coding & development

View repository

Updated 11-01 16:53

About this skill

Migrate Callers Then Delete Legacy APIs
  • Update tests to assert the new contract, and delete tests that only protect pre-refactor implementation details

When this applies:

  • No external users depend on backward compatibility
  • The project can absorb coordinated breaking changes
  • The new API is part of a simplification or refactor initiative