# Diffpal ci

> Diffpal ci is an open-source agent skill for developer tools. Guides safe setup of DiffPal code review in GitHub Actions, GitLab, Azure or custom CI. 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-ci
- **Repository:** https://github.com/diffpal/diffpal
- **GitHub stars:** 9
- **License:** MIT
- **Skill name:** diffpal-ci
- **Collection:** https://github.com/diffpal/diffpal
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill helps an agent add or update DiffPal review inside an existing CI pipeline without weakening its security. It walks through choosing between artifact-only runs and native publishing to GitHub, GitLab or Azure DevOps, picking a CI provider profile, and deciding whether review feedback is a summary or inline comments and whether a gate should fail the job.

The workflow begins by reading the repository's DiffPal config, existing workflow files and version policy, then loads one platform reference and validates the effective ci profile with a local doctor check. It insists that provider credentials are only exposed to trusted actors or trusted config sources, and that host publishing credentials stay separate from provider credentials. Changes are previewed as minimal structural merges, shown without secret values, and only applied after explicit approval.

The skill expects a repository already using or willing to use DiffPal, a CI system it can detect or be told about, and the ability to run the DiffPal executable locally for validation. It does not set secrets, push branches, or trigger workflows on its own.

## When your agent uses it

> Configure DiffPal review in CI safely. Use when adding or updating DiffPal in GitHub Actions, GitLab CI, Azure Pipelines, or a custom CI system; selecting a CI provider/profile; configuring artifacts, feedback, or gates; or protecting review credentials and trusted configuration from pull-request changes.

## 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-ci)
- [License: MIT](https://github.com/diffpal/diffpal/tree/HEAD/plugins/diffpal/prefixed-skills/diffpal-ci)

## Features

- **CI platform selection:** Detects or asks which CI system and job should host DiffPal before editing anything.
- **Trust boundary checks:** Confirms credentials are only exposed to approved actors or trusted DiffPal config sources.
- **Structural workflow merge:** Adds DiffPal steps while preserving existing triggers, permissions, jobs and version pins.
- **Profile validation:** Runs a local doctor check against the ci profile to catch configuration problems early.
- **Gate and feedback design:** Separates review output detail from whether the pipeline fails on findings.
- **Artifact retention:** Keeps review artifacts uploaded even when review or gating fails.

## Good for

- Add DiffPal review to an existing GitHub Actions pull request workflow
- Set up DiffPal in GitLab CI with inline review feedback
- Configure DiffPal in Azure Pipelines without exposing credentials to forks
- Make DiffPal block merges above a chosen severity threshold
- Run DiffPal in a custom CI system and keep its review artifacts

## 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-ci`:

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

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

### Codex

Copy the skill folder to `~/.agents/skills/diffpal-ci` 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-ci &&
cp -R "$tmp/plugins/diffpal/prefixed-skills/diffpal-ci" ~/.agents/skills/diffpal-ci &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/diffpal-ci` 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-ci &&
cp -R "$tmp/plugins/diffpal/prefixed-skills/diffpal-ci" ~/.cursor/skills/diffpal-ci &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/diffpal-ci` 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-ci
```

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

### VS Code

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

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

For one project only, put the folder in `.github/skills/diffpal-ci` 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-ci` into your agent's skills folder as `diffpal-ci`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which CI systems does Diffpal ci cover?

It has reference guides for GitHub Actions, GitLab CI, Azure Pipelines and custom CI systems, and loads only the one matching the target.

### Does Diffpal ci change my workflow files automatically?

No. It previews the exact workflow and config diffs and waits for explicit approval before writing to the repository.

### Will Diffpal ci set secrets or push changes?

No. It leaves secret setup, pushing, workflow dispatch and protected environment approvals to the user or administrators unless separately authorized.

### Does Diffpal ci need a particular DiffPal version?

It selects one exact DiffPal executable and version according to the repository's own version policy.

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

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

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

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 ci?

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

## Where this comes from

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

## Alternatives

- [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.
- [Diffpal review](https://ai-powered.com/skills/diffpal-review-diffpal): Diffpal review is an open-source agent skill for developer tools.
- [Review](https://ai-powered.com/skills/review-diffpal): Review is an open-source agent skill for developer tools.
- [Go ci](https://ai-powered.com/skills/go-ci): Go ci 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.
- [Ci cd](https://ai-powered.com/skills/ci-cd): Ci cd is an open-source agent skill for developer tools.

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