cursor avatar

Principle Migrate Callers Then Delete Legacy Apis

Replace legacy internal APIs in one wave by migrating every caller and deleting the old version, with no compatibility shims.

CCM score
58 of 100
skills.sh installs
5.6K
GitHub stars
19.4K
last updated
Nov 25, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers migrating callers and removing the old API in the same change when introducing a new internal interface
  • Directs updating tests to assert the new contract and deleting tests that only protect pre-refactor implementation details
  • Applies when no external users depend on backward compatibility and the project can absorb coordinated breaking changes

Install

$ npx -y skills add cursor/plugins --skill principle-migrate-callers-then-delete-legacy-apis -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/cursor/plugins
First seen
Nov 25, 2026

More from cursor/plugins

All 93

Similar to Principle Migrate Callers Then Delete Legacy Apis