mcpbeat

Data Migration

microck/data-migration

Plan and execute database migrations, data transformations, and system migrations safely with rollback strategies and data integrity validation. Use when migrating databases, transforming data schemas, moving between database systems, implementing versioned migrations, handling data transformations, ensuring data integrity, or planning zero-downtime migrations.

653 tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
320
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Microck/ordinary-claude-skills --skill data-migration

What comes with it

867 bytes besides the instruction
metadata.json

The instruction itself

6 sections, as written by the author

Data Migration - Safe Schema Changes

When to use this skill

  • Migrating database schemas and structures
  • Transforming data between formats
  • Moving data between database systems
  • Implementing versioned database migrations
  • Handling data transformations during migrations
  • Ensuring data integrity and validation
  • Planning zero-downtime migrations
  • Rolling back failed migrations safely
  • Migrating from legacy systems
  • Implementing data backfill strategies
  • Testing migrations in staging environments
  • Creating migration rollback procedures

When to use this skill

  • Migrating data between schemas, zero-downtime deployments.
  • When working on related tasks or features
  • During development that requires this expertise

Use when: Migrating data between schemas, zero-downtime deployments.

Process

  • Add new column
  • Dual-write to old & new
  • Backfill historical data
  • Switch reads to new column
  • Remove old column

Example

\\\`sql

-- Step 1: Add column

ALTER TABLE users ADD COLUMN email_new VARCHAR(255);

-- Step 2: Backfill

UPDATE users SET email_new = email WHERE email_new IS NULL;

-- Step 3: Swap

ALTER TABLE users DROP COLUMN email;

ALTER TABLE users RENAME COLUMN email_new TO email;

\\\`

Resources

How to use it

Copy the folder

Take microck/data-migration from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.