Skip to content
Skill

Diffpal setup

Sets up and validates DiffPal review configuration for local and CI profiles

Diffpal setup is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
9
Last commit
License
MIT
Listing updated

Similar skills

About Diffpal setup

This skill walks an agent through installing, initializing, repairing or checking DiffPal configuration, limited to the local and/or CI profiles the user asks for. It inspects existing repository config, ignore rules, templates and CI files, then proposes a structural merge of the YAML and waits for approval before any install, network action or file write.

The workflow fixes one DiffPal command prefix (an installed binary, a pinned npx one-shot, a pinned global npm install, or a source build when explicitly requested) and keeps it through init and validation. Before writing, the agent previews the exact commands, YAML diff, files init may create and credential names involved. After approval it patches the config, then runs doctor per requested profile, noting that local doctor checks configuration and executables but not provider authentication.

It expects a repository that uses DiffPal and access to the relevant provider and code-host CLIs. Credential values are never read or printed; authentication stays a separate task for the user.

When your agent uses it

Install, initialize, repair, or validate DiffPal configuration for requested local and/or CI profiles while preserving repository policy and credentials.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (3 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/plugin marketplace add diffpal/diffpal
/plugin install diffpal@diffpal

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

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

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

Claude Code docs on skills

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

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

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

Codex docs on skills

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

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

For one project only, put the folder in .cursor/skills/diffpal-setup inside it instead.

Cursor docs on skills

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

gemini skills install https://github.com/diffpal/diffpal.git --path plugins/diffpal/prefixed-skills/diffpal-setup

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

Gemini CLI docs on skills

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

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

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

VS Code docs on skills

Get the folder:

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

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

The SKILL.md format

What it does

Profile-scoped configuration
Configures only the local or CI profiles requested and preserves all other profiles and settings.
Approval-gated changes
Previews install commands, YAML diffs and created files, requiring separate approval for installs and writes.
Provider mapping
Links each selected provider to a root runtime entry while keeping shared policy at the root.
Doctor validation
Runs doctor for each changed profile using the same command prefix used for setup.
Credential safety
Works with credential and secret names only and never requests or prints secret values.

Good for

  • Install and initialize DiffPal in a repository for local reviews
  • Add a CI profile to an existing DiffPal configuration
  • Repair a broken DiffPal config file without losing other profiles
  • Validate that DiffPal setup works after a version upgrade
  • Add a new review provider to the existing config

Diffpal setup FAQ

What does Diffpal setup need before it runs?

It needs a repository with DiffPal config or intent to set it up, and it checks for provider CLIs by executable name. Installation is only done with separate approval, using a pinned version.

Does Diffpal setup store or read my API keys?

No. It never requests, reads, prints or copies credential values and only works with credential or secret names.

Will Diffpal setup change files without asking?

No. It previews the YAML diff and every file init may create, and it does not overwrite existing files without approval for those exact paths.

Does doctor confirm my provider works?

Not in local mode. The skill notes that doctor --mode local validates configuration and executables but does not prove provider authentication or connectivity.

How do I install Diffpal setup in Claude Code?

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

Does Diffpal setup 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 setup?

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 Diffpal setup?

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

Where this comes from

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

More from diffpal/diffpal

  1. Guides safe setup of DiffPal code review in GitHub Actions, GitLab, Azure or custom CI

    • Open source
    • 9 GitHub stars
    • Developer tools
  2. Runs DiffPal code reviews on uncommitted work or committed revision ranges

    • Open source
    • 9 GitHub stars
    • Developer tools
  3. Guides safe setup of DiffPal code review in GitHub, GitLab, Azure or custom CI

    • Open source
    • 9 GitHub stars
    • Developer tools
  4. Runs and checks DiffPal code reviews of uncommitted work, branches or commits

    • Open source
    • 9 GitHub stars
    • Developer tools
  5. Sets up and validates DiffPal local and CI configuration with your approval

    • Open source
    • 9 GitHub stars
    • Developer tools