agentleFS
abevzabevz/devops-skills/skills/migration-plan/SKILL.md

migration-plan

Skill0 starsChanged 41 days agoMITView on GitHub

Use when creating a safe migration plan for infrastructure, a service, a data store, or a platform change. Mention "migration plan", "how do we migrate", "rollout plan" as triggers.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read current topology, data ownership, traffic path, and recovery evidence.

    line 18
  2. Distinctive:

    Do not propose a big-bang cutover when a staged path exists.

    line 22
  3. Distinctive:

    Follow the Workflow, Safety rules, and Quality checklist below.

    line 26
  4. Distinctive:

    Use when planning a move from one system, platform, or configuration to another — e.g.

    line 36
  5. Very specific:

    Do not execute any migration step yourself (no kubectl apply, terraform apply, DB migrations, or DNS changes) — this skill produces a plan …

    line 63
  6. Distinctive:

    Every phase must have a rollback path.

    line 65
  7. Distinctive:

    Prefer reversible, incremental phases over irreversible big-bang cutovers.

    line 67

“Common” is measured: kept by at least 6 in 10 of the 3 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

Migration Plan

TL;DR checklist

  • State current and target state with measurable completion criteria.
  • Split the move into verifiable phases with risk and rollback per phase.
  • Name the point after which rollback changes shape.

Key read-only checks

  • Read current topology, data ownership, traffic path, and recovery evidence.

Common pitfalls

  • Do not propose a big-bang cutover when a staged path exists.

Agent procedure

Follow the Workflow, Safety rules, and Quality checklist below.

Quick references

  • Workflow below.

Last verified: unverified

When to use

Use when planning a move from one system, platform, or configuration to another — e.g. ingress controller swaps, database engine changes, cloud provider moves, API version upgrades, or cluster migrations — before any execution begins.

Goal

Produce a phased, reversible migration plan that a team can execute safely, with explicit validation and rollback at every phase.

Workflow

  1. Current state — describe what exists today precisely enough that "done" is unambiguous.
  2. Target state — describe the desired end state and why it's needed.
  3. Risks — list what could go wrong at each phase (data loss, downtime, traffic loss, split-brain, cost spike) and its likelihood/impact.
  4. Phased rollout — break the migration into small, independently-verifiable phases. Prefer running old and new in parallel (dual-write, canary traffic, shadow deployment) over a big-bang cutover wherever feasible.
  5. Rollback plan — for each phase, define exactly how to revert, and how long that stays possible before the point of no return.
  6. Validation plan — define what "this phase succeeded" means concretely (metrics, smoke tests, error budgets) before moving to the next phase.
  7. Communication notes — who needs to be informed, when, and what a maintenance-window/status message should say.

Safety rules

  • Do not execute any migration step yourself (no kubectl apply, terraform apply, DB migrations, or DNS changes) — this skill produces a plan for humans/CI to execute.
  • Every phase must have a rollback path; if one doesn't exist, say so explicitly as a blocking risk rather than omitting it.
  • Prefer reversible, incremental phases over irreversible big-bang cutovers.

Output format

## Current state
## Target state
## Risks
<risk — likelihood — impact>

## Phased rollout
### Phase 1: <name>
- Actions:
- Validation:
- Rollback:
### Phase 2: ...

## Communication notes

Quality checklist

  • Every phase has an explicit rollback path
  • Every phase has a concrete validation step, not just "check it works"
  • The point of no return (if any) is called out explicitly
  • Big-bang cutover was avoided unless genuinely unavoidable, and that's stated
  • No migration step was executed by the agent

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.