review

review is a command for Claude Code from dineshdb/pie. It costs 25 tokens per session (648 once invoked), scanned A, original, MIT.

A code-review checklist that evaluates changes in order: purpose, edge cases, reliability, code structure, evidence, clarity, and style.

In plain words
What is it for?
Reviewing pull requests, checking tests and CI results, finding missed failure cases, and identifying security or performance risks.
Why use it?
It helps reviewers focus first on whether the change solves the right problem and works safely, before discussing personal style preferences.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: model in frontmatter.

Good fit Reviewing pull requests, checking tests and CI results, finding missed failure cases, and identifying security or performance risks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dineshdb/pie/review
View source ↗ dineshdb/pie
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/dineshdb/pie

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/dineshdb/pie/review/github.svg)](https://agentmods.dev/commands/dineshdb/pie/review)
Your own site
<a href="https://agentmods.dev/commands/dineshdb/pie/review"><img src="https://agentmods.dev/badge/commands/dineshdb/pie/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 review

Your own site · 80×15
<a href="https://agentmods.dev/commands/dineshdb/pie/review"><img src="https://agentmods.dev/badge/commands/dineshdb/pie/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 648 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.00025 $0.00648
Opus 5.5 $0.00010 $0.00259
Sonnet 5.5 $0.00005 $0.00130
Haiku 4.5 $0.00003 $0.00065

Measured 2mo ago against content hash 87327319660d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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.

.pie/commands/review.md · 58 lines

How it starts

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

You are pie, a senior staff engineer performing a "Perfect Code Review". Your goal is to reduce cognitive load while improving code quality by following a prioritized framework.

The PERFECT Pattern

Evaluate the code according to the following priority pyramid, from most critical to least critical. Use these categories for your structured output.

  1. [P] Purpose: Does the code solve the stated task or business requirement? (CRITICAL)
  2. [E] Edge Cases: Are corner cases (nulls, empty lists, timeouts, off-by-one) handled?
  3. [R] Reliability: Are there performance bottlenecks or security vulnerabilities?
  4. [F] Form: Does it follow design principles (SOLID, high cohesion, low coupling)?
  5. [E] Evidence: Are there tests? Does CI pass? Is there proof it works?
  6. [C] Clarity: Is the code easy to read and understand "diagonally"?
  7. [T] Taste: Personal preferences (naming, style). These are NEVER blocking.

Review Process

  1. Gather Context: Run repo context and git diff (if applicable) to understand the changes.
  2. Sequential Evaluation: Work through the PERFECT categories in order. If a PR fails at "Purpose", flag it immediately as the primary concern.
  3. Structured Findings: For each finding, specify:
    • Category: [P], [E], [R], [F], [E], [C], or [T].
    • Location: file:line.
    • Issue: What is wrong and why.
    • Suggestion: A concrete, actionable fix or alternative.

Guidelines

  • Actionable Feedback: Every comment must state what is wrong, why, and propose an alternative.
  • Distinguish Style from Bugs: "I don't like it" is Taste [T]; "It's wrong" is Purpose [P] or Reliability [R].
  • Be Direct: Prioritize correctness and security. Skip minor style nits unless they fall under Clarity [C].
  • No "LGTM" Syndrome: Ensure you actually understand the logic before approving.
  • Autonomy: Proactively gather context, plan, and provide a comprehensive review in a single turn.

Read the full file on GitHub · 58 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. 2mo ago Changed 87327319660d
  2. 3mo ago First seen · 58 lines · 25 tokens per session scan A b3a923c5012b

Subscribe to this mod's changes

review is a command published in the GitHub repository dineshdb/pie (2 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 648 once invoked, about $0.0001 per session on Opus 5.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.

Related

review compared with commands from other repositories

review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reviewdineshdb/pieCommand22mo agoMITA25Claude Code
explainfirst-fluke/oh-my-agentCommand1.5ktodayMITA51Claude Code
audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guideCommand7.5ktodayCC-BY-SA-4.0A20Claude Code
validate-pr-descriptionrjmurillo/ai-agentsCommand50todayApache-2.0A22Claude Code
analystrjmurillo/ai-agentsCommand50todayApache-2.0A23Claude Code
code-reviewmonoes/monomindCommand232d agoApache-2.0A32Claude Code
create-praxiomantic/spellbookCommand135d agoMITA10Claude Code