Logo van Deprecation And Migration

Deprecation And Migration

Community
pimenov
deprecation-and-migration

Plant veilige uitfasering, migratie, beëindiging, vervanging en verwijdering van oude systemen, API's, functies, schema's, flags, cronjobs, integraties, configuraties, bibliotheken, UI-flows en operationele processen. Gebruik deze skill wanneer je legacycode uitfaseert, een implementatie vervangt, een publieke of interne interface verwijdert, gebruikers migreert, dubbele systemen samenvoegt, beslist of je iets onderhoudt of uitfaseert, uitfaseringsmeldingen opstelt, vóór verwijdering wilt aantonen dat iets niet meer wordt gebruikt, of wanneer Hyrum's Law, compatibiliteit, terugdraaien, gegevensveiligheid, productierisico of communicatie met gebruikers een rol speelt.

Overzicht

Uitgeverpimenov
Repositorycodex-first-skills-pack
Skillnaamdeprecation-and-migration
Sterren
28
Forks
5
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door pimenov op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Deprecation And Migration in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/pimenov/codex-first-skills-pack/tree/main/skills/deprecation-and-migration
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pimenov/codex-first-skills-pack.git /tmp/codex-first-skills-pack
mkdir -p .claude/skills
cp -r /tmp/codex-first-skills-pack/skills/deprecation-and-migration .claude/skills/deprecation-and-migration
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Deprecation And Migration in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Deprecation And Migration automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Deprecation And Migration niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Deprecation and Migration

Overview

Deprecation is not deletion. It is the managed transfer of consumers from old behavior to a safer replacement, followed by evidence-backed removal.

Use this skill to avoid two common failures: keeping legacy systems forever because nobody owns the migration, or deleting "unused" behavior that still has hidden consumers.

Relationship To Other Skills

  • Use context-engineering first when the source of truth, owner, live state, or relevant docs are unclear.
  • Use source-driven-development when migration depends on current vendor docs, SDK changes, platform deprecations, version support, or external API behavior.
  • Use api-and-interface-design when the deprecated surface is an API, schema, event, CLI, config format, or module boundary.
  • Use spec-driven-development when the desired replacement behavior or success criteria are unclear.
  • Use planning-and-task-breakdown to turn the migration into waves, issues, owners, gates, and Definition of Done.
  • Use incremental-implementation to migrate one consumer or slice at a time.
  • Use test-driven-development for compatibility tests, migration fixtures, adapter checks, and regression guards.
  • Use doubt-driven-review before irreversible removal, public deprecation deadlines, production cleanup, data migrations, auth changes, or claims that rollback is safe.
  • Use code-review-and-quality before accepting removal diffs.

Do Not Use

  • Do not use to justify cleanup without consumer evidence.
  • Do not remove production, data, secrets, auth, DNS, billing, cron, routing, webhooks, integrations, or public interfaces without explicit approval.
  • Do not assume code is unused because local search found no references.
  • Do not create a migration plan if there is no replacement, owner, or rollback path. Return a no-go instead.
  • Do not turn every tiny private refactor into a formal migration plan.

Core Loop

Work in this order:

  1. INVENTORY
  2. DECISION
  3. REPLACEMENT
  4. MIGRATION PLAN
  5. ROLLOUT
  6. REMOVAL READINESS
  7. HANDOFF

1. Inventory

Identify what is being deprecated and who depends on it.

Capture:

  • Artifact: code path, route, API, schema, feature flag, workflow, cron, integration, library, config, UI, document, or operational process.
  • Owner: team, person, repo, service, project, or "unknown".
  • Current state: active, deprecated, zombie, duplicate, broken, experimental, replaced, or unknown.
  • Consumers: direct callers, imports, database references, events, dashboards, docs, automations, tests, operators, external customers, partners, agents.
  • Evidence sources: rg, dependency graph, logs, metrics, tracing, analytics, GitHub search, Linear/Notion docs, production config, support history, runbooks, live smoke.
  • Risk surfaces: data loss, auth/permission changes, billing, public API, partner integration, SEO, notifications, scheduled jobs, backups, audit trail.

