deprecation-migration
Skill1 starsChanged 6 months agoMITView on GitHub
Retire an API, library, field, or pattern safely - parallel-run old and new, migrate consumers with warnings and deadlines, then remove the old path completely. Use when the user wants to deprecate an endpoint or feature, replace a library or framework, rename/remove a schema field, or asks how to migrate consumers without breaking them.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- int2t05/engineering-skillstheir own version, first seen Aug 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- int2t05/engineering-skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- accessibility-reviewSkill
- adr-authorSkill
- api-designSkill
- architecture-reviewSkill
- caching-strategySkill
- changelogSkill
- ci-cd-pipelineSkill
- codebase-explorationSkill
- code-reviewSkill
- code-style-guideSkill
- context-engineeringSkill
- conventional-commitsSkill
- cost-optimizationSkill
- database-migrationSkill
- data-privacy-reviewSkill
- debuggingSkill
- dependency-updateSkill
- error-handlingSkill
- feature-flag-rolloutSkill
- filament-resource-designSkill
- flux-ui-patternsSkill
- git-workflowSkill
- i18n-reviewSkill
- idea-refineSkill
- incident-responseSkill
- incremental-implementationSkill
- inertia-patternsSkill
- laravel-ai-featuresSkill
- laravel-eloquent-performanceSkill
- laravel-queue-designSkill
- laravel-testingSkill
- livewire-component-designSkill
- llm-feature-designSkill
- observabilitySkill
- onboarding-docSkill
- performance-budgetSkill
- pr-descriptionSkill
- primevue-patternsSkill
- refactoringSkill
- release-checklistSkill
- resilience-patternsSkill
- runbook-authorSkill
- security-auditSkill
- spec-writingSkill
- task-breakdownSkill
- tech-debt-triageSkill
- test-writingSkill
- threat-modelingSkill
- using-elyra-skillsSkill
- vue-component-patternsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 68
Remove the old path, its tests, its docs, its feature flags — all of it
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deprecation & Migration
Retiring something is a project, not a deletion. The pattern is always the same: build the new, run both, move consumers, measure zero usage, then — and only then — delete.
When to use
- "We want to kill endpoint/field/feature X"
- Replacing a library, framework version, or internal pattern across a codebase
- Renaming or removing database columns or API response fields
- Consumers (internal or external) depend on the thing being removed
Principles
- Expand → migrate → contract. New path first, both alive in parallel, old path removed last. Never in-place mutation of a contract.
- You can't deprecate what you can't measure. Usage telemetry on the old path comes before any deadline.
- Loud, early, repeated. Consumers ignore the first announcement. Warnings belong in the response/log they already look at.
- The job isn't done until the old code is deleted. A "deprecated" path that lives forever is worse than either alternative.
Process
1. Inventory the blast radius
# Who uses it? (internal)
grep -rn "oldThing" --include="*.{php,ts,js,py}" .- Internal callers, external API consumers, scheduled jobs, stored data, docs/examples
- Classify consumers: ones you can change, ones you can ask, ones you can't reach
2. Build the replacement (expand)
- New endpoint/field/function exists alongside the old — same release, zero behavior change for existing consumers
- For data: write to both old and new (dual-write) or backfill, so the new path is complete before anyone switches
3. Instrument the old path
- Count calls: who, how often, from where (per consumer/API key if external)
- This number is your progress bar and your "safe to delete" proof
4. Announce and warn
- Deprecation notice with: what, why, the replacement, the date, and a migration example
- Machine-readable where possible:
Deprecation/SunsetHTTP headers,@deprecatedannotations, runtime warnings in dev logs - Repeat at intervals; escalate channel as the deadline approaches
5. Migrate consumers
- Internal: migrate them yourself, mechanically, one PR per consumer area — don't wait for teams to "get around to it"
- External: provide a side-by-side example (old call → new call); offer a compat shim only if it has its own removal date
- Watch the usage metric drop after each wave
6. Contract (remove)
- Usage at zero (or only known stragglers with explicit sign-off) for an agreed quiet period
- Remove the old path, its tests, its docs, its feature flags — all of it
- For schema: drop columns in a later release than the code stops reading them (see
database-migration)
Output format
## Deprecation plan: <thing>
**Replacement:** <new thing> (status: built / in progress)
**Why:** one sentence.
### Consumers
| Consumer | Type | Usage/day | Migration | Status |
|----------|------|-----------|-----------|--------|
| … | internal/external | … | … | pending/done |
### Timeline
- T0: replacement live, dual-running
- T0+…: deprecation announced, warnings active
- T0+…: internal consumers migrated
- **Sunset date:** … (old path removed)
### Rollback
<how to re-enable the old path if migration reveals a gap>
### Done when
- [ ] Old-path usage = 0 for <period>
- [ ] Old code, tests, docs, flags deletedAnti-patterns
- ❌ Deleting first and discovering consumers via the incident channel
- ❌ A deprecation notice with no date — that's a suggestion, not a deprecation
- ❌ Big-bang migration ("we switch everything Saturday night") when parallel running was possible
- ❌ Compat shims with no removal date — you now maintain three things
- ❌ Declaring victory at "new thing launched" while the old path still serves traffic
- ❌ Migrating external consumers without a worked example of the new call
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

