review-mode
Switch to critic mode after finishing a chunk, produce PASS / FIX / REDO verdict. USE WHEN: sub-task boundary reached, user said "review" / "double-check" /…
от MiniMax-AI★ 30 звёзд на GitHub
Установить review-mode в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Review Mode
After you write code, before you say "done", switch hats. You were the author; now you are the reviewer. The reviewer has one job: find the things the author didn't.
This Skill is the cheapest insurance you can buy against the most common agent failure mode — declaring a task done when it is not.
When to use
Activate when any of these is true:
- A non-trivial sub-task has just finished (a function, a file, a config, a migration, a test suite, a doc section).
- The user said "review this", "double-check", "is this right", "spot the bug", or "any issues with this?".
- You are about to mark a
todowritestep[x]as done and that step touches anything the user will rely on. - The work crossed a trust boundary (production, public API, schema, persisted data, a contract someone else will code against).
When NOT to use
- A trivial one-line edit. The marginal value of review is too low to pay the token cost.
- The user explicitly said "ship it" / "no review" / "just commit" in this turn.
- You are mid-stream on a single step and the next step will surface errors anyway (e.g. running the test suite next).
- The work is exploratory (a sketch, a draft, "show me what you mean"). Review it later, when the draft becomes a proposal.
Process
State the review scope in one sentence before you read anything: "Reviewing the auth refactor: 4 files changed, new
OidcProvidertrait, SAML tests must still pass." Future you needs the boundary.Re-read your own output from a critic's position. Open the file(s) you changed. Do not re-read the diff; read the result. Look for:
- Off-by-one, wrong-sign, null/None mishandling, empty-collection edge cases.
- Naming that lies (function called
validatethat does not validate). - Log/error paths that swallow useful information.
- Tests that pass for the wrong reason (e.g. asserting
==on a value the function never returns). - Public API surface that locks in a bad design (a struct that is too wide to evolve, a flag that should be an enum).
- Comments that contradict the code.
Run the verifier if there is one. Tests, linter, type-check, schema diff, manual smoke. If the verifier says green, you have evidence; if it is silent, you have hope. Do not ship hope.
Produce a verdict in this exact shape:
## Review — <scope> **Verdict**: PASS / PASS with caveats / FIX required / REDO **What I checked** (bullet list of specific things): - <...> **What I found** (concrete defects, not vibes): - <file:line — defect — fix> - (or "none") **What I am unsure about** (so the user can decide): - <...> - (or "nothing — the verifier ran and the design matches the spec")Apply fixes if the verdict is FIX / REDO and the fix is small. Do not fix large things in review mode; surface them and start a new
plan-stream-emitcycle.If PASS, continue to the next step. The review record is part of the audit trail — keep it short but specific.
Output contract
The user sees, in this order:
- One-line scope statement.
- The Review block above.
- (If fix) the one-line summary of what you fixed.
- (If PASS) the next concrete step.
Example
Reviewing the auth refactor: 4 files changed, new `OidcProvider` trait, SAML tests must still pass.
## Review — auth refactor (OIDC adapter v1)
**Verdict**: PASS with caveats
**What I checked**:
- `cargo check` on the workspace
- `cargo test auth::` (all 14 tests pass, including the 12 unchanged SAML ones)
- the new `OidcProvider` trait signature for type-correctness
- the `auth.oidc_enabled = false` default path against the existing SAML flow
**What I found**:
- `src/auth/oidc/mod.rs:42` — `expires_at` is `i64` not `u64`; future-dated tokens underflow.
Fix applied (cast + `saturating_sub`).
- `src/auth/callback.rs:91` — error path on token exchange returns the raw HTTP body, leaks
the client_secret on 4xx. Fix applied (redact before returning).
- nothing else
**What I am unsure about**:
- whether the OIDC `nonce` claim should be persisted in the session store; the Okta
spec says yes, Auth0 says optional. Pick before merging.
Common pitfalls
- Do not review your own diff — review the result. A diff makes you forgive yourself (you remember why each line is there). The file on disk has no such forgiveness.
- Do not write "looks good" as a verdict. "Looks good" is a vibe, not a finding. Name the specific things you checked, even if they are negative ("verified X, Y, Z are absent").
- Do not skip the verifier step. If there is no test, run the build. If there is no build, read the file with a critical eye.
- Do not fix in review mode beyond trivial. Anything that takes more than 2-3 minutes to fix is a new sub-task, not a review item. Surface it.
- Do not produce a 50-line review report for a 5-line change. Mat
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-mode?
Switch to critic mode after finishing a chunk, produce PASS / FIX / REDO verdict. USE WHEN: sub-task boundary reached, user said "review" / "double-check" / "is this right" / "spot the bug" / "看一下" / "review 一下", before reporting "done" on anything user will rely on, after writing code / config / doc, after sub-agent returns. TRIGGER PHRASES: "review", "double-check", "看一下", "review 一下", "查一下", "检查", "找 bug", "is this right", "spot the bug", "verifier", "自己 review 一下". SKIP WHEN: one-line edit, user explicitly said "ship it" / "no more review" / "不用 review" in this turn, user can see result in chat immediately.
Как установить скилл review-mode?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-mode запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…