migration-generator

Generate up/down database migration scripts for Alembic, Flyway, and Liquibase.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires alembic, flyway, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of database migration scripts for various tools, simplifying the process of managing database schema changes.

Core Features & Use Cases

  • Multi-Tool Support: Generates migrations for Alembic, Flyway, Liquibase, and framework-native tools.
  • Up/Down Scripts: Creates both forward and backward migration scripts.
  • Use Case: You need to add a new users table to your PostgreSQL database using Alembic. This Skill can generate the necessary up and down migration files for you.

Quick Start

Generate a new Alembic migration script for adding a 'users' table.

Frequently Asked Questions about migration-generator

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

FAQPage Schema
How do I generate database migration scripts for Alembic and Flyway?

You can generate database migration scripts by defining your explicit migration targets and desired schema changes, which produces forward and backward migration files for Alembic and Flyway.

Can I create both up and down database migrations automatically?

Yes, generating up and down database migrations automatically creates both forward and backward migration scripts, allowing you to apply schema changes and roll them back safely.

Does this support schema versioning for tools like Liquibase?

Yes, schema versioning is supported for tools like Liquibase, automating the creation of necessary migration scripts to manage and deploy database schema changes across your workflow.

What do I need to provide to automate database schema deployment?

To automate database schema deployment, you must provide explicit definitions of your migration targets and the specific schema changes you want applied to your database.

What's the best way to add a new table using a database migration tool?

The best way to add a new table using a database migration tool is to specify the target schema changes, which generates the necessary up and down migration files for your framework.