deprecation-and-migration

Plan and execute incremental deprecation and migration of legacy systems.

42|3|Updated May 8, 2026
One-click install
npx skills add https://github.com/KevinKE93/Dev_Agent_OPC --skill deprecation-and-migration-kevinke93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/KevinKE93/Dev_Agent_OPC/tree/main/dev-agent/skills/deprecation-and-migration
Command: npx skills add https://github.com/KevinKE93/Dev_Agent_OPC --skill deprecation-and-migration-kevinke93

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps teams plan and execute safe deprecation of legacy systems without breaking consumers, reducing long-term maintenance and security risk.

Core Features & Use Cases

  • Deprecation decision framework: Evaluate ongoing value, consumer dependency, availability of a replacement, migration cost, and maintenance cost of keeping the legacy system.
  • Migration process playbook: Build or validate a replacement, publish a deprecation notice with a migration guide, migrate consumers incrementally, then remove old code only after verifying zero active usage.
  • Common deprecation patterns: Use Strangler (parallel routing) and Adapter (interface translation) approaches, plus feature-flag based gradual rollout.
  • Risk detection and guardrails: Identifies red flags like “no replacement,” missing tooling, zombie code, and removal without measuring active consumers.

Quick Start

Ask the skill to draft a deprecation plan for your legacy API, including a migration notice, incremental rollout steps, and a checklist to verify zero active usage before removal.

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 a legacy API without breaking active consumers?

To deprecate a legacy API safely, you must follow a replacement-first workflow: build or validate a replacement, publish a deprecation notice with a migration guide, migrate consumers incrementally, and remove old code only after verifying zero active usage.

What is the Strangler pattern for migrating legacy systems?

The Strangler pattern is a migration approach that uses parallel routing to incrementally transition consumers from a legacy system to a replacement, allowing you to safely sunset old code by routing traffic progressively rather than migrating everything at once.

How do I write a migration plan for sunsetting an old feature?

A safe migration plan requires evaluating ongoing value and consumer dependency, publishing a deprecation notice with tooling, using feature flags for gradual rollout, and executing safe removal only after confirming zero active traffic to the legacy implementation.

When should I use advisory versus compulsory deprecation for an API lifecycle?

Advisory deprecation warns consumers without forcing immediate action, while compulsory deprecation enforces a hard deadline. You choose between them based on consumer dependency, maintenance costs, and security risks of keeping the legacy API running.

What are the risks of removing legacy code without measuring active usage?

Removing legacy code without measuring active consumers causes unexpected breakage. You must verify zero active usage before safe removal to avoid disrupting consumers still relying on the deprecated API or feature.

Can I use feature flags for incremental migration of duplicate systems?

Yes, feature flags enable gradual rollout during migration by allowing you to route a percentage of traffic to the replacement system incrementally, which is essential for consolidating duplicates and safely sunsetting the legacy implementation.