Skip to content
backnotprop avatar

Principle Migrate Callers Then Delete Legacy Apis

Principle for replacing internal APIs by migrating every caller and deleting the old API in one pass.

CCM score
63 of 100
skills.sh installs
13.3K
GitHub stars
5.5K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers introducing a new internal API while old callers still exist, without keeping compatibility layers
  • Directs updating tests to assert the new contract and deleting tests that only protect pre-refactor internals
  • Applies when no external users depend on backward compatibility and the project can absorb coordinated breaking changes
  • Designed for simplification or refactor initiatives where the new API is part of a wider cleanup

Install

$ npx -y skills add backnotprop/pstack --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/backnotprop/pstack
First seen
Nov 30, 2026

More from backnotprop/pstack

All 44

Similar to Principle Migrate Callers Then Delete Legacy Apis