Skip to main content
skill CX Codex

review · owainlewis — Claude Code skill: fresh-agent code review

The skill spins up a separate subagent that reads a change and hunts for defects without editing anything. Handy before a merge when you want a second opinion.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add owainlewis/blueprint --skill review -a claude-code
Open on GitHub

What review does

review takes a file, diff, branch, commit or pull request and inspects it. The reviewer stays read-only: no file edits, no posted comments. Name no target and it covers the whole local change set — commits on the current branch against the default branch, staged and unstaged edits, untracked files.

The order is deliberate. First it checks the change against its task and acceptance criteria, then reads the main flows, then every human-written line in context. Tests get their own pass: do they cover the changed behavior, would they fail under a broken implementation. Findings come back as Must fix, Should fix or Could fix with a confidence score from 0 to 5, and the run ends with Approve, Request changes or Blocked.

One catch: it needs a fresh subagent that did not write the code. With no independent reviewer available the skill stops and reports the review as blocked, unless you explicitly accept a documented self-review. The verdict is agent evidence, not GitHub approval and not a substitute for human review. For a proposal that has not been built yet, use /architecture-review instead.

What it helps with

  • check a diff before merge and catch a regression
  • get a second opinion on someone else's pull request
  • spot a security hole at the edge of the changed code
  • confirm tests actually prove the acceptance criteria
  • separate real defects from style preferences

Example prompts for the agent

  • review the current branch against main
  • review this pull request, read-only
  • check the diff in src/api and tell me what stays unverified

How to install review

1Skills CLI (Vercel)

npx skills add owainlewis/blueprint --skill review -a claude-code

2Manually: put the files in place

~/.claude/skills/review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about review

How do I install review in Claude?

Run npx skills add owainlewis/blueprint --skill review -a claude-code. The skill lands in ~/.claude/skills/review/SKILL.md.

What does the review skill do?

A fresh subagent reads a change and looks for defects that alter the result or make the change unsafe. It checks behavior, security, regressions, complexity, tests and docs, and edits nothing.

Can I skip the separate subagent?

The skill stops and reports that independent review is blocked when no fresh subagent is available. You can continue only by explicitly accepting a self-review.

Source text

SKILL.md · MIT
---
name: review
description: "Uses a fresh agent to review an implementation change without editing it. Checks behavior, security, regressions, complexity, tests, docs, and missing proof. Use for code, PR, diff, security, second-opinion, or pre-merge reviews."
user-invocable: true
argument-hint: "[diff, branch, commit, PR, or file path]"
disable-model-invocation: true
---

# Review

Find defects that can change the result or make the change unsafe. Do not turn personal taste into a finding.

Use a fresh subagent that did not implement the change. Tell it to review directly without delegating. If you are that reviewer, review directly. Stay read-only. Do not edit files or post comments.

## Scope

Review the implementation target named by the user. It may be a file, diff, branch, commit, pull request, or other code change on GitHub. Use `/architecture-review` for a technical proposal that has not been implemented.

If the user does not name a target, review the repository's complete local change set. Include commits on the current branch relative to the default branch, staged changes, unstaged changes, and untracked files.

Use the repository and the immediate surrounding code as context. If there are no local changes, say so. Do not substitute a whole-repository audit.

## Standard

Approve only when:

- The change matches its source and behaves as required.
- No known defect or unhandled risk could break the source or repository rules for security, data loss, compatibility, or operations.

Do not demand perfection or block on personal taste. Cite technical evidence or repository conventions.

The verdict is independent agent evidence. It is not GitHub approval or a replacement for human review.

## Review order

1. **Set the frame.** Give the reviewer the task, acceptance criteria and invariant IDs from its task or spec, repository rules, complete diff or pull request, and test evidence. Name the user or developer affected by the change.
2. **Take the broad view.** Read the change summary and the relevant spec or ticket. Confirm that the change belongs in the system, matches the intended behavior, and delivers one reviewable outcome. Report a mismatch before reviewing details.
3. **Review the main behavior.** Start with the files and flows that deliver the outcome. Check behavior, failures, security boundaries, interfaces, compatibility, migrations, concurrency, and operations.
4. **Review every human-written changed line in context.** Read enough surrounding code to judge correctness, regressions, complexity, names, comments, style, and docs. For generated files or large data, inspect the source and spot-check the output. Keep findings within the change's scope.
5. **Review the proof.** Check that tests:
   - Cover the changed behavior and affected failure paths.
   - Prove every cited `AC-n`, `REQ-n`, `INV-n`, or task criterion.
   - Assert behavior a user or caller can observe, or a documented internal contract.
   - Would fail under a broken implementation.
   - Do not copy implementation logic or hide the scenario in setup.
