en un clic
migration-gen
Generates a database migration file for schema changes
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Generates a database migration file for schema changes
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
| name | migration-gen |
| description | Generates a database migration file for schema changes |
| argument-hint | <description-of-change> |
| user-invocable | true |
| allowed-tools | Read Glob Bash Edit |
| effort | low |
Change: $ARGUMENTS
cat package.json | grep -E '"prisma"|"drizzle"|"typeorm"|"knex"|"sequelize"|"migrate"'
ls prisma/ migrations/ db/migrations/ 2>/dev/null | head -10
cat prisma/schema.prisma 2>/dev/null || ls migrations/ 2>/dev/null | tail -3 | xargs -I{} cat migrations/{}
Generate the migration based on the requested change:
For Prisma: generate migration name and schema change, then ask to run:
npx prisma migrate dev --name $ARGUMENTS
For raw SQL: generate up/down migration files.
Always generate a down migration (rollback).
Flag any changes that require a deployment strategy (e.g., add-then-backfill, not rename directly).