If the owner or consumers are unknown, start read-only discovery and do not propose removal yet.

2. Decision

Choose the correct posture.

Use these outcomes:

  • Maintain: the old system still has unique value or migration cost exceeds maintenance risk.
  • Freeze: stop adding new features while measuring usage and preparing replacement.
  • Advisory deprecation: migration is recommended, no hard removal date yet.
  • Compulsory deprecation: removal has a deadline because risk or cost is high enough.
  • Emergency disablement: immediate safety issue; use incident handling and explicit approval.
  • Remove now: only when zero usage and rollback/evidence are clear.

For each decision, state:

  • why now;
  • who owns the migration;
  • what happens if nothing changes;
  • what evidence would change the decision;
  • what must not be touched.

3. Replacement

Never deprecate critical behavior without a usable target.

Check replacement readiness:

  • covers critical old use cases;
  • preserves required compatibility or explicitly changes behavior;
  • has docs or examples for consumers;
  • has tests or smoke checks;
  • has operational ownership;
  • has observability for migration progress;
  • has rollback or compatibility shim;
  • has known gaps documented.

If the replacement is not ready, output "No-go: replacement not ready" and list the smallest safe next step.

4. Migration Plan

Plan migration around consumers, not around files.

Define:

  • consumer list and priority;
  • migration waves: canary, low-risk, main, stragglers, final removal;
  • compatibility strategy: adapter, dual-write, read-through, feature flag, redirect, alias, shim, versioned API, or manual process;
  • communication: who needs notice, where it lives, what date or condition matters;
  • verification: tests, logs, metrics, search, dashboards, smoke, old-client fixtures;
  • rollback: how to restore old behavior or pause the wave;
  • stop-lines: metrics, errors, consumer objections, missing owner, data mismatch.

Prefer moving one consumer at a time. If the old and new systems run in parallel, define how divergence is detected.

5. Rollout

Migrate incrementally and keep evidence.

During rollout:

  • migrate a small safe consumer first;
  • verify old and new behavior against the contract;
  • watch errors, latency, volume, data parity, and support signals;
  • update docs and notices as reality changes;
  • keep old path available until removal readiness is proven;
  • record what changed and what stayed untouched.

For production-adjacent systems, separate read-only discovery from mutation. A deprecation plan is not approval to execute the removal.

6. Removal Readiness

Removal requires positive evidence, not just lack of local references.

Before deleting:

  • verify zero active usage through appropriate live evidence;
  • search code, configs, docs, tests, dashboards, runbooks, jobs, queues, and deployment settings;
  • check imports and dependency graphs where possible;
  • check logs/metrics over a relevant time window;
  • confirm no external consumer still has access or contractual expectation;
  • confirm backups, rollback, or restore path;
  • define exact files/services/data/config to remove;
  • define exact checks after removal.

If evidence is incomplete, downgrade to advisory deprecation, add instrumentation, or create a follow-up task.

7. Handoff

Store the plan in the smallest durable layer that matches risk:

  • Chat-only: tiny internal cleanup with no consumers and no live risk.
  • Linear issue/document or Work Packet: project execution, waves, approvals, and owners.
  • Repo docs, ADR, migration guide, or runbook: code-owned technical migration.
  • Notion: human/client-facing explanation, operating procedure, or reusable knowledge.
  • local notes: internal sandbox evidence and repeatable checklist.

For user-facing durable prose, write explanations in the user's language. Keep commands, paths, field names, API identifiers, dates, versions, and product names exact.

Deprecation Notice Shape

Use this compact shape when drafting a notice:

text
Deprecation notice:
- Deprecated surface:
- Replacement:
- Status:
- Reason:
- Affected consumers:
- Migration steps:
- Verification:
- Deadline or removal condition:
- Support/owner:
- Rollback/exception path:

