deprecation-and-migration

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

5|Updated Mar 5, 2024
One-click install
npx skills add https://github.com/TRAPZZY/God-Eyes --skill deprecation-and-migration-trapzzy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/TRAPZZY/God-Eyes/tree/main/.skills/deprecation-and-migration
Command: npx skills add https://github.com/TRAPZZY/God-Eyes --skill deprecation-and-migration-trapzzy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering teams accumulate legacy code, zombie systems, and duplicate implementations that silently grow maintenance cost, security risk, and onboarding complexity. 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 earns its maintenance cost, quantify migration scope, and choose advisory versus compulsory deprecation. - Migration Patterns: Concrete implementations of the Strangler pattern, Adapter pattern, and feature-flag migration with TypeScript examples for incremental consumer cutover. - Zombie Code Remediation: Criteria for identifying unmaintained code with active consumers and a decision path of either assigning ownership or executing removal. - Use Case: Your team built a replacement for 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 usage via metrics, and delete the old code, tests, and configuration. ## Quick Start Ask the AI to plan the deprecation of a legacy API and produce a migration guide with an incremental cutover strategy for all 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 announcing with a migration guide and concrete steps. 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 with tooling and support.

How do I migrate users from a legacy system to a new one?▼

Migrate users incrementally, one consumer at a time: identify touchpoints, update to the replacement, verify behavior with tests, and remove old references. Use an adapter that translates the old interface to the new implementation, or feature flags to switch consumers gradually.

When should I remove legacy code instead of maintaining it?▼

Remove legacy code when it no longer provides unique value, a replacement covers all critical use cases, and migration cost is lower than ongoing maintenance over two to three years. Code is a liability with continuous costs for tests, security patches, and onboarding.

What is zombie code and how do I deal with it?▼

Zombie code is unmaintained code with no owner but active consumers, often showing no commits in six months and unpatched vulnerable dependencies. Either assign an owner and maintain it properly, or deprecate it with a concrete migration plan; it cannot stay in limbo.