review-verification-protocol
БесплатноБез исполняемых скриптовНе проверенEnforces mandatory verification steps for all code reviews to eliminate false positives and confabulated findings. Use before reporting any code review…
от existential-birds★ 92 звезды на GitHubОб этом скилле
Review Verification Protocol
This protocol MUST be followed before reporting any code review finding. Skipping these steps leads to false positives that waste developer time and erode trust in reviews.
Anti-confabulation (gate 0 — applies to ALL review/verify skills)
Before issuing any verdict — confirm, reject, sever, fix, or adjudicate — you MUST echo the exact artifact you are judging, quoted from a source you read in this turn:
- For a code finding: the file:line plus the cited code, read freshly now (not recalled from earlier in the session).
- For a diff review: the actual diff hunk under review.
- For a structured report (e.g.
verify-llm-artifactsadjudicatingfindings[]): the finding's id + file + line + description, printed from the parsed source file, not from memory.
The artifact is the only source of truth. Never infer what you are reviewing from the branch name, the working directory, surrounding files, or recollection. If your mental model differs from the freshly read source, the source wins. A verdict issued without a same-turn echo of its target is invalid — emit the echo first, or do not emit the verdict.
This gate exists because an LLM under contextual priming will confidently adjudicate things that are not in the file. It runs before the per-finding hard gates below. Skills that consume this protocol implement it concretely: verify-llm-artifacts (Load + ECHO + ID-lock gate), review-llm-artifacts (echo finding before writing JSON), llm-artifacts-detection (anchor FILE:LINE from an opened buffer).
Hard gates (sequence)
Apply once per finding before it may appear in the review. If a gate fails, omit the finding, downgrade to Informational (per Severity Calibration), or rephrase as a question—do not ship soft accusations.
| Step | What you do | Pass condition (objective) |
|---|---|---|
| 1. Anchor | Read the full enclosing symbol or module, not only the diff hunk. | You can state file path and line range (or symbol name + file) you are judging. |
| 2. Evidence | For this finding's type, run the checks in Verification by Issue Type. | Each required check has an artifact: pasted tool output, file:line citation, or explicit "none" / "N matches" after a repo search—not a claim you "looked." |
| 3. Severity | Assign severity using Severity Calibration. | Label matches the table; requests for net-new code that did not exist in scope are Informational only. |
| 4. Format | Draft the finding for the report. | Matches [FILE:LINE] ISSUE_TITLE; Informational items do not add to the actionable count. |
Style-only or preference items must fail gate 2 or map to Do NOT Flag At All—they do not get a severity.
Pre-Report Verification Checklist
Before flagging ANY issue, verify (these items are what gate 2 must produce evidence for):
- I read the actual code - Not just the diff context, but the full function/class
- I searched for usages - Before claiming "unused", searched all references
- I checked surrounding code - The issue may be handled elsewhere (guards, earlier checks)
- I verified syntax against current docs - Framework syntax evolves (Tailwind v4, TS 5.x, React 19)
- I distinguished "wrong" from "different style" - Both approaches may be valid
- I considered intentional design - Checked comments, project conventions (e.g. AGENTS.md or project convention docs), architectural context
Verification by Issue Type
"Unused Variable/Function"
Before flagging, you MUST:
- Search for ALL references in the codebase (grep/find)
- Check if it's exported and used by external consumers
- Check if it's used via reflection, decorators, or dynamic dispatch
- Verify it's not a callback passed to a framework
Common false positives:
- State setters in React (may trigger re-renders even if value appears unused)
- Variables used in templates/JSX
- Exports used by consuming packages
"Missing Validation/Error Handling"
Before flagging, you MUST:
- Check if validation exists at a higher level (caller, middleware, route handler)
- Check if the framework provides validation (Pydantic, Zod, TypeScript)
- Verify the "missing" check isn't present in a different form
Common false positives:
- Framework already validates (FastAPI + Pydantic, React Hook Form)
- Parent component validates before passing props
- Error boundary catches at higher level
"Type Assertion/Unsafe Cast"
Before flagging, you MUST:
- Confirm it's actually an assertion, not an annotation
- Check if the type is narrowed by runtime checks before the point
- Verify if framework guarantees the type (load
Установить review-verification-protocol в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл review-verification-protocol?
Enforces mandatory verification steps for all code reviews to eliminate false positives and confabulated findings. Use before reporting any code review, static analysis, or audit findings.
Как установить скилл review-verification-protocol?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-verification-protocol запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic