agentleFS
bsafronovbsafronov/prosto-skills/skills/.experimental/migrate-system/SKILL.md

migrate-system

Skill0 starsChanged 3 months agoApache-2.0View on GitHub

Implement and prove a requested stage of a compatibility or persisted-data transition with a viable recovery path. Use when old and new readers, writers, data forms, or deployments must coexist or recover from partial migration. Do not use for an in-place refactor, an ordinary feature or dependency update without a transition window, or ticket decomposition alone.

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

    Stop when that stage's compatibility, data preservation, and recovery claims have supporting evidence, or name the specific claim still …

    line 39

≈ “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.

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

Migrate System

Reach the requested transition stage while preserving the guarantees needed by remaining consumers and recoverable data.

  • Identify which readers and writers can exist at each relevant stage, which representation is authoritative, and what a rollback would actually restore. Include writes made after migration begins: reverting code or restoring an old backup alone may lose those writes or leave them unreadable.
  • Choose the smallest viable transition from the actual rollout constraints. An additive form, backfill, consumer switch, and removal are useful only where coexistence requires them. A coordinated offline conversion can instead use a verified maintenance window. Keep transitional code temporary and give its removal a concrete compatibility condition.
  • Make partial progress safe to resume. Define checkpoints, retry identity, and handling of concurrent writes or failed batches from the storage guarantees; do not infer atomicity from a successful happy path. Preserve source data until recovery no longer depends on it. Make incomplete, rejected, and conflicting records observable instead of silently skipping them as complete.
  • Prove old and new paths at the stages the task reaches, using representative data and failure points. Exercise interruption and retry, overlapping writers where allowed, and rollback after new writes. Check the resulting data and consumer behavior, not just that the migration command exited successfully. Distinguish local simulation from storage, deployment, or production proof.
  • Perform only the requested stage. Preparation and reversible implementation use the user's existing authorization. Execute destructive contraction only when it is in that authorization and its compatibility and recovery conditions hold; a plan may describe it without executing it. Carry forward an explicit authorized destructive phase rather than asking for the same approval again.

Stop when that stage's compatibility, data preservation, and recovery claims have supporting evidence, or name the specific claim still unproved. Interface choice, work decomposition, specialized library conversion, and requested test-first sequencing can contribute independent outcomes; none is a prerequisite. Keep ordinary structure-preserving edits outside this transition lifecycle.

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.