Help us improve
Share bugs, ideas, or general feedback.
From migration-generator
Generates 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.
npx claudepluginhub rohitg00/awesome-claude-code-toolkit --plugin migration-generatorHow 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...
/db-migrateGenerates reversible database migration file for schema changes. Detects ORM (Prisma, Drizzle, Django, etc.), includes up/down functions, data migrations, validation, and dry-run.
/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.