From migration-generator
Generates up and down database migration files based on a user-described schema change, detecting the migration tool (Prisma, Knex, TypeORM, Alembic, Django, Rails) and applying proper column types, constraints, indexes, and transactional DDL.
How this command is triggered — by the user, by Claude, or both
Slash command
/migration-generator:create-migrationThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /create-migration - Create Database Migration Generate a database migration file for schema changes. ## Steps 1. Ask the user for the migration description (e.g., "add users table", "add email index") 2. Detect the database and migration tool: Prisma, Knex, TypeORM, Alembic, Django, Rails 3. Analyze the requested schema change: new table, alter column, add index, etc. 4. Generate the up migration with the schema change SQL or ORM commands 5. Generate the corresponding down migration to reverse the change 6. Add proper column types, constraints, defaults, and nullability 7. Include inde...
Generate a database migration file for schema changes.
6plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub samuelj90/awesome-claude-code-toolkit --plugin migration-generator/create-migrationGenerates up and down database migration files based on a user-described schema change, detecting the migration tool (Prisma, Knex, TypeORM, Alembic, Django, Rails) and applying proper column types, constraints, indexes, and transactional DDL.
/db-migrateGenerates a reversible database migration file for schema changes, auto-detecting the ORM or migration tool in use.
/migration-genGenerates a database migration file from a schema change description or diff, auto-detecting the framework (Alembic, Flyway, Django, Prisma, etc.) and following existing naming conventions.
/create-migrationGenerates a timestamped database migration file with up/down functions, auto-detecting Knex, TypeORM, Prisma, or Sequelize.
/migrateAuto-detects ORM/migration tool and generates idiomatic database migrations with backward compatibility checks, rollback validation, lock estimates. Applies, rolls back, or shows status via flags.