Data Migration Expert

•
35
•

Validates database migrations and backfills to prevent data corruption by cross-referencing logic with production reality.

The Data Migration Expert skill is a specialized safeguard for production databases during structural changes, ID mappings, and enum conversions. It shifts the focus from simple code review to a production-first mindset, requiring developers to verify assumptions against live data patterns rather than static fixtures. By enforcing strict checklists for dual-write safety, batching, and rollback procedures, this skill ensures that complex schema evolutions and data transformations are executed without downtime or data loss, providing developers with the specific SQL snippets and observability strategies needed for high-stakes deployments.

主要功能

0135 GitHub stars
02Validates ID mappings and enum conversions against production data patterns
03Audits migration scripts for batching, throttling, and transaction safety
04Enforces rollback safety through dual-write and feature flag validation
05Generates SQL snippets for post-deployment verification and observability
06Identifies orphaned associations and legacy references across the codebase

使用场景

01Ensuring large-scale data backfills are performed in safe, throttled batches
02Validating high-risk enum transformations from integers to string values
03Reviewing PRs that involve renaming columns or migrating data between tables