database-migration-helper

Generate reversible database migrations with up and down logic for Prisma, TypeORM, Alembic, and Sequelize.

91|44|Updated Jul 17, 2025
One-click install
npx skills add https://github.com/HyperscapeAI/hyperscape --skill database-migration-helper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-migration-helper
Source: https://github.com/HyperscapeAI/hyperscape/tree/main/.claude/skills/database-migration-helper
Command: npx skills add https://github.com/HyperscapeAI/hyperscape --skill database-migration-helper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the complex and error-prone process of creating database migrations across various ORMs (Prisma, TypeORM, Alembic, Sequelize) and raw SQL. It ensures migrations are safe, reversible, and include proper schema changes and data transformations, preventing data loss and downtime.

Core Features & Use Cases

  • Multi-ORM Migration Templates: Provides structured templates for Prisma, TypeORM, Alembic, and Sequelize, including up and down logic.
  • Complex Data Migrations: Guides through transforming and migrating data between schema versions, ensuring data integrity.
  • Use Case: When you need to add a role column to your users table and backfill existing users with a default role, use this Skill to "create a database migration." It will generate the necessary up and down SQL, including data migration logic, for your chosen ORM.

Quick Start

Create a database migration to add a 'role' column to the 'users' table and set a default value.