Skip to content
Back to skills

Review Code Criteria

ASecurity

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.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 4, 2026
ai-agents

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add mayankmankhand/llm-peer-review --skill review-code-criteria --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Review Code Criteria?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Review Code Criteria
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mayankmankhand-review-code-criteria-04921dd8/badge)](https://www.skillsdirectory.com/skills/mayankmankhand-review-code-criteria-04921dd8)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Files in this skill

  • SKILL.md2.6 KB
  • agents/openai.yaml199 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.