一键导入
migration-run
Checks migration status, runs pending migrations, and verifies the result
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Checks migration status, runs pending migrations, and verifies the result
用 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-run |
| description | Checks migration status, runs pending migrations, and verifies the result |
| user-invocable | true |
| allowed-tools | Bash Read |
| effort | low |
npx prisma migrate status 2>/dev/null \
|| npx knex migrate:status 2>/dev/null \
|| npx sequelize-cli db:migrate:status 2>/dev/null \
|| ls migrations/ | tail -5
Show pending migrations and what each one does (read migration files).
Ask for confirmation before running.
Run migrations:
npx prisma migrate deploy 2>/dev/null \
|| npx knex migrate:latest 2>/dev/null \
|| npx sequelize-cli db:migrate 2>/dev/null
Verify the result - check migration status again to confirm all are applied.
If migration fails:
npx prisma migrate reset (caution: destructive)Safety rule: Never suggest dropping data without explicit confirmation and backup verification.