migration-generator

Community

Generate database migrations effortlessly.

AuthorCuriousLearner
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the complex and error-prone process of creating database migration scripts, ensuring consistency and safety across different database systems and ORMs.

Core Features & Use Cases

  • Automated Schema Changes: Generates up and down migration files for various database operations like adding/removing tables, columns, and indexes.
  • ORM Integration: Supports popular ORMs like Prisma, TypeORM, Alembic, and Django migrations.
  • Data Migrations: Handles backfilling data and complex data transformations safely.
  • Zero-Downtime Strategies: Provides patterns for safe schema changes in production environments.
  • Use Case: You've updated your application's user model and need to add a new last_login timestamp column. This Skill can generate the necessary SQL or ORM-specific migration files, including handling existing rows and ensuring reversibility.

Quick Start

Use the migration-generator skill to create a new migration for adding a 'last_login' column to the 'users' table.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: migration-generator
Download link: https://github.com/CuriousLearner/devkit/archive/main.zip#migration-generator

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 223,000+ vetted skills library on demand.