Skip to content

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

Apply when introducing a new internal API while old callers still exist. Migrate callers and delete the old API in the same wave instead of preserving compatibility layers.

5,041
installs
0 up / 0 down, score 0.00
votes
2,555
repo stars
Updated
less than a month ago
In the catalog since
7 Oct 2026
From
backnotprop/pstack
Get it through your agent npx skills add backnotprop/pstack@principle-migrate-callers-then-delete-legacy-apis

Skill instructions

Rendered from the published SKILL.md, 9 lines.

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