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.
npx skills add https://github.com/michael-denyer/pstack-claude --skill principle-migrate-callers-then-delete-legacy-apis
When we decide a new API is the right design, migrate callers and remove the old API in the same refactor wave instead of preserving compatibility layers.
Rule:
When this applies:
Keeping both old and new APIs creates dual-path complexity, slows cleanup, and makes the codebase feel append-only.
Take michael-denyer/principle-migrate-callers-then-delete-legacy-apis from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.