/diffpal:reviewfrom diffpal
Runs DiffPal code reviews for branches, revision ranges, commits, and uncommitted work. Supports local review and optional publication to GitHub, GitLab, or Azure DevOps.
Ships in diffpal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run the review mode the user requested. Local uncommitted review and committed revision review are separate modes; never combine them implicitly.
Honor an executable or version explicitly selected by the user. Otherwise use the latest published CLI:
npx -y @diffpal/diffpal@latest
Reuse that exact prefix throughout the run. Do not build repository source or prefer a stale global binary unless the user explicitly requests development testing or that binary.
review uncommitted and read
uncommitted review. The backend
provider owns workspace snapshot acquisition and inspection; the CLI mode
changes the task prompt. Do not enumerate or pass changed files one by one.review local --base … --head …
and read committed scopes.review github,
review gitlab, or review ado mode only after distinct authorization to
publish.When the user says to review current or uncommitted work, choose the uncommitted command directly. Ask a scope question only when committed history and current workspace changes are both plausible and the user did not choose.
Read repository instructions and the selected profile from
.config/diffpal/config.yaml without exposing credentials. Use local for a
developer review unless the user selected another profile. A prior explicit
request to run the review authorizes the provider call; ask again only when the
provider, scope, publishing behavior, or other external effect changes.
For uncommitted work, run the single command documented in the reference. Do not require a provider-free file preview: the backend obtains its snapshot and uses its own repository tools. For committed work, resolve and verify explicit base/head revisions before running the reference command.
Default feedback to review, output to
.artifacts/diffpal/findings.json, and gate off. Add --gate only when the
user wants findings to control the exit status. Local review never publishes.
Confirm the findings artifact exists and its base/head, reviewed files, change summary, and findings are consistent with the selected mode. Do not treat exit 0 alone as proof that the requested scope was reviewed. Report the artifact path, concise finding summary, and any provider or validation failure.
| Exit | Meaning |
|---|---|
| 0 | Review completed; findings may exist when gate is off. |
| 2 | Configuration, flags, authentication, or diff context failed. |
| 3 | Transient provider failure; offer at most one authorized retry. |
| 4 | Publishing or conversion failed; preserve completed artifacts. |
| 5 | Internal tooling or local output failed. |
| 10 | Review completed with gated blocking findings. |
Never retry a provider call indefinitely, publish, change secrets, stage, commit, stash, push, or construct a replacement snapshot without the authority appropriate to that action.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub diffpal/diffpal --plugin diffpal3 skills in this plugin
/ciConfigure 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./setupInstall, initialize, repair, or validate DiffPal configuration for requested local and/or CI profiles while preserving repository policy and credentials.Other plugins' skills for the same job