一键导入
x-review
Deep regression review of VSDB changes or the full repository. Use only when the user explicitly invokes /x-review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deep regression review of VSDB changes or the full repository. Use only when the user explicitly invokes /x-review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Review, fix, validate, and commit VSDB worktree changes as atomic commits. Use only when the user explicitly invokes /x-commit.
Resolve the VSDB audit backlog sequentially, with one finding per validated local commit. Use only when the user explicitly invokes /x-fix.
Audit the full VSDB repository, resolve every finding safely, and create atomic local commits. Use only when the user explicitly invokes /x-overhaul.
| name | x-review |
| description | Deep regression review of VSDB changes or the full repository. Use only when the user explicitly invokes /x-review. |
| argument-hint | [N | all | staged | worktree | <hash> | <hash1>..<hash2>] [--fix] |
| disable-model-invocation | true |
Review VSDB changes with high-signal, evidence-based analysis. Source code stays
read-only unless the user supplied --fix; the normal workflow may update only
docs/audit.md. It never commits or pushes.
.claude/docs/workflow-policy.md..claude/docs/technical-patterns.md..claude/docs/review-core.md and use its Subsystem Map as the canonical
file-to-guide mapping..claude/docs/false-positive-guide.md..claude/docs/compatibility-policy.md when public API, serialized
metadata, durable keys/values, namespace layout, or format markers may change.Arguments: $ARGUMENTS
Accept exactly one optional scope plus an optional --fix:
| Input | Scope |
|---|---|
| (empty) | Latest commit |
N | Last N commits; N must be a positive integer |
staged | Staged changes (git diff --cached) |
worktree | All staged, unstaged, and untracked worktree changes |
all | Full repository audit |
<hash> | One commit |
<hash1>..<hash2> | Exact commit range |
Validate revisions with Git. Reject unknown, ambiguous, or extra arguments with the usage string; never guess the intended range.
--fix applies confirmed fixes to the current worktree after reporting. For a
historical scope, first prove the candidate still exists at current HEAD;
never fix or register an already-resolved bug.
workflow-policy.md.worktree includes untracked paths from git status --short.all uses a tracked-file ledger covering both crates' source, tests,
benches/build scripts, manifests/CI, public docs, and .claude/.Review a small, single-subsystem diff directly. Use agents only when separate context materially improves coverage:
all, partition the depth pass into disjoint subsystem batches. Every
tracked Rust source file has one owner. Add a later cross-subsystem pass only
for interactions a file-local pass cannot establish.Every candidate finding includes:
Discard preferences, unsupported speculation, and false-positive-guide matches.
The orchestrator re-reads and actively tries to disprove every candidate. Use one independent read-only verifier only when control flow or an invariant remains genuinely ambiguous; correlated agent majority voting is not proof.
A finding survives only when its trigger and outcome follow from current code. Deduplicate symptoms sharing one root cause.
For diff scopes, account for every changed file, public/persisted contract,
failure path, and relevant test. For all, reconcile the tracked-file ledger
and run a focused critic over uncovered files or invariants only.
Update docs/audit.md from current-code evidence:
Open entries; resolution history belongs in Git and
CHANGELOG, not an ever-growing Resolved section.Open, deduplicated and sorted
CRITICAL → HIGH → MEDIUM → LOW.Won't Fix entries whose code, callers, assumptions, or
subsystem intersect this review; all re-evaluates every entry.Won't Fix only with a concrete reason.Rejected only an existing or plausibly recurring claim with
useful counter-evidence. Rejected is not a severity.## Open
### [SEVERITY] subsystem: summary
- **Where**: file:line_range
- **What**: concrete defect
- **Why**: trigger, outcome, and violated invariant
- **Suggested fix**: minimal safe direction
## Won't Fix
### [SEVERITY] subsystem: summary
- **Where**: file:line_range
- **What**: concrete defect/debt
- **Reason**: why a safe fix is currently disproportionate
## Rejected
### subsystem: rejected claim
- **Where**: file:line_range
- **Claim**: allegation
- **Reason**: evidence showing why it is not a bug
Report scope, covered subsystems/invariants, and each confirmed finding's severity, location, trigger, outcome, compatibility impact, and fix direction. If none survive, state that plainly and summarize meaningful coverage.
--fix only)docs/audit.md./x-commit after inspecting the worktree.