6. Run focused checks that can confirm or disprove a claim that could change a finding or verdict.
7. **Check specialist coverage.** Identify security, privacy, concurrency, accessibility, internationalization, or domain-specific work. Mark a risk unverified when the reviewer lacks the evidence or skill to judge it. Use `Blocked` when that gap could hide a problem that breaks a rule and no qualified reviewer covers it.
8. **Report findings.** Return actionable findings in priority order using the format below.

## Code review findings

Report only real bugs, customer-impacting problems, and proven simplifications introduced or exposed by the change. Check security, logic, behavior, reliability, compatibility, regressions, and affected failure paths.

Inspect enough surrounding code to prove each finding. A simplification must deliver the same result and proof with less state, indirection, duplication, or operational work. Report it only as `Could fix`.

Use this format for every finding:

```text
Priority: Must fix / Should fix / Could fix
Confidence: 0 to 5
What I found: Describe the technical problem.
Why it matters: Explain the impact on customers, callers, or the service.
Trigger and effect: State the exact condition and what the customer or service experiences.
Where: File and line.
Suggested fix: Give a short, practical direction.
```

Priority means:

- **Must fix:** Unsafe to merge. The change can cause a security failure, data loss, broken required behavior, or a serious service regression.
- **Should fix:** A real defect or reliability risk that should be corrected before merge.
- **Could fix:** A proven, limited problem or simplification that does not need to block merge. Do not use this for style preferences.

Confidence means:

- **5:** Confirmed by reproduction, test, or direct code evidence.
- **4:** Strong evidence with no credible alternative explanation.
- **3:** Probable, but some runtime evidence is unavailable.
- **0 to 2:** Do not report. Investigate further or mark the area unverified.

Use plain words. State what breaks, when it breaks, and who it affects. Omit style preferences, theoretical concerns, and problems outside the change.

## Verdict

If fresh subagents are unavailable, stop and report that independent review is blocked unless the user explicitly accepts a documented self-review.

If there are no findings, say so. End with `Approve`, `Request changes`, or `Blocked`, then state what remains unverified. A Must fix or Should fix finding requires `Request changes`. Could fix findings do not prevent `Approve`.

## Boundaries

- Keep findings within the change, but inspect enough surrounding code to judge each changed line and its system effect.
- Do not turn preferences into findings. Use technical evidence and repository conventions.
- Do not approve solely because checks pass.

© owainlewis · MIT · owainlewis/blueprint

Similar skills

Everything for Code review and refactoring →

review by other authors comes first.

review official anthropics Reviews inbound agreements against your playbook and routes each document to the relevant review workflow. Use it for MSA, NDA, and SaaS subscription documents. CX Codex +1 728installs review JuliusBrussee Runs an adversarial senior review of the spec before any code is written. Builds a skeptic and tries to refute the plan instead of rubber-stamping it. CX Codex +1 787installs review parcadei Runs parallel specialized subagents to evaluate code quality, architecture, and impact, then synthesizes a final merge verdict. CX Codex +1 519installs review jsmastery-pro Audits completed features against your original plan, system architecture, and production readiness. Flags discrepancies in a structured report without making code edits. CX Codex +1 946installs review entireio Reads checkpoint transcripts to learn what the developer meant, then audits the diff. Useful before a merge, when you want to catch code that drifted from the plan. CX Codex +1 395installs review-pr tirth8205 This skill reviews a PR or branch through a code knowledge graph, showing risk, affected flows, and test gaps. Use it when a diff needs structural context. CX Codex +1 1,200installs ce-code-review EveryInc Reviews a named diff or pull request for bugs, regressions, tests, and project standards. Use it for a current branch review or a specific PR. CX Codex +1 3,800installs om-auto-review-pr open-mercato Reviews a pull request by number in an isolated worktree, submits approve or request-changes, and manages pipeline labels. CX Codex +1 3,600installs code-review waybarrios Reviews pull requests and local diffs for bugs and convention violations using multi-agent checks. Helps uncover subtle logic flaws before merging changes. CX Codex +1 468installs caveman-review JuliusBrussee Turns code review comments into one line per finding: location, problem, fix. Useful when a diff or PR needs a fast pass without the filler. CX Codex +1 411,800installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. CX Codex 30,193installs

From the same set4

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor