# /code-reviewer: Get pull request reviews ranked from critical to minor

Source: https://trendhub.net/skills/jeffallan-claude-skills/code-reviewer
Skill folder: https://github.com/Jeffallan/claude-skills/tree/main/plugin/skills/code-reviewer
Pack: Jeffallan's Claude Skills (https://trendhub.net/skills/jeffallan-claude-skills)
Works with: Claude Code (plugin marketplace)

Code Reviewer runs a broad, read-only review of a pull request or set of files. The agent first sums up the change's purpose in one sentence, then checks structure, correctness, security, performance and tests, and writes a report sorted by severity with praise, questions for the author and a verdict. Parts of its references are adapted from Jesse Vincent's Superpowers.

## When to use it

- A pull request needs a review before merge.
- You want a code quality audit of a module with refactoring ideas.
- You need a quick pass for injection risks, secrets and N+1 queries.

## How it works

1. **Context**: Reads the PR description and states its intent in one sentence, asking the author if that is not possible.
2. **Structure**: Checks whether the design follows existing patterns and whether new abstractions are justified.
3. **Details and tests**: Looks for bugs, injection, hardcoded secrets and N+1 queries, and checks that tests cover edge cases and assert behaviour.
4. **Report**: Writes critical, major and minor issues with code examples, positives, questions and an approve or request-changes verdict.

## What it steers the agent away from

- Nitpicking style that a configured linter already handles.
- Blocking a change on personal preference.
- Reviewing without understanding why the change was made.

## What it can touch

Limited to Read, Grep and Glob, so it reads code and writes a report without editing files.

## Pairs well with

- `/security-reviewer`
- `/test-master`
- `/the-fool`

## Questions

### Does it replace a dedicated security audit?

No. It uses the OWASP Top 10 as a baseline but is designed to complement the security-reviewer skill.

### How does it treat the author's reasoning?

When the author has explained a non-obvious choice, it acknowledges that reasoning before proposing an alternative.
