# Diffpal review

> Diffpal review is an open-source agent skill for developer tools. Runs DiffPal code reviews on uncommitted work or committed revision ranges. 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/diffpal/diffpal/tree/main/plugins/diffpal/prefixed-skills/diffpal-review
- **Repository:** https://github.com/diffpal/diffpal
- **GitHub stars:** 9
- **License:** MIT
- **Skill name:** diffpal-review
- **Collection:** https://github.com/diffpal/diffpal
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill guides an agent through running DiffPal reviews in one of several modes: a review of uncommitted workspace changes, a review of a committed branch, range or commit, or a publication of committed reviews to a code host. It tells the agent to use the latest published DiffPal CLI through npx unless the user names a specific executable or version, and to keep the chosen mode separate so local and committed reviews are never mixed implicitly.

The workflow covers choosing the command, resolving and checking explicit base and head revisions for committed reviews, and writing findings to a JSON artifact at a default path. Local reviews never publish. The skill also lists exit codes from 0 to 10 and explains how to handle configuration, provider, publishing and gated-finding outcomes, including limits on retries and on actions such as committing, pushing or changing secrets.

The agent reads repository instructions and a profile from a DiffPal config file, and needs the DiffPal CLI, Node tooling for npx, and a configured review provider. Publishing to GitHub, GitLab or Azure DevOps requires separate authorization.

## When your agent uses it

> Run and verify DiffPal reviews for branches, revision ranges, commits, and uncommitted work; optionally publish committed reviews to a code host.

## What it can access

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

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

## Features

- **Uncommitted workspace review:** Runs a single review command covering current uncommitted changes without listing files manually.
- **Committed range review:** Reviews a branch, revision range or commit using explicit base and head revisions.
- **Findings artifact verification:** Checks that the output file matches the selected mode before reporting results.
- **Exit code guidance:** Explains how to interpret DiffPal exit codes for configuration, provider and gate outcomes.
- **Optional host publishing:** Describes publishing committed reviews to GitHub, GitLab or Azure DevOps after explicit approval.

## Good for

- Review my uncommitted changes before I commit
- Check the commits on my feature branch against main
- Run a DiffPal review on a specific revision range
- Fail the exit status if the review finds blocking issues
- Publish the committed review to the pull request after approval

## Install

### Claude Code

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

```sh
/plugin marketplace add diffpal/diffpal
/plugin install diffpal@diffpal
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/diffpal-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/diffpal/diffpal.git --path plugins/diffpal/prefixed-skills/diffpal-review
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### Which DiffPal version does the skill use by default?

It uses npx with @diffpal/diffpal@latest unless the user selects a specific executable or version.

### Does a local review publish anything?

No. The skill states that local review never publishes, and publishing needs a separate authorization.

### How does the skill decide between uncommitted and committed review?

When the user asks for current or uncommitted work it runs the uncommitted command. It asks a scope question only when both committed history and workspace changes are plausible and the user has not chosen.

### Where are the findings saved?

By default the findings are written to .artifacts/diffpal/findings.json.

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

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

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

The closest alternatives to Diffpal review are Review, Diffpal ci, Ci, Diffpal setup and Setup.

## Where this comes from

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

## Alternatives

- [Review](https://ai-powered.com/skills/review-diffpal): Review is an open-source agent skill for developer tools.
- [Diffpal ci](https://ai-powered.com/skills/diffpal-ci-diffpal): Diffpal ci is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-diffpal): Ci is an open-source agent skill for developer tools.
- [Diffpal setup](https://ai-powered.com/skills/diffpal-setup-diffpal): Diffpal setup is an open-source agent skill for developer tools.
- [Setup](https://ai-powered.com/skills/setup-diffpal): Setup is an open-source agent skill for developer tools.
- [Code review loop](https://ai-powered.com/skills/code-review-loop): Code review loop 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.
- [Code review expert](https://ai-powered.com/skills/code-review-expert): Code review expert is an open-source agent skill for developer tools.

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