بنقرة واحدة
migration-gen
Generates a database migration file for schema changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generates a database migration file for schema changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| 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).
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