Skip to content

charlieviettq/awesome-agent-skill / .claude/skills/deprecation-and-migration

deprecation-and-migration

Verified

Plan deprecation and migration—replacement first, consumer migration, strangler and adapter patterns, zombie code removal. Use when sunsetting APIs, libraries, or legacy modules.

Deprecation and migration

Decision questions

  1. Does the old system still provide unique value?
  2. How many consumers? Migration cost each?
  3. Is replacement production-proven?
  4. Cost of NOT deprecating (security, maintenance)?

Compulsory vs advisory

TypeWhen
AdvisoryStable legacy, optional migration
CompulsorySecurity risk, blocks progress — need tooling + deadline

Default advisory unless risk justifies force.

Process

  1. Build replacement first
  2. Announce — status, replacement, migration guide, timeline
  3. Migrate consumers incrementally; owner migrates users when possible
  4. Remove only after zero active usage verified

Patterns

PatternUse when
StranglerGradual traffic shift
AdapterOld interface, new implementation
Feature flagPer-consumer or cohort cutover

Zombie code signals

  • No maintainer, active dependents, failing tests ignored, stale deps

Output

Deprecation notice + migration steps + removal checklist.

receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall