# Ci

> Ci is an open-source agent skill for developer tools. Guides safe setup of DiffPal code review in GitHub, 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/skills/ci
- **Repository:** https://github.com/diffpal/diffpal
- **GitHub stars:** 9
- **License:** MIT
- **Skill name:** 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 walks an agent through adding or changing DiffPal review inside an existing CI pipeline. It starts by reading the repository's CI config and DiffPal settings, detects the CI platform, and loads the matching platform reference before proposing edits. It then runs a DiffPal doctor check against the CI profile to validate configuration and local executables, without testing provider authentication.

The workflow focuses on the decisions that matter for safety: whether results are only uploaded as artifacts or published natively, how feedback and blocking gates are set, which base and head refs and review identifiers are used, and where the runtime config comes from. It insists that credentials for the review provider stay separate from write tokens for the host platform, and that contributor-controlled code never runs with secrets. Changes are previewed as minimal structural merges, and nothing is written, pushed or approved until the user explicitly agrees.

The skill expects a repository that already uses DiffPal's CI profile and is run from a Claude Code plugin marketplace entry named diffpal. It does not ship scripts; it relies on the agent's file access and the DiffPal command line tool.

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

## Features

- **Platform-specific setup:** Matches the repository's CI system and loads the right reference for GitHub Actions, GitLab CI, Azure Pipelines or custom runners.
- **Trusted configuration checks:** Requires a trusted actor or base-ref config before any provider credential is exposed to a pull request.
- **Credential separation:** Keeps provider credentials apart from host publishing tokens and avoids unsafe pull_request_target usage.
- **Feedback and gate control:** Sets review output detail and blocking thresholds independently so failures can be tuned per pipeline.
- **Structural workflow merge:** Adds DiffPal jobs into existing workflows while preserving unrelated triggers, jobs, permissions and pins.
- **Approval-gated changes:** Previews workflow and config diffs and waits for explicit approval before editing, pushing or publishing.

## Good for

- Add DiffPal code review to an existing GitHub Actions pull request workflow
- Set up a GitLab CI job that uploads review artifacts without posting comments
- Configure a blocking review gate with a chosen threshold in Azure Pipelines
- Wire DiffPal into a custom CI system while keeping review credentials out of fork builds
- Update the DiffPal version pin and CI profile in a repository's pipeline

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

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

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

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

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

## FAQ

### What does the skill need before Ci starts?

It reads the repository's DiffPal config at .config/diffpal/config.yaml, existing workflow files and the CI platform in use, and it runs a doctor check using the CI profile with the chosen DiffPal executable.

### Does Ci publish reviews or change secrets on its own?

No. It does not set secrets, install tools, push, dispatch workflows, approve protected environments or publish a review without separate authorization.

### Are pull requests from forks safe to review with provider credentials?

Not automatically. The skill states that same-repository checks are only a transport filter and requires a trusted actor or branch with approval, or config loaded from a trusted base ref, before exposing credentials.

### Does Ci check that the provider login works?

No. The doctor command checks configuration and local executables only, not provider authentication or connectivity.

### How do I install Ci in Claude Code?

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

### Does 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 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 Ci?

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

## Where this comes from

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

## Alternatives

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

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