# Differential review

> Differential review is an open-source agent skill for developer tools. Proves a code change's behavior delta by running baseline and candidate side by side. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/differential-review
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** differential-review
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through reviewing a change by executing both the original and the modified code rather than reading the diff alone. It asks the agent to build both states, list the observable surfaces the change could affect, such as return values, persisted data, events, logs, exit codes, wire formats, timing and errors, and predict the intended shift on each before measuring the real one.

The workflow treats every unexplained difference as a finding and pays particular attention to error, empty and boundary paths that refactors often alter without notice. Where a surface cannot be measured directly, the agent is told to write the smallest differential test that would capture it, and to note any gap if that test is out of scope. Reference implementations, including scalar versions of vectorized or cached code, serve as the baseline for comparison.

The skill expects a repository that can be built or run in two states, so the agent can check out or compile base and head. It separates changes that are intended but breaking from unintended ones, since each calls for a different decision. The skill is a single SKILL.md file with no bundled scripts.

## When your agent uses it

> Use when a proposed change claims to preserve or intentionally alter behavior and the delta must be proven between baseline and candidate—run both states, predict each observable shift, then compare return values, persistence, emitted events, logs, exit codes, wire formats, timing, errors, empty cases, and boundaries. This is execution-based comparison, not changed-line inspection or pixel diffing.

## What it can access

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

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/differential-review)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/differential-review)

## Features

- **Base versus head comparison:** Builds or runs the original and modified states so both can be observed directly.
- **Observable surface enumeration:** Lists return values, persistence, events, logs, exit codes, wire formats, timing and errors that a change could move.
- **Predicted delta checking:** Compares the intended change for each surface against what is actually measured.
- **Edge path coverage:** Focuses on error, empty and boundary behavior that refactors commonly alter.
- **Differential test authoring:** Guides writing the smallest test that measures a surface which cannot be observed directly.
- **Intended versus unintended breaks:** Separates deliberate breaking changes from silent regressions for the operator's decision.

## Good for

- Verify that a refactor leaves API responses unchanged
- Check whether a performance rewrite alters error handling
- Compare a cached implementation against its original version
- Confirm a database migration preserves persisted rows and events
- Review a CLI change for differences in exit codes and log output

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/differential-review` to use it in all your projects:

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/differential-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/mtarcure/claude-vibe-squad.git --path .agents/skills/differential-review
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

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

## FAQ

### What does the agent need to use Differential review?

It needs a change where base and head can both be built or run. The skill says that if they cannot, the review should state it is analysis-only.

### Does Differential review modify code?

The skill describes comparing behavior and writing differential tests where a surface cannot be measured. It does not describe editing the change itself.

### What kinds of differences does Differential review check?

It lists return values, persisted rows, emitted events, logs, exit codes, wire formats, timing, error text, and empty and boundary cases.

### Are scripts included?

No. The skill folder contains only SKILL.md and no bundled scripts.

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

Copy the skill folder from GitHub to ~/.claude/skills/differential-review to use it in all your projects, or to .claude/skills/differential-review in one project.

### Does Differential 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 Differential review?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

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

The closest alternatives to Differential review are Code review loop, Differential review, Code review expert, Visual regression baseline and Intent drift.

## Where this comes from

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

## Alternatives

- [Code review loop](https://ai-powered.com/skills/code-review-loop): Code review loop is an open-source agent skill for developer tools.
- [Differential review](https://ai-powered.com/skills/differential-review): Differential review is an open-source agent skill for security.
- [Code review expert](https://ai-powered.com/skills/code-review-expert): Code review expert is an open-source agent skill for developer tools.
- [Visual regression baseline](https://ai-powered.com/skills/visual-regression-baseline): Visual regression baseline is an open-source agent skill for developer tools.
- [Intent drift](https://ai-powered.com/skills/intent-drift): Intent drift is an open-source agent skill for developer tools.
- [Review](https://ai-powered.com/skills/review-jasgujral): Review is an open-source agent skill for developer tools.
- [Blast radius](https://ai-powered.com/skills/blast-radius-michael-denyer): Blast radius is an open-source agent skill for developer tools.
- [Project review](https://ai-powered.com/skills/project-review): Project review is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/differential-review-mtarcure
