review
Single adversarial review pass over the integrated diff at the tip of the integration ref. One fresh-context reviewer judges spec-compliance, code quality and…
от lvlup-sw★ 19 звёзд на GitHub
Установить review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Review Skill
Overview
One adversarial review pass over the complete integrated diff: the diff from the capsule base to the tip of the integration ref. A single fresh-context reviewer judges spec-compliance, code quality and test adequacy together. The pass returns one critic claim. The skill makes no Remit call. The coordinator submits the claim with remit settle, and settlement computes the verdict at the tip that it observes.
Posture: you are an ADVERSARIAL reviewer. Your job is to find what is wrong, not to confirm what is right.
MANDATORY: before you accept a reason to approve without full verification, read
references/rationalization-refutation.md. It lists every common excuse with a counter-argument and the correct action.
Execution Context
This skill runs in a SUBAGENT that the coordinator spawns, not inline. The reviewer starts clean, with no authoring transcript.
The coordinator:
- Reads the capsule: the
criticstage ofgraph.stages(itsstageIdandreviewContext),authority.invariants[]and the pinned base commit of the root tasks. - Reads the integration tip after the last landing:
git -C <integration checkout> rev-parse HEAD. - Makes the integrated diff once with git:
git -C <integration checkout> diff <baseCommit>...<tip>. - Dispatches one reviewer agent through the spawn primitive of the runtime. The prompt holds the diff, the tip, the design record path, and
reviewContext.acceptance. Include the statements for the IDs inreviewContext.auditInvariantIds.
The reviewer is read-only. Dispatch it anonymous, with no worktree (see the delegate reference parallel-strategy.md).
Intent grounding (intended-vs-delivered)
reviewContext.acceptance and the design record state the intended change. Verify the delivered diff against them:
- Intended-but-missing: a surface or outcome that the intent calls for and the diff does not deliver. Report it as a
specissue. - Delivered-but-unintended (scope creep): changes outside the intended surfaces with no spec justification. Report it as a
specissue.
What the pass covers
Review the combined diff of all tasks in one view. This catches interface mismatches between tasks, bugs that are not visible in one task, and inconsistent patterns. Cover all three lenses in the single pass:
- Spec-compliance: functional completeness, specification alignment, intended-vs-delivered. See
references/spec-compliance-checklist.md. - Test adequacy: outcome-based and scaled to the tier. For each medium or high task, read the tests that the task added or changed. Each one must assert the changed behavior and go red against a stubbed-out implementation. A test that cannot fail is a finding against that task. A low-tier task needs no test unless its behavior is not obvious.
- Code quality: correctness, SOLID, error handling, security, performance, maintainability and test quality (behavioral, structure-insensitive, deterministic, specific). See
references/code-quality-checklist.md,references/security-checklist.mdandreferences/typescript-standards.md.
The review checklist
references/review-checklist.md holds the checks that the reviewer runs by reading the diff: security patterns (D1), the static-analysis result (D2), context economy (D3), operational resilience (D4) and workflow determinism (D5). Record one entry for each dimension in dimensionResults. Set passed to false only when the dimension has a HIGH finding. A dimension with only MEDIUM or LOW findings gets passed: true and its findingCount.
Settlement runs the static analysis of each task, the integration suite at the tip, a security pattern scan and the check-mode invariants itself. The reviewer does not run them as gates, and it does not repeat their verdicts. It reports what it reads in the diff.
Invariants: audit-mode judgment is YOURS
reviewContext.invariantIds lists all pinned invariants. reviewContext.auditInvariantIds lists the subset that requires your judgment. Settlement evaluates the check-mode invariants. If the capsule omits auditInvariantIds, treat the list as empty.
Answer every ID in reviewContext.auditInvariantIds. For each one, read its statement, judge the diff against it, and:
- Violated: report a finding with
categoryset to the invariant id, andseverityfrom the severity of the invariant (blockinggivesHIGH,advisorygivesMEDIUM). For ablockinginvariant, record{ "passed": false, "findingCount": <n> }under the invariant id indimensionResults. For anadvisoryinvariant, record{ "passed": true, "findingCount": <n> }, so the MEDIUM finding is counted but does not block. - Satisfied: record
{ "passed": true, "findingCount": 0 }under the invariant id, so the id is visibly accounted for.
These answers go in the dimensionResults of the critic claim that you give to settle. Settlement gives `NEEDS_FIXE
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/code-quality-checklist.md
- references/critic-claim.md
- references/rationalization-refutation.md
- references/review-checklist.md
- references/review-report-template.md
- references/security-checklist.md
- references/spec-compliance-checklist.md
- references/typescript-standards.md
- references/worked-example.md
FAQ
Что делает скилл review?
Single adversarial review pass over the integrated diff at the tip of the integration ref. One fresh-context reviewer judges spec-compliance, code quality and test adequacy together, and returns one critic claim (finding counts, reviewedTip, dimensionResults). The coordinator submits the claim with remit settle, which computes the verdict. Triggers: /review, 'review the changes', or after delegation lands its heads. Do NOT use for plan-review (that is its own dispatched gate) or for debugging.
Как установить скилл review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review запускает скрипты?
Нет, скилл состоит только из инструкций (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…