database-migration

Design safe database schema and data migrations with rollback procedures.

Updated May 16, 2026
One-click install
npx skills add https://github.com/p-o-ke-nae/pokemondamagecalculatorforstory --skill database-migration-p-o-ke-nae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/p-o-ke-nae/pokemondamagecalculatorforstory/tree/main/.github/skills/database-migration
Command: npx skills add https://github.com/p-o-ke-nae/pokemondamagecalculatorforstory --skill database-migration-p-o-ke-nae

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers change databases safely without breaking running applications, losing data, or guessing how to recover from failures.

Core Features & Use Cases

  • Schema migrations for adding, renaming, altering, or removing tables and columns.
  • Data transformations for backfilling, reshaping, and copying records during application evolution.
  • Release safety for rollback-ready, zero-downtime deployment plans across common ORM workflows.
  • Use case: Move an app from an old model to a new schema while keeping writes compatible and preserving production uptime.

Quick Start

Ask the skill to plan a database migration for your schema change and include the forward steps, rollback steps, and any zero-downtime precautions.

Frequently Asked Questions about database-migration

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

FAQPage Schema
How do I perform a zero downtime database migration?

Zero downtime database migration requires backward-compatible rollout plans, transactional execution, and data backfills. This Skill designs the necessary sequencing and recovery procedures to keep writes compatible and preserve production uptime during schema changes.

What is a rollback plan for schema changes and when do I need one?

A rollback plan for schema changes defines the exact steps to revert a database to its previous state if a deployment fails. You need one for production deployment changes involving ORM upgrades, cross-database moves, or data transformations to ensure recovery without data loss.

Can I use this to plan database migrations for Sequelize, TypeORM, or Prisma?

Yes, you can use this to plan database migrations for Sequelize, TypeORM, and Prisma-style workflows. It designs forward steps, rollback procedures, and zero-downtime precautions tailored to these common ORM workflows during schema refactors and data backfills.

How do I backfill data during a schema refactor without breaking running applications?

Backfilling data during a schema refactor requires transactional execution and zero-downtime sequencing to avoid breaking running applications. This Skill designs safe data transformation plans that copy and reshape records while keeping writes compatible with the evolving schema.

What is the best way to migrate a database safely across different database systems?

The best way to migrate across different database systems is to use backward-compatible rollout and recovery planning. This Skill designs cross-database moves with explicit rollback procedures and data transformation steps to prevent downtime and data corruption.