database-migration-helper

Generates editable CRUD screens and API endpoints from a database schema.

7|2|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/Dexploarer/hyper-forge --skill database-migration-helper-dexploarer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration-helper
Source: https://github.com/Dexploarer/hyper-forge/tree/main/.claude/skills/database-migration-helper
Command: npx skills add https://github.com/Dexploarer/hyper-forge --skill database-migration-helper-dexploarer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires prisma, typeorm, alembic, sequelize, pg, and includes scripts (resource) components.

What problem does it solve?

This Skill helps create safe and reversible database migrations for various ORMs (Prisma, TypeORM, Alembic, Sequelize) and raw SQL. It ensures proper schema changes, data transformations, and rollback support, preventing data loss and simplifying database evolution.

Core Features & Use Cases

  • ORM-Specific Templates: Provides migration templates for Prisma, TypeORM, Alembic, and Sequelize.
  • Data Migration Guidance: Offers patterns for complex data transformations and ensures transactional safety.
  • Rollback Support: Emphasizes creating both up and down migrations for easy reversibility.
  • Use Case: To add a role column to your users table using TypeORM, ask this skill to "create a database migration to add a user role." It will generate the migration file with up and down methods, including schema changes, index creation, and data migration examples.

Quick Start

Create a database migration to add a 'status' column to the 'orders' table using Prisma.

Frequently Asked Questions about database-migration-helper

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

FAQPage Schema
How do I create safe, reversible database migrations across different ORMs?

Database migrations should include both `up` and `down` methods for reversibility. This Skill generates ORM-specific migration templates for Prisma, TypeORM, Alembic, and Sequelize, with schema changes, index creation, and rollback scripts to prevent data loss during database evolution.

Can I generate migrations for Prisma, TypeORM, and Sequelize in the same project?

Yes. This Skill provides migration templates tailored to each ORM's syntax and patterns. Select your ORM when requesting a migration, and it generates the appropriate schema change, data transformation, and rollback logic for your framework.

How do I handle complex data transformations during schema changes?

Data migration patterns ensure transactional safety during transformations. This Skill offers guidance and templates for column additions, type conversions, and multi-step data changes, with examples showing how to migrate data alongside schema modifications in your chosen ORM.

What's the best way to add columns or indexes without downtime?

Migration templates include step-by-step approaches for schema changes with index creation and data migration examples. The Skill supports both development and CI pipeline use cases, generating demo-ready scripts you can test before applying to production databases.

Do I need to write separate up and down migrations for every change?

Yes, reversible migrations require both directions. This Skill generates paired `up` and `down` methods automatically, ensuring you can roll back schema changes and data transformations safely if issues arise during deployment.

Can this Skill work with raw SQL databases or only ORMs?

This Skill specializes in ORM-specific migrations for Prisma, TypeORM, Alembic, and Sequelize. It also supports raw SQL patterns, making it adaptable to projects using multiple database access approaches or custom migration tooling.