deprecation-and-migration

Plan and execute safe deprecation and migration of legacy systems.

2|Updated May 3, 2026
One-click install
npx skills add https://github.com/Rosetears520/aili-workflows --skill deprecation-and-migration-rosetears520
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/Rosetears520/aili-workflows/tree/main/skills/deprecation-and-migration
Command: npx skills add https://github.com/Rosetears520/aili-workflows --skill deprecation-and-migration-rosetears520

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams reduce technical and operational risk by planning and executing deprecations without breaking users, contracts, or production workflows.

Core Features & Use Cases

  • Deprecation decision framework: evaluates whether to maintain or remove a system based on unique value, consumer dependency, replacement availability, migration cost, and ongoing maintenance cost.
  • Safe migration process: builds a proven replacement, publishes clear deprecation notices, migrates consumers incrementally with verification, and removes legacy code only after confirming zero active usage.
  • Migration patterns: guides strategies such as the Strangler pattern, adapter pattern, and feature-flag migration to reduce downtime and behavioral mismatch.

Use Case: You are retiring an old API used by multiple services; you want to introduce a replacement, migrate each consumer one-by-one with verification, and finally remove the old code after metrics confirm no active usage.

Quick Start

Use the deprecation-and-migration skill to produce a deprecation plan that includes a replacement build checklist, a staged migration strategy, and a removal verification checklist for your legacy system.

Frequently Asked Questions about deprecation-and-migration

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

FAQPage Schema
How do I safely retire a legacy API with active consumers?

Safe API retirement requires a replacement-first approach: build the new API, publish deprecation notices, migrate consumers incrementally with verification, and remove the old API only after metrics confirm zero active usage.

What is the best way to plan a feature deprecation and migration?

Feature deprecation planning starts at design time by evaluating unique value, consumer dependency, and migration cost, then applies patterns like the Strangler pattern or feature flags to incrementally migrate users and reduce downtime.

When should I use the Strangler pattern for system migration?

The Strangler pattern is used for system migration when you need to incrementally replace legacy functionality by building new services alongside the old system, reducing behavioral mismatch and downtime during the transition.

How do I decide whether to maintain or remove a redundant service?

Decide whether to maintain or remove a redundant service by evaluating its unique value, consumer dependency, replacement availability, migration cost, and ongoing maintenance cost to determine if deprecation reduces long-term technical debt.

Can I use feature flags to manage API deprecation and rollout?

Feature flags manage API deprecation by allowing incremental consumer migration with verification, gating new behavior while old code remains active until metrics confirm zero active usage before final removal.

Why does removing legacy code before zero active usage break production?

Removing legacy code before confirming zero active usage breaks production because active consumers still depend on the old API or feature, making post-migration removal verification critical to avoid breaking contracts and workflows.