y-review

y-review is a command for Claude Code from yashs33244/the_y_coding_standard. It costs 138 tokens per session (1,642 once invoked), scanned A, original, MIT.

A code-review command that compares software changes with their plan and coding standards, then writes a report with severity levels and file locations.

In plain words
What is it for?
Use it to review uncommitted changes, a branch compared with main, or a specific path in a Git repository.
Why use it?
It helps find missing requirements, defects, and quality problems before a change is shipped.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the the-y-coding-standard plugin — 1 skill, 10 commands shipped together

Good fit Use it to review uncommitted changes, a branch compared with main, or a specific path in a Git repository.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yashs33244/the_y_coding_standard/y-review
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/yashs33244/the_y_coding_standard

Made for: Claude Code.

Or install the-y-coding-standard, the plugin that ships this one along with the rest of its 1 skill, 10 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for y-review

README.md
[![agentmods](https://agentmods.dev/badge/commands/yashs33244/the_y_coding_standard/y-review/github.svg)](https://agentmods.dev/commands/yashs33244/the_y_coding_standard/y-review)
Your own site
<a href="https://agentmods.dev/commands/yashs33244/the_y_coding_standard/y-review"><img src="https://agentmods.dev/badge/commands/yashs33244/the_y_coding_standard/y-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for y-review

Your own site · 80×15
<a href="https://agentmods.dev/commands/yashs33244/the_y_coding_standard/y-review"><img src="https://agentmods.dev/badge/commands/yashs33244/the_y_coding_standard/y-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,642 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.01642
Opus 5 $0.00069 $0.00821
Sonnet 5 $0.00028 $0.00328
Haiku 4.5 $0.00014 $0.00164

Measured 8d ago against content hash 46b17954a4c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

y-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/y-review.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/y-review

The "Did we build it?" gate. Step 05 of the Sprint Loop. After /y-build finishes you stop and ask: does the code on disk actually match the locked plan, and does it meet the_y_coding_standard? This command answers both. Plan compliance first, standards second, OOP third, tests fourth. Every finding gets a severity label and a file:line pointer. The output is a written report at findings/YYYY-MM-DD-review.md and a one-screen summary with a ship/hold recommendation.

Pre-flight

Before reviewing, confirm:

  1. We are in a git repo. If not, abort and tell the user to initialize one.
  2. There is an active plan in plans/. If none, ask the user which plan this code implements. If they say "no plan", that is itself a P0 finding (we shipped without a plan).
  3. Today's date is known. Use it to name the findings file.
  4. The findings/ folder exists. If not, create it.

Ask the user once: "Reviewing uncommitted changes, current branch vs main, or a specific path?" Default to current branch vs main if the user does not answer.

Workflow

1. Identify the diff scope

Run one of:

  • git diff for uncommitted changes.
  • git diff main...HEAD for current branch vs main.
  • git diff <ref>...HEAD -- <path> for a scoped path.

Capture the file list. If the diff is empty, stop and report "Nothing to review."

2. Locate the active plan

Look in plans/ for the most recent plan file or the one the user pointed to. Read it. Extract:

  • The stated scope (what we said we would build).
  • The acceptance criteria (how we said we would know it works).
  • The out-of-scope list (what we said we would NOT touch).

If the plan is missing or status is not ready-to-ship or in-progress, flag this in the report.

3. Load the right reference

Based on the files in the diff:

  • Any .py files: read references/python.md.
  • Any .tsx, .jsx, .ts, .js in a React/Next.js project: read references/react-nextjs.md.
  • Any class definitions touched: read references/oop.md.
  • Folder structure changes (new top-level dirs, moved modules): read references/project-scaffold.md.

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 163 lines · 138 tokens per session scan A 46b17954a4c3

Subscribe to this mod's changes

y-review is a command published in the GitHub repository yashs33244/the_y_coding_standard (2 stars, last pushed 3mo ago), licensed MIT. It adds 138 tokens to every session and 1,642 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.