Tooluck logoTooluck
SKILL.md

deprecation-and-migration

Agent skill fromaddyosmani/agent-skills

Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.

How to install deprecation-and-migration

install deprecation-and-migration
# install the agent-skills pack with the skills CLI
npx skills add addyosmani/agent-skills

# or add only this skill to Claude Code: copy the folder

skills/deprecation-and-migration/

# into

~/.claude/skills/deprecation-and-migration/ (all projects)

.claude/skills/deprecation-and-migration/ (one project)

skills/deprecation-and-migration/SKILL.md

MITFull file
1# Deprecation and Migration
2
3## Overview
4
5Code 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.
6
7Most engineering organizations are good at building things. Few are good at removing them. This skill addresses that gap.
8
9## When to Use
10
11- Replacing an old system, API, or library with a new one
12- Sunsetting a feature that's no longer needed
13- Consolidating duplicate implementations
14- Removing dead code that nobody owns but everybody depends on
15- Planning the lifecycle of a new system (deprecation planning starts at design time)
16- Deciding whether to maintain a legacy system or invest in migration
17
18## Core Principles
19
20### Code Is a Liability
21
22Every line of code has ongoing cost: it needs tests, documentation, security patches, dependency updates, and mental overhead for anyone working nearby. The value of code is the functionality it provides, not the code itself. When the same functionality can be provided with less code, less complexity, or better abstractions — the old code should go.
23
24### Hyrum's Law Makes Removal Hard
25…

Excerpt shown under the repository's MIT license.

More skills in agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

pbakaus /

impeccable
108k

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

2 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates