agentleFS
jaydubya818jaydubya818/MissionControl/skills/deprecation-and-migration/SKILL.md

deprecation-and-migration

Skill1 starsChanged 9 months agoMITView on GitHub

Retire APIs or migrate consumers and persistent data across releases.

80 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use accessibility-engineering, using-agent-skills and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • steven123397Skill

    accessibility-engineering

    Audits existing interfaces for WCAG 2.2 AA conformance and remediates the violations found. Use when auditing a page or component for accessibility, running axe-core or pa11y, triaging a11y violations, or checking screen reader and contrast issues before shipping.

    Also in 4 projects that use this

  • LLl0k0laDSkill

    using-agent-skills

    Use when starting a session or when you need to discover which skill applies to the current task. This is the meta-skill that governs how all other skills are discovered and invoked.

    Also in 38 projects that use this

  • MrCipherSmithSkill

    constraint-driven-development

    Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.

    Also in 19 projects that use this

  • LLl0k0laDSkill

    shipping-and-launch

    Use when preparing to deploy to production. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.

    Also in 47 projects that use this

  • HK-hubSkill

    source-driven-development

    Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

    Also in 45 projects that use this

  • seikaikyoSkill

    doubt-driven-development

    對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。

    Also in 40 projects that use this

  • +5 more from LLl0k0laD

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 73 edited versions we read keep these.

  • 6

    Distinctive

    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
  1. Distinctive:

    Use this workflow when retiring interfaces, moving consumers, or changing persistent data across releases.

    line 17
  2. Distinctive:

    Use a temporary adapter when independently deployed callers must coexist.

    line 38
  3. Distinctive:

    Use expand, migrate, and contract phases for incompatible persistent schemas.

    line 40
  4. Distinctive:

    Every temporary path needs an owner, a removal condition, and evidence of remaining use.

    line 42
  5. Distinctive:

    Read the migration checks before schema edits or backfills.

    line 48
  6. Distinctive:

    Verify each migrated cohort with behavior checks and data reconciliation.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 73 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deprecation and migration

Use this workflow when retiring interfaces, moving consumers, or changing persistent data across releases. For a private API whose callers deploy together, prefer one verified change over an unnecessary compatibility layer.

Decide what must survive

Inventory callers, background workers, scheduled jobs, old clients, exports, stored records, and replay queues. Search source and available usage evidence; absence of logs is not proof of no consumers. Identify the owner, reason for retirement, required behavior, migration cost, and authorized scope.

A replacement must cover the use cases being retained. Intentionally retiring a feature may have no replacement; that needs an explicit product decision and a data disposition plan. Do not invent a retirement deadline or notify users without authorization.

Choose a migration path

Choose the least machinery that preserves compatibility during rollout:

  • Move all owned, jointly deployed callers in one change when safe.
  • Use a temporary adapter when independently deployed callers must coexist.
  • Route a bounded cohort to a replacement when production comparison is needed.
  • Use expand, migrate, and contract phases for incompatible persistent schemas.

Every temporary path needs an owner, a removal condition, and evidence of remaining use. Keep new writes consistent with whichever rollback path is promised. Do not mirror money-moving side effects into both implementations.

Persistent data

Read the migration checks before schema edits or backfills. Inspect the actual engine/version, table sizes, workload, and deployment order. Adding a column or index can still lock a busy table or consume enough capacity to disrupt service.

Separate code rollback from data recovery. A destructive down migration may discard valid new data and is not automatically a safe recovery plan. Use a tested reverse operation when appropriate; otherwise document a forward fix, restore procedure, recovery limits, and the point after which rollback changes.

Complete and verify

Verify each migrated cohort with behavior checks and data reconciliation. Observe consumers over a window that covers delayed jobs and supported client versions. Remove old paths only after usage evidence and deployment state meet the agreed retirement criteria. Remove obsolete flags, configuration, and tests while retaining tests for preserved behavior and historical decisions.

Report phase, evidence, remaining consumers, and recovery limits. Local code and migration files do not authorize a production backfill, destructive schema operation, announcement, or deployment.

Reference: PostgreSQL ALTER TABLE.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.