review-verification-protocol-5d8f6e — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited review-verification-protocol-5d8f6e (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
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:
verify-llm-artifacts adjudicating findings[]): 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).
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.
Before flagging ANY issue, verify (these items are what gate 2 must produce evidence for):
Before flagging, you MUST:
Common false positives:
Before flagging, you MUST:
Common false positives:
Before flagging, you MUST:
Valid patterns often flagged incorrectly:
// Type annotation, NOT assertion
const data: UserData = await loader()
// Type narrowing makes this safe
if (isUser(data)) {
data.name // TypeScript knows this is User
}Before flagging, you MUST:
Common false positives:
Before flagging, you MUST:
Do NOT flag:
ONLY use for:
Use for:
Use for:
Use for:
These are NOT review blockers. They should be noted for the author's awareness but must not appear in the actionable issue count. The Verdict should ignore informational items entirely.
| Pattern | Why It's Valid | |||
|---|---|---|---|---|
| `map.get(key) \ | \ | []` | Map.get() returns `T \ | undefined`, fallback is correct |
| Class exports without separate type export | Classes work as both value and type | |||
as const on literal arrays | Creates readonly tuple types | |||
| Type annotation on variable declaration | Not a type assertion | |||
satisfies instead of as | Type checking without assertion |
| Pattern | Why It's Valid |
|---|---|
| Array index as key (static list) | Valid when: items don't reorder, list is static, no item identity needed |
| Inline arrow in onClick | Valid for non-performance-critical handlers (runs once per click) |
| State that appears unused | May be set via refs, external callbacks, or triggers re-renders |
| Empty dependency array with refs | Refs are stable, don't need to be dependencies |
| Non-null assertion after check | TypeScript narrowing may not track through all patterns |
| Pattern | Why It's Valid |
|---|---|
toHaveTextContent without regex | Handles nested text correctly |
| Mock at module level | Defined once, not duplicated |
| Index-based test data | Tests don't need stable identity |
| Simplified error messages | Test clarity over production polish |
| Pattern | Why It's Valid |
|---|---|
+? lazy quantifier in regex | Prevents over-matching, correct for many patterns |
| Direct string concatenation | Simpler than template literals for simple cases |
| Multiple returns in function | Can improve readability |
| Comments explaining "why" | Better than no comments |
Flag array index as key ONLY IF ALL of these are true:
Flag missing dependency ONLY IF:
Flag missing try/catch ONLY IF:
Final verification:
[FILE:LINE] ISSUE_TITLEIf uncertain about any finding, either:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.