
Description
deprecation-and-migration is an agent skill from Addy Osmani's agent-skills collection for removing old systems, APIs and features, and for moving users safely from an old implementation to a new one. Its starting point is that code is a liability: every line costs maintenance in bugs, dependency updates, security patches and onboarding. Deprecation is the discipline of removing code that no longer earns its keep, and migration is the process of moving the people who depend on it. The skill notes that most engineering organizations are good at building things and few are good at removing them. It applies when replacing an old system, API or library with a new one, sunsetting a feature that is no longer needed, consolidating duplicate implementations, removing dead code that nobody owns but everybody depends on, planning the lifecycle of a new system, and deciding whether to keep maintaining a legacy system or invest in migrating it. The skill is listed on skills.sh, with its security audit results shown there.…
Highlights
- Planned retirement of old systems and APIs
- Safe migration of users to the new version
- Consolidation of duplicate implementations
- Deprecation planned from the design stage
Ratings & Reviews
No ratings yet
Be the first to rate deprecation-and-migration.
People also visit

principle-migrate-callers-then-delete-legacy-apis
Apply when introducing a new internal API while old callers still exist

legacy-modernizer
Designs incremental migration strategies, identifies service boundaries

remove-technical-debt
Guided journey from a large aged codebase everyone fears to touch to one

principle-outcome-oriented-execution
Apply during planned rewrites and migrations with explicit phase boundaries

tool-rename-deprecation
Ensure renamed built-in tool references preserve backward compatibility
deprecation-and-migration FAQ
What does the deprecation-and-migration skill do?
It guides removing old systems, APIs and features, and migrating their users to the replacement safely.
How do I install it?
Run: npx skills add https://github.com/addyosmani/agent-skills --skill deprecation-and-migration
Why does code need to be removed?
The skill says every line has ongoing maintenance cost, so code that no longer earns its keep should be retired.
When should I plan a deprecation?
From the design stage of a new system, and whenever an old API, library or feature is being replaced or is no longer needed.
What security checks has it passed?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best deprecation-and-migration alternatives?
Popular alternatives to deprecation-and-migration include principle-migrate-callers-then-delete-legacy-apis, legacy-modernizer and remove-technical-debt. See all deprecation-and-migration alternatives












