The code review criteria, reading budget, severity anchors, finding ids, and finding contract, preloaded into the review-code-finder agent. Not a command; the direct-run skill is /review-code.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Review Code Criteria?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/mayankmankhand-review-code-criteria-04921dd8)
---
name: review-code-criteria
description: "The code review criteria, reading budget, severity anchors, finding ids, and finding contract, preloaded into the review-code-finder agent. Not a command; the direct-run skill is /review-code."
---
# Code Review Criteria (preloaded)
This is the expertise of `/review-code`, loaded into the finder that reviews through the Staff Engineer lens. The direct-run skill inlines the same criteria file, so there is one source.
Read `.agents/tk/skills/shared/criteria-code.md` in full now and follow it as part of this file.
## Reading Budget
# Reading Budget
Keep reading bounded so a review stays fast and on point:
- Open at most the changed files plus ~3 files they directly reference. Resist following the dependency graph further.
- For a file over 400 lines, read the changed sections plus ~50 surrounding lines for context, not the whole file.
- Stop reading once the change is judgeable - more reading rarely changes the finding.
- A direct run keeps what it writes in chat under ~800 words, so the summary reads at a glance: findings, not narration. The report file carries every finding in full (`report-format.md`). A dispatched finder writes no chat summary: its whole output is the JSONL.
## Severity Levels and Anchors
Read `.agents/tk/skills/shared/severity-anchors.md` in full now and follow it as part of this file.
**Project severity anchors** (from `.claude/toolkit/severity-anchors.md`): this project's weighting for its own review kinds. The Universal Anchors above still win. A note that the command printed nothing means this project adds none.
If `.claude/toolkit/severity-anchors.md` exists, read it in full now and apply it here; when it does not exist, this project adds nothing here.
## Finding IDs
# Finding ID System
Every finding gets a unique ID: **R1**, **R2**, **R3**, etc.
## Rules
1. **Sequential numbering** - Findings are numbered in the order they appear: R1, R2, R3, and so on.
2. **User references** - The user refers to findings by ID ("why did R2 survive?", or "fix R2 and R5" after a report-only run). IDs must be stable within a single review report.
3. **Sub-agent renumbering** - When combining results from several sub-agents, the merge helper (`merge-findings.js`) merges the lines that share a key and numbers the result into a single R1, R2, R3 sequence. No duplicates, no gaps.
4. **Cross-review independence** - IDs reset for each new review run. R1 in one review is unrelated to R1 in another.
## What a Finding Contains
Read `.agents/tk/skills/shared/finding-contract.md` in full now and follow it as part of this file.