# Data Migration Plan

> Plan a data migration with reconciliation counts, a freeze or dual-write choice, and a stop condition. Use when the user mentions data migration, backfill plan, move this table, reconcile a migration, or asks for a data migration plan. Engineering skill by Yasir Jilani.

- Skill: `syasj/data-migration-plan` (Agent Skill)
- Install (CLI): `npx get-skill add syasj/data-migration-plan`
- Raw SKILL.md: https://api.skillmd.com/api/skills/syasj/data-migration-plan/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: SYasJ (https://skillmd.com/u/syasj)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/syasj/data-migration-plan

---


<!-- GENERATED FILE - edits here are overwritten by scripts/generate.py.
     Edit the 'data-migration-plan' entry in source/, then run:
       python3 scripts/generate.py && python3 scripts/validate.py
     See CONTRIBUTING.md. -->

# Data Migration Plan

Plan a data migration with reconciliation counts, a freeze or dual-write choice, and a stop condition.

## When to use this skill

Use this skill when the user:

- data migration
- backfill plan
- move this table
- reconcile a migration

## When not to use this skill

- The user wants a different domain's specialist skill.
- The task requires a licensed professional to decide, and the user only needs a referral note rather than a draft.
- The request asks you to deceive, evade a control, or hide material facts.

## Professional boundary

Prefer the repository's existing patterns. Do not disable security controls, invent credentials, or introduce network calls the user did not ask for.

## Operating boundaries

- Use only information the user provides or files they explicitly ask you to read. Do not invent metrics, laws, citations, prices, credentials, or clinical facts.
- Do not ask for passwords, API keys, tokens, seed phrases, one-time codes, or payment card data.
- Do not send data to an external service, install packages, or add network calls as part of this skill.
- Separate facts, assumptions, and recommendations. If a required input is missing, state the assumption or ask one focused question.
- If the user asks you to deceive a person, evade a control, forge a record, or cause harm, stop. Offer a legitimate alternative.
- Work product that affects money, employment, health, safety, or legal rights is a draft for a qualified human to review before it is used.

## Inputs to collect

- Source and target
- Volume if known
- Correctness rules
- Downtime tolerance

## Workflow


### 1. Rules

What makes a row correct in the target. Write the rule before writing the job.
### 2. Method

Dual-write, backfill, or freeze, chosen from their tolerance. Do not pick a method they cannot operate.
### 3. Reconciliation

Counts and checksums or samples they can actually run. A migration without reconciliation is a guess.
### 4. Stop

The mismatch that halts the job.
### 5. Privacy

Do not copy data into a less protected place for convenience. No exports of secrets into tickets.
### 6. Cutover

Who signs that the reconciliation passed.

## Output

Deliver a **data migration plan**.

- Purpose of this data migration plan, in two sentences.
- Facts the user supplied, listed separately from assumptions.
- The work itself, in the structure the workflow names.
- Open questions, risks, and the single next action with an owner.
- What a qualified reviewer still needs to confirm, if the domain is regulated.

## Quality bar

- Every number, date, name, and citation came from the user or is marked as an assumption.
- The artifact can be used without reading this skill again.
- Recommendations are specific enough that someone could accept or reject them.
- Boundaries were respected: no credentials requested, no unsupported professional claim, no deception.

## Example

### Scenario

Aisha Rahman, engineering lead at Fieldnote in Edmonton, needs a data migration plan by 30 September 2026. A script copies customer records to a new store and the plan says 'check a few rows'.

### Example data

```text
From: Aisha Rahman, engineering lead
Organization: Fieldnote, Edmonton
Date: 14 September 2026
Needed by: 30 September 2026

A script copies customer records to a new store and the plan says 'check a few rows'.

Source and target: note from Aisha Rahman, 14 September 2026. No outside report
Volume if known: 65 in the last period. No prior period attached, so no trend
Correctness rules: their one-page rule dated 2 Mar 2026. No exception log since
Downtime tolerance: five working days, due 30 September 2026
```

### Example outcome

**Data migration plan**
To: Aisha Rahman, engineering lead, Fieldnote
Date: 14 September 2026 · Needed by: 30 September 2026

**Decision**
Is more than a glance.

**What the file supports**

| Input | Value | Status |
| --- | --- | --- |
| Source and target | note from Aisha Rahman, 14 September 2026. No outside report | Needs confirmation |
| Volume if known | 65 in the last period. No prior period attached, so no trend | Carried into the draft |
| Correctness rules | their one-page rule dated 2 Mar 2026. No exception log since | Carried into the draft |
| Downtime tolerance | five working days, due 30 September 2026 | Needs confirmation |

**How this draft was built**

**1. Rules**  
What makes a row correct in the target. Write the rule before writing the job.

**2. Method**  
Dual-write, backfill, or freeze, chosen from their tolerance. Do not pick a method they cannot operate.

**3. Reconciliation**  
Counts and checksums or samples they can actually run. A migration without reconciliation is a guess.

**4. Stop**  
The mismatch that halts the job.

**5. Privacy**  
Do not copy data into a less protected place for convenience. No exports of secrets into tickets.

**Deliberately not done**
- A migration with no reconciliation.
- Copying sensitive data into a ticket.
- A method the team cannot operate.

**Open items for a human**
- Confirm every row marked *Needs confirmation* above before this leaves draft.
- Anything absent from the file stayed absent. No figure, date, or name was supplied from outside it.

Next: Aisha Rahman by 30 September 2026. This is a draft, not a sign-off.

## Anti-patterns

- A migration with no reconciliation.
- Copying sensitive data into a ticket.
- A method the team cannot operate.

## Related skills

- `migration-plan`
- `database-change-review`