Migration Plan Shape

Use this shape when returning a plan:

text
Migration plan:
- Goal:
- Current surface:
- Replacement:
- Consumers:
- Evidence:
- Decision:
- Waves:
- Compatibility strategy:
- Stop-lines:
- Verification:
- Approval gates:
- Removal readiness:
- Next safe step:

Patterns

Adapter

Keep the old interface while routing it to the new implementation. Use when consumers are hard to change quickly.

Feature Flag

Move consumers by cohort or tenant. Use when rollback needs to be fast and behavior can coexist.

Strangler

Route traffic from old to new gradually. Use for services, routes, and workflows where parallel operation is possible.

Dual-Write Or Shadow Read

Compare old and new outputs before switching authority. Use carefully for data systems; define reconciliation and rollback first.

Alias Or Redirect

Preserve old names while pointing to new names. Use for CLI commands, config keys, URLs, or package exports when compatibility matters.

Zombie Code

Zombie code has active consumers but no owner. Do not delete it casually.

Classify it as one of:

  • assign owner and maintain;
  • instrument and measure;
  • wrap with compatibility boundary;
  • migrate consumers;
  • remove after proven zero usage.

If nobody can own the migration, surface that as the blocker.

Common Rationalizations

RationalizationResponse
"Search found no references."Local search is one evidence source, not proof of zero usage. Check runtime/config/docs where relevant.
"It still works."Working unowned code can still create security, upgrade, and onboarding risk. Compare maintenance cost to migration cost.
"Users will migrate themselves."Consumers need tooling, docs, incentives, deadlines, or owned migration work.
"We can keep both forever."Two systems double testing, docs, incident surface, and cognitive load.
"The replacement is better."Better is not enough. It must cover critical use cases or have explicit behavior changes.
"We can rollback if needed."Name the exact rollback step and prove it before removal.

Red Flags

  • Deprecation without owner.
  • Replacement not production-proven for critical use cases.
  • Deadline without migration tooling or support path.
  • Removing public behavior without consumer audit.
  • Active warnings for months with no migration progress.
  • No metric or log that can prove migration completion.
  • Cleanup bundled with unrelated refactor or deploy.
  • Data deletion hidden inside migration.
  • Deprecated system still receiving new features.

Done Check

  • Deprecated surface, owner, and consumers are named.
  • Evidence sources and gaps are explicit.
  • Decision posture is stated: maintain, freeze, advisory, compulsory, emergency, or remove now.
  • Replacement readiness is proven or the plan is marked no-go.
  • Migration waves, stop-lines, and rollback are defined.
  • Removal readiness uses positive evidence over a relevant window.
  • Approval gates are explicit for production, data, auth, public API, or external systems.
  • Final state is recorded in the correct durable layer.

Veelgestelde vragen

Wat doet de AI-skill Deprecation And Migration?

Plant veilige uitfasering, migratie, beëindiging, vervanging en verwijdering van oude systemen, API's, functies, schema's, flags, cronjobs, integraties, configuraties, bibliotheken, UI-flows en operationele processen. Gebruik deze skill wanneer je legacycode uitfaseert, een implementatie vervangt, een publieke of interne interface verwijdert, gebruikers migreert, dubbele systemen samenvoegt, beslist of je iets onderhoudt of uitfaseert, uitfaseringsmeldingen opstelt, vóór verwijdering wilt aantonen dat iets niet meer wordt gebruikt, of wanneer Hyrum's Law, compatibiliteit, terugdraaien, gege...

Waarom Deprecation And Migration gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Deprecation And Migration bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Deprecation And Migration in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/pimenov/codex-first-skills-pack/tree/main/skills/deprecation-and-migration. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Deprecation And Migration gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Deprecation And Migration gebruiken?

Zoveel als je wilt. Je kunt Deprecation And Migration gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Deprecation And Migration gratis?

Deze skill is door pimenov op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