From migrate-tool
Generates a reversible database migration file for schema changes, auto-detecting the ORM or migration tool in use.
How this command is triggered — by the user, by Claude, or both
Slash command
/migrate-tool:db-migrateThe summary Claude sees in its command listing — used to decide when to auto-load this command
Generate a database migration file for schema changes. ## Steps 1. Detect the ORM or migration tool in use (Prisma, Drizzle, Knex, Alembic, Django, GORM). 2. Analyze the requested schema change: - Add/remove tables or columns. - Modify column types, constraints, or defaults. - Add/remove indexes or foreign keys. 3. Generate the migration file in the correct format for the tool. 4. Include both `up` and `down` migration functions for reversibility. 5. Handle data migrations if column types change: - Add new column, copy data, drop old column, rename new column. 6. Validate the ...
Generate a database migration file for schema changes.
up and down migration functions for reversibility.Migration: <YYYYMMDDHHMMSS>_<description>
Tool: <ORM/migration tool>
Up:
- <change description>
Down:
- <reverse change>
Data migration required: <yes/no>
6plugins reuse this command
First indexed Mar 30, 2026
npx claudepluginhub samuelj90/awesome-claude-code-toolkit --plugin migrate-tool/db-migrateGenerates a reversible database migration file for schema changes, auto-detecting the ORM or migration tool in use.
/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.
/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.