db-migration

Automate end-to-end database migrations across major ORMs and frameworks.

1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/paulingham/.claude --skill db-migration-paulingham
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migration
Source: https://github.com/paulingham/.claude/tree/main/skills/db-migration
Command: npx skills add https://github.com/paulingham/.claude --skill db-migration-paulingham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the full lifecycle of database migrations—from schema design through to data backfill—reducing risk and preserving availability.

Core Features & Use Cases

  • Detect ORM and migration tooling for your project.
  • Design and validate schema changes with zero-downtime patterns.
  • Generate clean, reversible migrations and backfill data safely.

Quick Start

Describe your desired schema change and run the ORM migration generator to produce the migration.

Frequently Asked Questions about db-migration

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

FAQPage Schema
How do I generate reversible database migrations for Prisma or TypeORM?

Database migration generation detects your ORM tooling and produces clean, reversible schema changes. It validates zero-downtime patterns and creates distinct workflows for schema updates and data backfills across major frameworks like Prisma, TypeORM, and SQLAlchemy.

What is a zero-downtime database migration and when do I need it?

A zero-downtime database migration applies schema changes without interrupting application availability. You need it when designing high-traffic schema updates, ensuring reversible changes and safe data backfills while preserving continuous database connectivity.

Can I use this to automate data migrations and schema design in Django or Rails?

Yes, data migrations and schema design are automated across Django, Rails, and SQLAlchemy projects. The process detects your specific ORM tooling, validates schema changes, and generates distinct workflows for separating data backfill from structural updates.

How do I test database migration reversibility before deploying?

Testing database migration reversibility involves generating clean migration files and validating their rollback paths. This Skill automates reversibility testing alongside zero-downtime validation to ensure schema changes can be safely rolled back without data loss.

What's the best way to handle end-to-end database migrations safely?

The best way to handle end-to-end database migrations safely is automating the full lifecycle from schema design to data backfill. This approach detects ORM tooling, validates zero-downtime patterns, and generates reversible changes to reduce deployment risk.