database-migrator

Plan and execute zero-downtime database migrations across PostgreSQL, MySQL, and SQLite.

19|3|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/louloulin/claude-agent-sdk --skill database-migrator-louloulin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migrator
Source: https://github.com/louloulin/claude-agent-sdk/tree/main/crates/claude-agent-sdk/examples/.claude/skills/database-migrator
Command: npx skills add https://github.com/louloulin/claude-agent-sdk --skill database-migrator-louloulin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams plan and execute safe database migrations with zero downtime, ensuring continuity and data integrity during schema changes.

Core Features & Use Cases

  • Zero-downtime migration planning: design steps that minimize service interruption.
  • Backward-compatible changes and rollback-safe workflows to restore previous state quickly.
  • Phase-guided execution: planning, development, testing, deployment with validated data integrity.
  • Use Case: Upgrading a users table to add a non-breaking column and backfilling data without downtime.

Quick Start

Prepare and verify a staging environment, draft and version-control migration scripts, run non-breaking changes first, validate data integrity, and deploy with a rollback plan.

Frequently Asked Questions about database-migrator

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

FAQPage Schema
How do I plan zero-downtime database schema migrations in production?

Zero-downtime database schema migrations require phase-guided execution across planning, development, testing, and deployment to ensure continuity. You enforce backward-compatible changes, auditable steps, and validated data integrity to maintain service availability during production updates.

What is a rollback-safe workflow for SQL schema changes?

A rollback-safe workflow for SQL schema changes ensures you can quickly restore the previous database state if a migration fails. It involves version-controlling migration scripts, running non-breaking changes first, and defining clear rollback procedures to maintain data integrity.

Can I use this zero-downtime migration approach with PostgreSQL, MySQL, and SQLite?

Yes, the zero-downtime migration approach explicitly supports PostgreSQL, MySQL, and SQLite databases. It helps teams design and execute safe schema changes across these specific database systems while enforcing backward compatibility in production environments.

How do I add a non-breaking column and backfill data without downtime?

To add a non-breaking column and backfill data without downtime, you draft and version-control migration scripts, run non-breaking changes first, and validate data integrity in staging. This phase-guided execution ensures backward compatibility throughout the deployment process.

What are the limitations of executing database migrations without downtime?

Executing database migrations without downtime requires preparing and verifying a staging environment beforehand. You must run non-breaking schema changes first, validate data integrity thoroughly, and always deploy with a rollback plan to safely restore previous states if needed.