review

review is a skill for Claude Code from smartwhale8/claude-playbook. It costs 43 tokens per session (515 once invoked), scanned A, original, MIT.

A review procedure for checking uncommitted code changes against a project's standards before committing them to version control.

In plain words
What is it for?
Use it to inspect staged or unstaged changes, review new files, and assess code quality, architecture, consistency, and reuse.
Why use it?
It helps find dead code, inconsistent patterns, duplicated work, architecture problems, and other issues before changes are saved to the project history.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the claude-playbook plugin — 5 skills, 4 agents, 3 hooks shipped together

Good fit Use it to inspect staged or unstaged changes, review new files, and assess code quality, architecture, consistency, and reuse.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smartwhale8/claude-playbook/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 smartwhale8/claude-playbook --skill review
Clone the repo
git clone --depth 1 https://github.com/smartwhale8/claude-playbook

Made for: Claude Code.

Or install claude-playbook, the plugin that ships this one along with the rest of its 5 skills, 4 agents, 3 hooks.

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/skills/smartwhale8/claude-playbook/review/github.svg)](https://agentmods.dev/skills/smartwhale8/claude-playbook/review)
Your own site
<a href="https://agentmods.dev/skills/smartwhale8/claude-playbook/review"><img src="https://agentmods.dev/badge/skills/smartwhale8/claude-playbook/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/skills/smartwhale8/claude-playbook/review"><img src="https://agentmods.dev/badge/skills/smartwhale8/claude-playbook/review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 515 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.00043 $0.00515
Opus 5.5 $0.00017 $0.00206
Sonnet 5.5 $0.00009 $0.00103
Haiku 4.5 $0.00004 $0.00052

Measured 1mo ago against content hash 57f17c9be02b, 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 1mo 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.

.claude/skills/review/SKILL.md · 59 lines

What it actually says

Review uncommitted changes

Focus for this review, if the user gave one: $ARGUMENTS

The changes

Staged:

!git diff --staged --stat || true

Unstaged:

!git diff --stat || true

Untracked:

!git status --porcelain | grep '^??' || true

What to do

  1. Read the full diff. Use git diff --staged if anything is staged, otherwise git diff. Read untracked files directly.
  2. For each changed file, open the surrounding code. A change that is correct alone can still break the pattern of the module it lives in.
  3. Check the change against .claude/rules/. Path-scoped rules apply to the files they match.
  4. Search before reporting duplication. If a new helper or component looks like something that already exists, find the existing one and name it with its path.

What counts as a finding

Report only what affects correctness, security, or the stated rules:

  • Dead code, commented-out blocks, or debug output left behind
  • A fix that treats a symptom instead of the cause
  • Logic that duplicates something already in the codebase, with the path to the original
  • A hardcoded secret, an unparameterized query, unescaped user content, a missing authorization check
  • A query inside a loop, or a list read with no limit
  • A new behaviour with no test, or a bug fix with no regression test

Style preferences are not findings. Neither is a possible future problem.

Output

One verdict, then the findings.

  • Ready to commit. Nothing blocking. Say what you checked.
  • Minor issues. List them. Committing is reasonable once the author has seen them.
  • Needs changes. List what must be fixed first.

Each finding gives the file and line, what is wrong, and the specific change that fixes it.

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. 1mo ago Changed · +9 lines · +30 tokens per session 57f17c9be02b
  2. 1mo ago First seen · 50 lines · 13 tokens per session scan A 1a0f688c386b

Subscribe to this mod's changes

review is a skill published in the GitHub repository smartwhale8/claude-playbook (43 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 515 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

rust-skills

Comprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, concurrency, unsafe code, API design, memory optimization, performance, numeric safety, conversions, serde, pattern matching, macros…

leonardomso/rust-skills · 84 tokens

ring:migrating-to-lib-observability

Migrating a Lerian Go app off lib-commons observability imports (deprecated shims or removed APIs) to lib-observability via a fixed mapping table, then bumps go.mod and validates the build; ring:backend-go applies the edits. Covers log/zap/runtime/assert, opentelemetry/tracing, HTTP middleware, context helpers, and…

LerianStudio/ring · 104 tokens

ring:using-lib-systemplane

Using lib-systemplane, the hot-reload runtime-config plane (Postgres LISTEN/NOTIFY or MongoDB change streams), in two modes. Sweep Mode detects DIY config reload (SIGHUP, fsnotify, viper, pgx LISTEN), manual tenant-scoping, hand-built admin CRUD, and v4 residue. Reference Mode catalogs client lifecycle and…

LerianStudio/ring · 106 tokens

ring:adopting-lib-commons-huma-wrapper

Adopting the lib-commons/v5 shared Huma (OAS 3.1) OpenAPI wrapper + RFC 9457 problem model (commons/net/http/{openapi,problem}) in a Lerian Go service: wire openapi.New/ServeSpec + problem.Install (central >=500 scrub) on BOTH runtime and spec-gen paths, the per-rail problem.MapError flex seam, and rename-only spec…

LerianStudio/ring · 142 tokens

ring:applying-composition-patterns

React composition patterns that scale. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or during architecture review. Skip for simple components with 1-2 props…

LerianStudio/ring · 68 tokens

ring:using-lib-observability

Using lib-observability v1.1.0, Lerian's OpenTelemetry foundation (lib-commons, lib-systemplane, lib-streaming depend on it), in two modes. Sweep Mode detects DIY zap/slog logging, raw OTel metrics, hand-rolled redaction, and hard-coded attribute strings. Reference Mode catalogs the log, metrics, zap, redaction, and…

LerianStudio/ring · 102 tokens