New advertisers: 50% off your first month with code FIRSTMONTHSee slots
addyosmani avatar

Deprecation And Migration

Expand/contract guidance for retiring legacy systems, APIs, and schema columns without breaking live consumers.

skills.sh installs
70.7K
GitHub stars
119.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers deprecation decisions, advisory versus compulsory sunsets, and incremental consumer migration with removal checklists
  • Includes the strangler, adapter, and feature-flag migration patterns, plus a phased expand/contract workflow for production database schema changes
  • Enforces a rule that no replacement is deprecated until it covers critical use cases and is proven in production
  • Designed for teams maintaining legacy code who need to retire old systems without downtime or regressions

Install

$ npx -y skills add addyosmani/agent-skills --skill deprecation-and-migration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Deprecation and Migration

Overview

Code is a liability, not an asset. Every line of code has ongoing maintenance cost — bugs to fix, dependencies to update, security patches to apply, and new engineers to onboard. Deprecation is the discipline of removing code that no longer earns its keep, and migration is the process of moving users safely from the old to the new.

Most engineering organizations are good at building things. Few are good at removing them. This skill addresses that gap.

When to Use

  • Replacing an old system, API, or library with a new one
  • Sunsetting a feature that's no longer needed
  • Consolidating duplicate implementations
  • Removing dead code that nobody owns but everybody depends on
  • Planning the lifecycle of a new system (deprecation planning starts at design time)
  • Deciding whether to maintain a legacy system or invest in migration

Core Principles

Code Is a Liability

Details

Repository
github.com/addyosmani/agent-skills
Categories
Code Review & Quality, Backend & APIs, Databases
First seen
Apr 16, 2026

More from addyosmani/agent-skills

All 25

Similar to Deprecation And Migration

More Code Review & Quality