migration-planner

Plans phased database and system migrations with dual writes, backfills, validation, and rollback strategies.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/zinohome/RTMessage --skill migration-planner-zinohome
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: migration-planner
Source: https://github.com/zinohome/RTMessage/tree/main/.github/skills/migration-planner
Command: npx skills add https://github.com/zinohome/RTMessage --skill migration-planner-zinohome

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Migrating databases or platforms without downtime or data loss is risky and complex. This Skill structures the entire migration into safe, validated phases so teams can move systems like MySQL to PostgreSQL without service interruption. ## Core Features & Use Cases - Phased Migration Patterns: Apply feature flag rollouts, dual-write strategies, and blue-green deployments to control risk at every stage. - Validation & Rollback Plans: Built-in data integrity checks (row counts, sampling, checksums) and per-phase rollback procedures. - Use Case: Migrating a 500GB MySQL user database to PostgreSQL with zero downtime—dual writes keep both systems in sync, backfill scripts copy historical data in batches, shadow reads validate correctness, and feature flags gradually shift read traffic. ## Quick Start Ask the assistant to create a phased migration plan for moving your database from MySQL to PostgreSQL with rollback procedures.

Frequently Asked Questions about migration-planner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a database with zero downtime?▼

Use a dual-write migration pattern: write to both old and new databases, backfill historical data in batches, validate with shadow reads, then gradually shift read traffic using feature flags before decommissioning the old system.

What is a dual write migration strategy?▼

Dual write migration writes data to both the old and new systems simultaneously while treating the old system as primary. After backfilling and validating the new system, you flip reads and eventually stop writing to the old system.

How do I validate data integrity during a database migration?▼

Validate with row count comparisons, random sampling of records (e.g., 1000 rows), and checksum comparisons across both databases. Run these checks continuously during dual-write and backfill phases, alerting if drift exceeds 0.1%.

How do feature flags help with database migrations?▼

Feature flags let you ramp read traffic to the new system gradually (1% to 10% to 50% to 100%) while monitoring errors and latency. If problems appear, flipping the flag off instantly rolls back reads to the old system.

When is rollback no longer possible in a migration?▼

Rollback becomes difficult after you stop writing to the old system, since new writes exist only in the new database. After decommissioning the old system entirely, rollback is no longer available, making it the point of no return.