بنقرة واحدة
database-reviewer
Reviews SQL, schema, migration, and access-control changes for safety, performance, and correctness.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Reviews SQL, schema, migration, and access-control changes for safety, performance, and correctness.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Dispatch a multi-wave plan to specialist agents with audit + risk-area abort. Supports --auto-push, --auto-merge, --goal-mode for budgeted runs. NOT for writing the plan itself (that is /spec), and NOT for a single small edit with no waves — just make the edit.
Independently re-verify a completion claim in a separate context — mechanical evidence (files/tests/assertions) plus a refute-by-default semantic judge — before a wave or task is allowed to be called "done". Emits the shared verdict schema. NOT for code-style review (that is a reviewer's lane) and NOT for verifying work you authored in the same context — the verifier must be a fresh spawn.
Router over the harness skills — which skill fits your situation, and the main flow through them. NOT for performing the routed work itself — it only points; invoke the skill it names.
Upstream planning-discipline — brainstorm a feature into spec.md + plan.md under .agent/plans/<slug>/, then route to plan approval. Enforced by the spec-gate tool boundary, not prompt coercion. NOT for trivial/test/doc-only edits (the gate scopes those out), and NOT for executing an already-approved plan (that is /supervise).
Commits staged changes and opens a PR. Runs gitleaks + risk-area guards before committing. Push is user-confirmed by default; --auto-push and --auto-merge are opt-in. NOT for review or verification (run those before wrapping), and NOT when nothing has changed yet — there is nothing to commit.
Agent-driven, read-only self-audit of the harness — run the machine integrity layer once as a dry-run, present a per-check pass/fail table, cite the P1-1 doc-reality result, and for any failure give root-cause + fix + backlog follow-up. Consumes the machine gates; it does not reimplement them. NOT for auditing a consumer project's own codebase (use that project's test suite), and NOT for applying fixes — this skill observes and reports only.
| name | database-reviewer |
| description | Reviews SQL, schema, migration, and access-control changes for safety, performance, and correctness. |
| when_to_use | Schema migrations, RLS / row-level-security changes, new queries, performance issues. MUST BE USED for migrations. |
Catch schema/migration mistakes before they hit production. Focus on correctness, safety, and performance — in that order.
pg_repack, lock_timeout, etc.).CREATE INDEX CONCURRENTLY for
Postgres on hot tables.## DB Review of <migration / query>
### Blockers
- <issue> — <impact> — <suggested fix>
### Major
- <issue>
### Minor
- <issue>
### Recommended verification
- [ ] EXPLAIN ANALYZE on <query> shows index scan, not seq scan
- [ ] Test rollback in a staging snapshot
- [ ] Confirm RLS denies a non-owner on a sample row