review

review is a command for Claude Code from TheDecipherist/claude-code-mastery-project-starter-kit. It costs 11 tokens per session (515 once invoked), scanned A, original, MIT.

A read-only code review for bugs, security problems, and coding practices. It checks the current Git changes and considers areas such as input validation, types, errors, performance, tests, databases, and API versions.

In plain words
What is it for?
Use it to review the current branch, staged changes, or uncommitted changes for security issues, missing tests, type problems, and other implementation risks.
Why use it?
It provides a structured second look at changes before they are merged, helping reveal defects or risky patterns.

Command for Claude Code

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.

agentmods
npx agentmods add commands/thedecipherist/claude-code-mastery-project-starter-kit/review
Clone the repo
git clone --depth 1 https://github.com/TheDecipherist/claude-code-mastery-project-starter-kit

Made for: Claude Code.

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 review

README.md
[![agentmods](https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/review.svg)](https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/review)
Your own site
<a href="https://agentmods.dev/commands/thedecipherist/claude-code-mastery-project-starter-kit/review"><img src="https://agentmods.dev/badge/commands/thedecipherist/claude-code-mastery-project-starter-kit/review.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00011 $0.00515
Opus 5 $0.00005 $0.00258
Sonnet 5 $0.00002 $0.00103
Haiku 4.5 $0.00001 $0.00052

Measured 5d ago against content hash cf7004ae756c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • review — 88% identical, 2 lines differ
.claude/commands/review.md · 60 lines

How it starts

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

Code Review

Review the current changes for:

Branch Check

Verify the current branch context:

git branch --show-current
  • If on main or master and auto_branch = true in claude-mastery-project.conf: warn — "You're reviewing changes directly on main. Next time, start work on a feature branch."
  • Report which branch is being reviewed in the output header
  • Review is read-only so no auto-branch is created, but the warning reminds the user for future commands

Context

  • Current diff: !git diff HEAD
  • Staged changes: !git diff --cached

Review Checklist

  1. Security — OWASP Top 10, no secrets in code, proper input validation
  2. Types — No any, proper null handling, explicit return types
  3. Error Handling — No swallowed errors, proper logging, user-friendly messages
  4. Performance — No N+1 queries, no memory leaks, proper pagination
  5. Testing — New code has tests, tests have explicit assertions
  6. Database — StrictDB if installed, otherwise the native driver (in the adapter); never Mongoose, never a raw driver in handlers
  7. API Versioning — All endpoints use /api/v1/ prefix

RuleCatch Report

After completing the manual review, query RuleCatch for automated violations on the changed files:

  • If the RuleCatch MCP server is available: query for violations on the files in the current diff
  • Include results in a dedicated section of the review output (see format below)
  • This catches pattern-based violations the manual review might miss
  • If no MCP available: suggest — "Ask RuleCatch, what violations happened today? for automated checks"

Output Format

For each issue found:

  • File: path/to/file.ts:line
  • Severity: 🔴 Critical | 🟡 Warning | 🔵 Info
  • Issue: Description
  • Fix: Suggested change

RuleCatch Violations

File Rule Severity Details
... ... ... ...

If no RuleCatch violations: "RuleCatch: No violations detected"

Read the full file on GitHub · 60 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. 5d ago First seen · 60 lines · 11 tokens per session scan A cf7004ae756c

Subscribe to this mod's changes

review is a command published in the GitHub repository TheDecipherist/claude-code-mastery-project-starter-kit (337 stars, last pushed 2mo ago), licensed MIT. It adds 11 tokens to every session and 515 once invoked, about $0.0001 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-30.