一键导入
db-review
Use when the user says "review migrations", "db review", "check schema changes", "safe to migrate?", or before deploying schema changes to production.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user says "review migrations", "db review", "check schema changes", "safe to migrate?", or before deploying schema changes to production.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user says "/deep-review", "deep review", "thorough review", or wants the deepest possible code review before pushing a branch.
Use when the user says "/harness-update", "update the harness", "upgrade agent-harness", "pull the latest harness", or after seeing an UPGRADE_AVAILABLE notice. Pulls latest harness files into this project, preserves project-specific configuration and local-only skills, and walks the user through any conflicts.
Use when the user wants to audit or understand the agent harness itself — its hooks, skills, agents, or commands — or asks "what's in this harness", "how does this harness work", or "harness overview".
Use when the user has a one-off task that slots into the current sprint and needs a quick written plan — lighter than /plan-sprint. Reads existing plans for context, uses plan mode, writes a focused plan file.
Use when the user says "/build", hands off a sprint-plan document path, or asks to execute a written plan end-to-end. Branches, implements, tests, verifies in browser, commits incrementally, and prepares the PR. Auto-fires /lg-* skills when plan steps involve LangGraph/LangChain agent work.
Use when encountering a bug, test failure, or unexpected behavior — runs staged investigation before implementing any fix.
| name | db-review |
| description | Use when the user says "review migrations", "db review", "check schema changes", "safe to migrate?", or before deploying schema changes to production. |
| user-invocable | true |
| tier | rigid |
| kind | verification |
Override: see
CLAUDE.md§ Instruction precedence. The user is principal; this skill is advisory.
Review pending database migrations and schema changes for safety before deploying to production. Catches destructive operations, missing indexes, irreversible changes, and missing rollback plans.
NO MIGRATION APPROVAL WITHOUT ROLLBACK PLAN AND DATA-LOSS ANALYSIS
Every migration produces three written artifacts: destructive-op verdict, index review, and rollback plan. "We discussed it last week" is not a plan. "30 days of no reads" is not analysis.
REQUIRED SUB-FILE: checks.md — destructive-op table, index patterns, rollback assessment, output format.
HARNESS_DB_MIGRATIONS_DIR and the diff on HARNESS_DB_SCHEMA_PATH.CREATE INDEX CONCURRENTLY on >10M rows.Any FAIL = SAFE TO DEPLOY: NO.
All of these mean: stop. Block the migration until the missing artifact lands.
REQUIRED SUB-FILE: Read rationalizations.md if you find yourself making excuses. The verbatim-excuse-to-reality table is anchored in the migration-fast-track baseline and is specifically tuned to convert prior team agreement back into present evidence.
CREATE INDEX CONCURRENTLY is used on any index against a non-empty table.Cannot check all boxes? SAFE TO DEPLOY: NO. Block until addressed.
/security-review).