Skip to content
Skill

Ci

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

Ci is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

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

Similar skills

About Ci

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.

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 2 files (4 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/ci:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/ci 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/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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/ci 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/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.

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/skills/ci

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

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Ci 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.

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. Sets up and validates DiffPal review configuration for local and CI profiles

    • 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