Approved catalog listing
SKILL #4295
skillshunter.net
Home / Software & Development / Migrate Callers Then Delete Legacy APIs
Listing Approved Approved on: December 2, 2026

Migrate Callers Then Delete Legacy APIs

Update code to use a new API and remove the old one when there are no external compatibility constraints.

Rate this skill

No ratings yet

Editor's Note

Ensure that no external users depend on the legacy API before proceeding. Update tests to reflect the new API contract and remove tests that only verify old implementation details.

When to Use It

  • Refactoring internal APIs during a codebase simplification initiative
  • Removing deprecated APIs after ensuring all internal callers have been updated
  • Updating test suites to align with new API contracts

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md
---
name: principle-migrate-callers-then-delete-legacy-apis
description: When replacing an internal API, migrate callers and delete the old one.
disable-model-invocation: true
---

# 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

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.