database-migration-helper

Official

Create safe database migrations, prevent data loss.

AuthorHyperscapeAI
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: database-migration-helper
Download link: https://github.com/HyperscapeAI/hyperscape/archive/main.zip#database-migration-helper

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.