deprecation-and-migration

Plans and executes deprecation and migration of legacy systems, APIs, and features.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/CodeCrafterAdi2006/Ink-and-Code --skill deprecation-and-migration-codecrafteradi2006
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/CodeCrafterAdi2006/Ink-and-Code/tree/main/Skills/deprecation-and-migration
Command: npx skills add https://github.com/CodeCrafterAdi2006/Ink-and-Code --skill deprecation-and-migration-codecrafteradi2006

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering teams accumulate legacy code, zombie systems, and duplicate implementations that silently increase maintenance cost, security risk, and onboarding friction. This Skill provides a disciplined process for deciding what to deprecate, migrating consumers safely, and fully removing old code. ## Core Features & Use Cases - Deprecation Decision Framework: A structured checklist to evaluate whether a system still provides unique value, quantify consumer impact, and compare migration cost against ongoing maintenance cost. - Migration Patterns: Concrete implementations of the Strangler Pattern, Adapter Pattern, and feature-flag-based migration for incremental, low-risk transitions. - Advisory vs Compulsory Deprecation: Guidance on choosing between soft nudges and hard deadlines, including announcement templates and migration documentation standards. - Use Case: Your team built a replacement for a legacy task service. Use this Skill to plan the rollout: write the deprecation notice, migrate consumers one at a time behind a feature flag, verify zero remaining usage via logs, and then delete the old code, tests, and docs. ## Quick Start Ask the AI to help plan the deprecation of an old API or service, including a migration guide and incremental rollout strategy for existing consumers.

Frequently Asked Questions about deprecation-and-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deprecate an API without breaking existing consumers?

Deprecate an API by first shipping a production-proven replacement, then publishing a deprecation notice with a migration guide. Migrate consumers incrementally using the Strangler Pattern or feature flags, and only remove the old API after metrics confirm zero active usage.

What is the difference between advisory and compulsory deprecation?

Advisory deprecation uses warnings and documentation so users migrate on their own timeline, while compulsory deprecation sets a hard removal deadline. Default to advisory; use compulsory only when security risk or maintenance cost justifies forcing migration, and always provide tooling and support.

How do I migrate users from an old system to a new one?

Migrate users incrementally, one consumer at a time: identify touchpoints, switch to the replacement, verify behavior with tests, and remove old references. Patterns like the Strangler approach, interface adapters, and feature flags let you shift traffic gradually instead of all at once.

When should I deprecate code instead of maintaining it?

Deprecate code when it no longer provides unique value, a working replacement exists, and the long-term maintenance cost exceeds the one-time migration cost. Compare migration effort against two to three years of ongoing maintenance, security patching, and onboarding overhead.

What is zombie code and how should I handle it?

Zombie code is unmaintained code with no owner that still has active consumers, often showing stale dependencies and failing tests. Either assign an owner and maintain it properly, or deprecate it with a concrete migration plan; leaving it in limbo accumulates security and compatibility risk.