database-migration

Detect ORMs and generate validated migrations for Prisma, SQLAlchemy, Drizzle, and Django.

3|2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/ukwhatn/.claude --skill database-migration-ukwhatn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration
Source: https://github.com/ukwhatn/.claude/tree/main/skills/database-migration
Command: npx skills add https://github.com/ukwhatn/.claude --skill database-migration-ukwhatn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DB migration support for schema changes and migration requests, including automated ORM detection, naming convention checks, and verification of consistency with existing migrations.

Core Features & Use Cases

  • Automated ORM detection across Prisma, SQLAlchemy, Drizzle, and Django migrations
  • Naming convention verification to enforce consistency
  • Migration generation and validation to ensure alignment with existing migrations
  • Use Case: When a schema changes, generate migrations that integrate cleanly with current migrations and naming rules, with built-in validation

Quick Start

Describe schema changes and run the migration workflow to generate and validate the migration with your ORM.

Frequently Asked Questions about database-migration

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

FAQPage Schema
How do I generate database migrations that match my existing naming conventions?

To generate database migrations with consistent naming conventions, the workflow detects your active ORM and applies schema changes while verifying naming conformity against existing migrations. This ensures new migration files integrate cleanly with your current database schema and naming rules.

Can I use this to automate ORM migration validation across multiple frameworks?

Yes, you can automate ORM migration validation across Prisma, SQLAlchemy, Drizzle, and Django. The process detects your specific ORM, generates the required migration files, and performs explicit validation and rollback checks to ensure alignment with your current database schema.

What's the best way to ensure rollback checks are performed during a schema change?

The best way to ensure rollback checks during a schema change is to run the automated migration workflow, which performs explicit rollback validation and status checks after generating the migration files for your detected ORM. This guarantees your database schema change can be safely reverted.

Do I need to manually specify my ORM before generating database migrations?

No, you do not need to manually specify your ORM before generating database migrations. The workflow automatically detects whether you are using Prisma, SQLAlchemy, Drizzle, or Django, and prepares the corresponding migration files based on the detected framework and your schema changes.

Why does my generated database migration fail consistency checks with existing files?

Generated database migrations fail consistency checks when new schema changes do not align with existing migration files or naming conventions. The workflow identifies these discrepancies by applying naming conformity rules and validation checks before finalizing the ORM migration generation.