smart-review

smart-review is a skill for Claude Code from RockaRhymeLLC/claude-code-skills. It costs 56 tokens per session (1,367 once invoked), scanned A, original, MIT.

A code-review tool that examines Git changes for bugs, security risks, performance problems, and design concerns, then reports findings by severity.

In plain words
What is it for?
Use it to review uncommitted, staged, branch, or selected commit changes and receive specific feedback on what should be fixed.
Why use it?
It helps developers spot problems in changed code before committing or merging, including issues that simple style checks may miss.

Skill for Claude Code

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

Part of the bmobot-skills plugin — 7 skills shipped together

Good fit Use it to review uncommitted, staged, branch, or selected commit changes and receive specific feedback on what should be fixed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rockarhymellc/claude-code-skills/smart-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.

Any agent
npx skills add RockaRhymeLLC/claude-code-skills --skill smart-review
Clone the repo
git clone --depth 1 https://github.com/RockaRhymeLLC/claude-code-skills

Made for: Claude Code.

Or install bmobot-skills, the plugin that ships this one along with the rest of its 7 skills.

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 smart-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/rockarhymellc/claude-code-skills/smart-review/github.svg)](https://agentmods.dev/skills/rockarhymellc/claude-code-skills/smart-review)
Your own site
<a href="https://agentmods.dev/skills/rockarhymellc/claude-code-skills/smart-review"><img src="https://agentmods.dev/badge/skills/rockarhymellc/claude-code-skills/smart-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 smart-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/rockarhymellc/claude-code-skills/smart-review"><img src="https://agentmods.dev/badge/skills/rockarhymellc/claude-code-skills/smart-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,367 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.00056 $0.01367
Opus 5 $0.00028 $0.00683
Sonnet 5 $0.00011 $0.00273
Haiku 4.5 $0.00006 $0.00137

Measured 10d ago against content hash 0adce741d466, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

smart-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 10d 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.

skills/smart-review/SKILL.md · 160 lines

How it starts

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

Smart Code Review

Perform thorough, actionable code reviews on git changes. Catches real bugs and security issues, not just style nits.

When to Activate

  • User asks to review code changes
  • User says /smart-review or "review my code" or "check this PR"
  • User wants feedback before committing or merging

Instructions

Step 1: Determine Review Scope

Identify what to review based on user context:

# Option A: Review uncommitted changes
git diff --stat
git diff

# Option B: Review staged changes
git diff --cached --stat
git diff --cached

# Option C: Review branch vs base (PR review)
BASE_BRANCH="${1:-main}"
git log --oneline "$BASE_BRANCH"..HEAD
git diff --stat "$BASE_BRANCH"..HEAD
git diff "$BASE_BRANCH"..HEAD

# Option D: Review a specific commit
git show --stat <commit>
git show <commit>

If no changes are found, inform the user and stop.

For large diffs (>500 lines changed), read key files individually rather than relying solely on the diff — context from surrounding code matters.

Step 2: Analyze for Issues

Review the diff systematically, checking each category:

Critical (Must Fix)
  • Bugs: Logic errors, off-by-one, null/undefined access, race conditions, infinite loops
  • Security: SQL injection, XSS, command injection, hardcoded secrets, path traversal, insecure deserialization
  • Data loss: Destructive operations without confirmation, missing error handling on writes, uncaught exceptions that could corrupt state
Important (Should Fix)
  • Error handling: Missing try/catch on I/O, swallowed errors, generic catch blocks that hide failures
  • Edge cases: Empty arrays, null inputs, boundary values, concurrent access, timeout handling
  • API contracts: Breaking changes to public interfaces, missing validation on inputs, inconsistent return types
  • Resource management: Unclosed connections, memory leaks, missing cleanup in finally blocks
Suggestions (Consider)
  • Performance: N+1 queries, unnecessary re-renders, large allocations in hot paths, missing indexes
  • Maintainability: Complex conditionals that could be simplified, duplicated logic, unclear variable names
  • Testing: Untested code paths, assertions that don't verify the right thing, flaky test patterns
  • Design: Tight coupling, mixed responsibilities, patterns that will cause pain as the codebase grows

Read the full file on GitHub · 160 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. 10d ago First seen · 160 lines · 56 tokens per session scan A 0adce741d466

Subscribe to this mod's changes

smart-review is a skill published in the GitHub repository RockaRhymeLLC/claude-code-skills (1 stars, last pushed 6mo ago), licensed MIT. It adds 56 tokens to every session and 1,367 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

resolve-pr-comments

Evaluate, fix, answer, and reply to GitHub pull request review comments and conversation comments. Handles both change requests (fix or skip) and reviewer questions (explain using reasoning recalled from past Claude Code transcripts). Use when the user asks to "resolve PR comments", "fix review comments", "address PR…

tobihagemann/turbo · 95 tokens

review-code

Review code for bugs, security vulnerabilities, API misuse, consistency issues, simplicity problems, or test coverage gaps by running internal reviews and a peer review in parallel and returning combined findings. Single-concern with a type argument, or full review with no argument. Use when the user asks to "review…

tobihagemann/turbo · 144 tokens

assess-technical-debt

Assess project-wide structural technical debt: complexity hotspots, deprecated API usage, duplication clusters, and architecture rot. Ranks findings by impact and refactor effort into a report at .turbo/technical-debt.md. Use when the user asks to "assess technical debt", "find technical debt", "review technical…

tobihagemann/turbo · 108 tokens

map-codebase

Deep architecture report that fans out parallel inspections across different aspects of the codebase (structure, tech stack, APIs, patterns, data flow, dependencies, testing) and synthesizes findings into a comprehensive document at .turbo/codebase-map.md and .turbo/codebase-map.html. Use when the user asks to "map…

tobihagemann/turbo · 106 tokens

peer-review

Run an independent peer review via Codex. Use when the user asks to "peer review", "peer review my code", "peer review my plan", "get a second opinion", or "independent review".

tobihagemann/turbo · 46 tokens

claude-print

Run a non-interactive Claude Code print-mode call from Codex. Use when the user asks to "claude print", "ask claude", "run claude", "consult claude", or when a Codex Turbo skill needs Claude as an independent peer reviewer.

tobihagemann/turbo · 59 tokens