database-migrator

Generate database migration plans with rollback strategies for schema changes.

Updated Nov 22, 2025
One-click install
npx skills add https://github.com/Khamel83/oneshot --skill database-migrator-khamel83
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migrator
Source: https://github.com/Khamel83/oneshot/tree/main/archive/v9/skills/database-migrator
Command: npx skills add https://github.com/Khamel83/oneshot --skill database-migrator-khamel83

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Handles safe database migrations by generating migration plans with rollback strategies for schema changes and data transformations.

Core Features & Use Cases

  • Generates migration files for SQL and NoSQL databases.
  • Provides rollback strategies and zero-downtime patterns.
  • Documents migration steps, reviews, and testing guidance.

Quick Start

Provide a clear prompt to generate a migration plan with rollback steps for a given schema change.

Frequently Asked Questions about database-migrator

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

FAQPage Schema
How do I create a safe database migration with a rollback plan?

To create a safe database migration with a rollback plan, you generate migration files that include schema changes, data transformations, and specific rollback strategies to ensure zero-downtime during deployments.

Does this database migration approach work with both SQL and NoSQL databases?

Yes, this database migration approach works with both SQL and NoSQL databases, providing platform-specific script templates and rollback strategies for relational changes as well as MongoDB and Redis migrations.

Can I generate zero-downtime migration scripts for Prisma and Alembic?

Yes, you can generate zero-downtime migration scripts for Prisma and Alembic, using enforced concrete templates and guidance to safely manage adding indexes, renaming columns, and changing types.

What is the best way to handle schema changes without downtime?

The best way to handle schema changes without downtime is using zero-downtime migration patterns that document migration steps, enforce testing guidance, and provide rollback strategies for SQL and NoSQL databases.

How do I rollback a failed database schema change?

To rollback a failed database schema change, you execute the predefined rollback strategies included in your migration files, which are designed to reverse data transformations and structural modifications safely.