database-migration

Generate database migrations with rollback plans and deployment runbooks.

4|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/accolver/skill-maker --skill database-migration-accolver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/accolver/skill-maker/tree/main/database-migration
Command: npx skills add https://github.com/accolver/skill-maker --skill database-migration-accolver

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Design safe, reversible database migrations with rollback, verification, and deployment guidance when the task changes an existing database structure or stored data.

Core Features & Use Cases

  • Generate migration files with both up and down operations
  • Include pre-migration data backups, index impact analysis, verification queries, and a deployment runbook
  • Provide a rollback plan and post-migration validation for production deployments

Quick Start

Enter a migration task and this skill will output a complete migration plan.

Frequently Asked Questions about database-migration

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

FAQPage Schema
How do I create reversible database migrations with a rollback plan?

Reversible database migrations require generating both up and down operations. This skill designs these patterns complete with pre-migration backups, verification queries, and a rollback plan to ensure safe deployment and incident recovery.

Can I use this skill for zero-downtime PostgreSQL schema changes in production?

Yes, it supports zero-downtime production deployments across PostgreSQL, MySQL, and other engines. It handles schema changes and data migrations while enforcing complete up and rollback patterns with verification queries.

What is the best way to prepare for production database migrations and on-call incidents?

The best way to prepare is by generating a comprehensive deployment runbook alongside the migration. This skill provides a runbook for on-call incidents, including index impact analysis and post-migration validation.

How do I ensure my data backups and verification queries are included during a database migration?

To ensure data backups and verification are included, you need a migration plan that enforces these steps. This skill automatically incorporates pre-migration data backups and verification queries into the generated migration files.

Does this database migration approach work with MySQL and other engines besides PostgreSQL?

Yes, this database migration approach works with PostgreSQL, MySQL, and other database engines. It designs safe, reversible schema changes and data migrations tailored to your specific database environment.

How to validate database schema changes before completing a production deployment?

Validating database schema changes involves running post-migration validation and verification queries. This skill generates these checks and provides a deployment runbook to verify the success of your production migrations.