# Quality review

> Quality review is an open-source agent skill for developer tools. Checks a PR or diff against repo conventions, existing helpers and design smells. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/vpaivag/skills/tree/main/skills/quality-review
- **Repository:** https://github.com/vpaivag/skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** quality-review
- **Collection:** https://github.com/vpaivag/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill reviews a pull request or diff for fit with the repository it lands in and for sound design. It maps each changed unit to the convention document that CLAUDE.md points to for that kind of work, then checks the change against those documented rules and CLAUDE.md's hard rules. It also searches the repository for existing helpers that new code might be reimplementing.

The review runs two separate comparer subagents. One checks repository rules and duplication, the other looks for a fixed baseline of design smells such as Feature Envy or Shotgun Surgery. Each finding is verified against the real code before it is reported, and smells are presented as possible judgement calls that a linked convention doc can override. The skill only reports and does not change code, commit or comment on pull requests.

It expects a PR number or URL, a branch, a git range, or no argument to review uncommitted work. It relies on git and the GitHub CLI or MCP to read diffs and base-version files, and it advises running it in a session separate from the one that wrote the code.

## When your agent uses it

> Quality review of a PR or diff — checks that new and edited code fits the repo it lands in and is soundly designed. Maps each changed unit to the convention doc CLAUDE.md links for it (forms → FORMS.md) and checks the diff against those rules and CLAUDE.md's hard rules, searches the repo for existing helpers the change reimplements, and runs a baseline of design smells (Feature Envy, Primitive Obsession, Shotgun Surgery…) as judgement calls the docs can override. Two comparer subagents, every finding verified against the real code, report only. Use when the user invokes /quality-review (or the old /pattern-review), asks whether a PR or diff follows the repo's patterns or conventions, "does this look like the rest of the codebase?", "is this how we do it here?", asks for a quality or design review, or wants to catch reinvented helpers and design smells before merge.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/vpaivag/skills/tree/HEAD/skills/quality-review)
- [License: MIT](https://github.com/vpaivag/skills/tree/HEAD/skills/quality-review)

## Features

- **Convention pointer mapping:** Matches each changed unit to the convention doc that CLAUDE.md links for that kind of work.
- **Existing helper search:** Looks through the repository at the base revision for helpers that a change reimplements.
- **Hard rule checks:** Tests the diff against CLAUDE.md's hard rules and the linked docs' sections, citing each source.
- **Design smell baseline:** Flags possible smells such as Feature Envy, Data Clumps and Middle Man as labelled judgement calls.
- **Verified findings only:** Re-checks every finding against the code and drops anything that cannot be confirmed.
- **Report-only output:** Produces a structured report without fixes, commits, PR comments or doc edits.

## Good for

- Check whether a pull request follows the repo's documented conventions
- Find helpers in the repo that new code reimplements
- Review a diff for design smells before merge
- Ask if a change matches how the rest of the codebase does things

## Install

### Claude Code

This skill ships in the `skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add vpaivag/skills
/plugin install skills@vpaivag
```

Or copy only this skill to `~/.claude/skills/quality-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/quality-review &&
cp -R "$tmp/skills/quality-review" ~/.claude/skills/quality-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/quality-review` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/quality-review` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/quality-review &&
cp -R "$tmp/skills/quality-review" ~/.agents/skills/quality-review &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/quality-review` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/quality-review` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/quality-review &&
cp -R "$tmp/skills/quality-review" ~/.cursor/skills/quality-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/quality-review` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/vpaivag/skills.git --path skills/quality-review
```

Or copy the folder to `~/.gemini/skills/quality-review` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/quality-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vpaivag/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/quality-review &&
cp -R "$tmp/skills/quality-review" ~/.copilot/skills/quality-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/quality-review` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/vpaivag/skills.git
```

Then copy `skills/skills/quality-review` into your agent's skills folder as `quality-review`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How is Quality review invoked?

With /quality-review followed by an optional diff argument such as a PR number, URL, branch or git range. Without an argument it reviews uncommitted work.

### Does Quality review change any code or post comments?

No. The skill is report only and does not make fixes, commits, PR comments or edits to convention docs.

### What is the yardstick for repo rules?

Only what the repository has written down, meaning CLAUDE.md's hard rules and the convention docs it links, read at the base revision rather than the changed version.

### Can Quality review run in the session that wrote the code?

The skill advises against it. If the session authored the diff, it asks the user to re-run in a fresh session.

### How do I install Quality review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/quality-review to use it in all your projects, or to .claude/skills/quality-review in one project. Or install the skills plugin, which includes it: /plugin marketplace add vpaivag/skills, then /plugin install skills@vpaivag.

### Does Quality review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Quality review?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Quality review?

The closest alternatives to Quality review are Project review, Code review, Code review agent, Code review and Code review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Project review](https://ai-powered.com/skills/project-review): Project review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-kzytateishi): Code review is an open-source agent skill for developer tools.
- [Code review agent](https://ai-powered.com/skills/code-review-agent): Code review agent is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-mattpocock): Code review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-nexadevapp): Code review is an open-source agent skill for developer tools.
- [Intent review](https://ai-powered.com/skills/intent-review): Intent review is an open-source agent skill for developer tools.
- [Review PR](https://ai-powered.com/skills/review-pr): Review PR is an open-source agent skill for developer tools.
- [PR review](https://ai-powered.com/skills/pr-review): PR review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/quality-review
