# Gh PR Review

Automated Cherry Studio review for local branches, PRs, commits, files, architecture...

- Repository: https://github.com/CherryHQ/cherry-studio (53164 stars)
- Category: Design
- License: AGPL-3.0
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add CherryHQ/cherry-studio --skill gh-pr-review -g -a claude-code -y`
Codex: `npx skills add CherryHQ/cherry-studio --skill gh-pr-review -g -a codex -y`
Cursor: `npx skills add CherryHQ/cherry-studio --skill gh-pr-review -g -a cursor -y`
Gemini CLI: `npx skills add CherryHQ/cherry-studio --skill gh-pr-review -g -a gemini-cli -y`

## Description

Automated Cherry Studio review for local branches, PRs, commits, files, architecture docs, and repository skills. Use for code or documentation reviews that need project-specific naming, main/renderer/shared placement and dependency rules, IpcApi and DataApi boundaries, lifecycle/service ownership, renderer hooks, React/UI conventions, and tests. Review depth adapts to diff size and runtime subagent capability (single-agent or multi-agent reviewer-verifier). Report-only by default; code fixes and GitHub submission each require explicit invocation-time authorization (`fix` / `submit`). Normal-review prompts and safe interruption behavior follow the interaction contract below. To diagnose gaps in the skill after a review session, run `/gh-pr-review diag`.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- Based on https://github.com/Tencent/tgfx/tree/main/.codebuddy/skills/cr -->
<!-- Adapted for agent runtimes and the Cherry Studio tech stack -->

# /gh-pr-review, Code Review

Automated code review for local branches, PRs, commits, and files. Detects
the review target from arguments, then picks the review engine from diff size
and runtime capability. Small diffs use single-agent review
(`references/local-review.md`). Large diffs use the multi-agent
reviewer, verifier flow (`references/teams-review.md`) only when independent
subagents are available; otherwise they fall back to single-agent review with
that limitation disclosed. PR targets add worktree setup and GitHub submission
(`references/pr-review.md`) around the same engine-selection contract.

Cherry Studio-specific review rules live in
`references/cherry-review-guidance.md`. Target review flows must load that file
for code, mixed, architecture-doc, and project-skill reviews so reviewers can
apply DataApi, service-boundary, renderer hook, React, UI, and type-contract
checks without relying on memory. That reference also defines which internal
docs, internal skills, external skills, and official websites to consult for
each changed area; load only the relevant subset.

All user-facing text matches the user's language.

## Interaction and interruption contract

Apart from the declared categories below, normal review is prompt-free: never
ask for mode selection, fix confirmation, finding selection, or submission
preview. A leaf flow may request input only when it explicitly declares one of
these categories:

The rest: https://github.com/CherryHQ/cherry-studio/blob/HEAD/.agents/skills/gh-pr-review/SKILL.md
