Help us improve
Share bugs, ideas, or general feedback.
From migrate-tool
Generates reversible database migration file for schema changes. Detects ORM (Prisma, Drizzle, Django, etc.), includes up/down functions, data migrations, validation, and dry-run.
npx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin migrate-toolHow 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 ...
/create-migrationGenerates up/down database migration files for schema changes using detected tool (Prisma, Django, Rails, etc.). Adds constraints, indexes, data logic; validates, saves to migrations dir, previews SQL.
/migrationGenerates timestamped up/down migration files for PostgreSQL, MySQL, SQLite, MongoDB using SQL or ORM, with run instructions and testing guidance.
/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.
/plan-migrationPlan safe schema migration with backward compatibility and rollback strategy.
/d1-create-migrationGuides interactive creation of Cloudflare D1 migrations, generating validated SQL files for adding tables, modifying schemas, indexes, data changes, or custom SQL.
/fire-migrate-databaseInteractively assess, plan, execute, and verify database migrations between PostgreSQL, MySQL, SQLite, and SQL Server with read-only source audits and confirmations.
Share bugs, ideas, or general feedback.
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>