deprecation-and-migration

Plan deprecation and migration with replacement-first proof and verification steps.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/ToanPV90/dotfiles --skill deprecation-and-migration-toanpv90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deprecation-and-migration
Source: https://github.com/ToanPV90/dotfiles/tree/main/claude/.claude/skills/deprecation-and-migration
Command: npx skills add https://github.com/ToanPV90/dotfiles --skill deprecation-and-migration-toanpv90

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you retire legacy code, systems, or infrastructure without creating downtime, security regressions, or broken dependencies by forcing a validated replacement-first migration approach.

Core Features & Use Cases

  • Deprecation with guardrails: Applies iron laws to prevent feature creep in deprecated code and requires evidence-based justification before removal.
  • Migration planning patterns: Supports advisory vs compulsory deprecation and selects a migration strategy such as Strangler, Adapter, Feature Flag, or Big Bang based on risk and scope.
  • Operational cleanup for real systems: Includes guidance for code usage verification and infrastructure-as-code (IaC) cleanup using safe migration tooling rather than destructive redeployments.

Quick Start

Use the deprecation-and-migration skill to draft a complete deprecation announcement and step-by-step migration plan for your legacy component, including validation steps, a replacement mapping, and an explicit removal timeline.

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 legacy code and migrate consumers to a replacement?

To safely retire legacy code, enforce a replacement-first proof approach and select a migration pattern like Strangler, Adapter, Feature Flag, or Big Bang based on your risk and scope. This prevents downtime and broken dependencies.

What is the difference between advisory and compulsory deprecation?

Advisory deprecation warns consumers to migrate voluntarily, while compulsory deprecation enforces a strict timeline. The deprecation approach you choose depends on your risk tolerance and the scope of the legacy system being retired.

How do I clean up unused Terraform resources without destructive redeployments?

Clean up Terraform resources by verifying zero active usage and applying safe migration tooling rather than destructive redeployments. This infrastructure-as-code cleanup requires evidence-based justification before removing any resources.

When should I use a Strangler pattern versus a Big Bang migration?

Use a Strangler or Adapter pattern for high-risk, broad-scope migrations to gradually transition consumers. Choose a Big Bang approach for lower-risk scenarios where a rapid, full cutover to the replacement implementation is feasible.

What should a deprecation announcement include to prevent feature creep?

A deprecation announcement must include a concrete timeline, a replacement mapping, and explicit verification steps. Applying guardrails and iron laws prevents feature creep in deprecated code before you confirm zero active usage.

How do I verify zero active usage before removing zombie dependencies?

Verify zero active usage by running code usage verification checks and validating evidence-based justification. You must confirm no consumers rely on the zombie dependency before proceeding with compulsory removal.