一键导入
deep-review
Use when the user says "/deep-review", "deep review", "thorough review", or wants the deepest possible code review before pushing a branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user says "/deep-review", "deep review", "thorough review", or wants the deepest possible code review before pushing a branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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 the user says "review migrations", "db review", "check schema changes", "safe to migrate?", or before deploying schema changes to production.
Use when encountering a bug, test failure, or unexpected behavior — runs staged investigation before implementing any fix.
| name | deep-review |
| description | Use when the user says "/deep-review", "deep review", "thorough review", or wants the deepest possible code review before pushing a branch. |
| user-invocable | true |
| tier | rigid |
| kind | verification |
Override: see
CLAUDE.md§ Instruction precedence. The user is principal; this skill is advisory.
The deepest pre-ship code review tier. Runs a 6-stage pipeline (SCAN → DISPATCH → TRIAGE → REVALIDATE → DECIDE → SYNTHESIZE) across 15 dimensions in parallel, then delivers the result as a code review — not a severity-graded incident report. Advisory only; does not auto-fire from /ship or /pre-deploy. Optimized for completeness over speed; typical mid-PR cost is $10–15 and 3–8 minutes wall-clock.
The output should feel like a senior engineer pair-reviewing beside the author — not a SOC ticket. That means:
(blocking) vs (non-blocking). No CRITICAL/HIGH/MED/LOW/NIT ladder. The (blocking) bar is borrowed from Google's code-review standard: block only if shipping the change as-is would worsen overall code health in a way the author would acknowledge once shown. Everything else is (non-blocking).issue / suggestion / question / nit / praise / thought / chore / note. See pipeline.md for the per-kind contract.issue with a suggestion, praise the non-obvious specifically (and sparingly).Approve with non-blocking comments default.NO REVIEW VERDICT WITHOUT EVERY DIMENSION REACHING PASS/WARN/FAIL/N/A AND EVERY PIPELINE STAGE EXECUTED
No exceptions:
file:line per (blocking) finding directly.REQUIRED SUB-FILE: Read pipeline.md for the full 5-stage spec (routing table, prompt assembly, kind vocabulary, report skeleton).
bin/deep-review-scan; parse the JSON manifest (diff, gates, conventions, scopes with exemplars).Agent tool-use blocks per the routing table in pipeline.md. Each dispatch carries the dim charter, PROJECT CONTEXT, CONVENTIONS (from SCAN), REFERENCE EXEMPLARS (from SCAN), scope packet, FP profile. Delegate security, db, langgraph to their existing skills.subagent_type: triage (haiku) over all findings. Apply per-FP-profile conviction thresholds + dedup. Dedup keeps the highest-impact citation per file:line (blocking > non-blocking issue > suggestion > question > nit).subagent_type: revalidator (opus) over every (blocking) finding AND every load-bearing (non-blocking) issue (conviction ≥ 0.7) from the high-FP dims {security, performance, concurrency, structural, error-handling, deps, dead-code}. Apply CONFIRMED/DISPUTED/FIXED verdicts.kind: question with divergence: set, call AskUserQuestion (one question per divergence, capped at 4 per run, options carry side-by-side preview of the file:line evidence). Persist each answer via bin/deep-review-record-convention --domain X --pattern Y --why Z --evidence "a:N, b:N" — this appends to CLAUDE.md ## Conventions so the next /deep-review run picks the rule up via SCAN. Skipped or beyond-cap divergences become kind: chore findings in the report. Skip the stage if no divergences survived.pipeline.md's skeleton (Summary → Before merge → Worth thinking about → Worth calling out → Conventions recorded → coverage matrix → N/A → pipeline notes). Save to .deep-review/<YYYY-MM-DD>-<branch-slug>-<short-sha>.md (short-sha keeps re-runs on the same date+branch from silently overwriting each other; same HEAD → same filename → idempotent). Run bin/deep-review-validate against it — must exit 0. Offer fixes via the AskUserQuestion tool.(blocking) because it's important" — without naming the code-health regression that ships if it isn't addressed.security or error-handling dimension N/A without justification..deep-review/.All of these mean: stop. Run the missing stage / dispatch / verification before any verdict.
Borrowed from Hauer's "OIR" (Observation → Impact → Request) and Greiler's review-guidelines work:
userId is null here?" beats "This is broken."suggestion without reasoning reads as taste. Cite the cost of NOT changing.issue with a suggestion. Never leave the author guessing the remedy.(blocking) for code-health regressions. Not preferences, not style, not "I'd have done it differently." If you cannot name what ships broken, it's (non-blocking).REQUIRED SUB-FILE: Read rationalizations.md if you find yourself making excuses. The verbatim-excuse-to-reality table is harvested from /skill-baseline runs against the unaided subagent — see docs/skill-baselines/deep-review-*-2026-05-25.md for the source transcripts under four pressure scenarios (time-pressure, sunk-cost, authority, context-exhaustion).
Agent calls in a single message.(blocking) finding AND every high-FP-dim load-bearing (non-blocking) issue (conviction ≥ 0.7) went through revalidate; verdict is CONFIRMED / DISPUTED / FIXED.file:line evidence quote read directly (not just from subagent summary) for each (blocking) finding.divergence finding was either (a) decided via AskUserQuestion + bin/deep-review-record-convention, or (b) demoted to kind: chore for the report. Stage 4.5 did not skip a single one without classifying it..deep-review/<date>-<slug>-<sha>.md AND bin/deep-review-validate <path> exits 0.issue (blocking) is paired with a concrete suggestion. If not, the review is incomplete.Cannot check all boxes? You skipped the skill. Start over from the missing stage.
/pre-deploy, /simplify, or /security-review standalone for that. /deep-review is the deep tier./security-review./review for that. /deep-review produces a local markdown report.