ワンクリックで
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 職業分類に基づく
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).