deprecation-and-migration

Plan and execute deprecation of legacy systems with incremental migration patterns.

Updated Jul 9, 2026
One-click install
npx skills add https://github.com/ByronWilliamsCPA/plugin --skill deprecation-and-migration-byronwilliamscpa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/ByronWilliamsCPA/plugin/tree/main/plugins/wff-code/skills/deprecation-and-migration
Command: npx skills add https://github.com/ByronWilliamsCPA/plugin --skill deprecation-and-migration-byronwilliamscpa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams struggle to remove old systems, APIs, and features safely because users depend on existing behavior, replacements are unproven, and zombie code accumulates maintenance cost. This Skill provides a structured process for deciding when to deprecate, migrating consumers incrementally, and fully removing legacy code. ## Core Features & Use Cases - Deprecation Decision Framework: Evaluate whether a system still provides unique value, quantify consumer impact, and choose between advisory and compulsory deprecation. - Migration Patterns: Apply the strangler pattern, adapter pattern, and feature flag migration to move consumers from old to new implementations incrementally. - Zombie Code Handling: Identify unmaintained code with active consumers and decide between assigning ownership or planning removal. - Use Case: When replacing a legacy task service with a new implementation, use this Skill to write a deprecation notice, build an adapter for the old interface, migrate consumers one at a time behind a feature flag, and verify zero usage before deleting the old code. ## Quick Start Help me plan the deprecation of our legacy task service and migrate all consumers to the new implementation.

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 old API or system safely?▼

Deprecate safely by first building a production-proven replacement, then announcing with documentation and a migration guide. Migrate consumers incrementally one at a time, verify zero active usage through metrics and logs, and only then remove the old code, tests, and configuration.

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. Start with a small canary percentage, scale to full traffic on the new system, and remove the old system once it handles zero percent of requests.

When should I use compulsory versus advisory deprecation?▼

Default to advisory deprecation with warnings and documentation when migration is optional and the old system is stable. Use compulsory deprecation with a hard deadline only when security issues, blocked progress, or unsustainable maintenance costs justify forcing migration, and always provide migration tooling.

How do I migrate users without breaking their integrations?▼

Use the adapter pattern to translate old interface calls to the new implementation, letting consumers keep existing code while the backend changes. Feature flags let you switch individual consumers from old to new systems one at a time with controlled rollback.

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 no commits in months, failing tests, and unpatched vulnerabilities. Either assign an owner and maintain it properly, or deprecate it with a concrete migration plan; it cannot stay in limbo.