deprecation-and-migration

Plans and executes deprecation of legacy systems with incremental migration patterns.

Updated May 19, 2026
One-click install
npx skills add https://github.com/richardnguyen0715/agent-sharing --skill deprecation-and-migration-richardnguyen0715
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/richardnguyen0715/agent-sharing/tree/main/.github/skills/deprecation-and-migration
Command: npx skills add https://github.com/richardnguyen0715/agent-sharing --skill deprecation-and-migration-richardnguyen0715

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams struggle to remove old systems, APIs, and features safely because consumers depend on undocumented behaviors, replacements are incomplete, and migrations stall without tooling or deadlines. ## Core Features & Use Cases - Deprecation Decision Framework: Evaluate whether to maintain or sunset a system using structured questions about value, consumers, replacement readiness, and maintenance cost. - Migration Patterns: Apply the Strangler Pattern, Adapter Pattern, and feature-flag migration to move consumers incrementally from old to new implementations. - Advisory vs Compulsory Deprecation: Choose the right deprecation type, write deprecation notices with migration guides, and verify zero usage before removal. - Use Case: When replacing a legacy task service, use this Skill to announce the deprecation with a migration guide, migrate consumers one at a time behind a feature flag, verify zero active usage via logs, and then fully remove the old code, tests, and documentation. ## Quick Start Ask the AI to plan the deprecation of a legacy API and produce a migration guide with an incremental rollout strategy for all current 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 announcing the deprecation with a migration guide and tooling. Migrate consumers incrementally using feature flags or the strangler pattern, and only remove the old API after metrics confirm zero active usage.

What is the strangler pattern for system migration?▼

The strangler pattern runs old and new systems in parallel while routing traffic incrementally from old to new. You start with a small canary percentage, scale to full traffic on the new system, and remove the old system once it handles zero requests.

When should deprecation be compulsory instead of advisory?▼

Use compulsory deprecation only when the old system has security issues, blocks progress, or has unsustainable maintenance cost. It requires a hard deadline plus migration tooling, documentation, and support; advisory deprecation is the default otherwise.

How do I handle zombie code that nobody owns?▼

Zombie code with active consumers but no owner must either get an assigned maintainer or a concrete deprecation and migration plan. Leaving it unmaintained accumulates security vulnerabilities and compatibility debt.

Why do users not migrate after a deprecation announcement?▼

Users rarely migrate on their own because of Hyrum's Law: they depend on undocumented behaviors the replacement may not replicate. The team owning the deprecated system must provide migration tooling, documentation, and incentives, or perform the migration themselves.