agentsclimarketplace

Gh pr review

Skill CherryHQ/cherry-studio/.agents/skills/gh-pr-review

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. Supports single-agent review with interactive fix selection or multi-agent reviewer-verifier review with risk-based auto-fix. To diagnose gaps in the skill after a review session, run `/gh-pr-review diag`.From its SKILL.md

Install
npx -y skills add CherryHQ/cherry-studio --skill gh-pr-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • runs commandsInstructs the agent to run 2 commands, including `git branch --show-current` and 1 more.

SKILL.md

4.6 KB, 944 tokens by cl100k_base, as published. Nobody here has run it

<!-- 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 review mode from arguments and routes to the appropriate review flow — either quick single-agent review with interactive fix selection, or multi-agent deep review with risk-based auto-fix.

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. Use the runtime's interactive dialog tool for questions and option selection when one is available; otherwise ask one concise plain-text question and wait for the reply. Do not invent a tool or syntax the runtime does not expose. For interactive multi-select: ≤4 items → one question. >4 items → group by priority or category (each group ≤4 options), then present all groups in one prompt.

Route

Run pre-checks, then match the first applicable rule top-to-bottom:

  1. git branch --show-current → record whether on main/master.
  2. git status --porcelain → record whether uncommitted changes exist.
  3. Check whether the current environment supports parallel subagents (agent teams), using the runtime-provided coordination tools.
#ConditionAction
1$ARGUMENTS is diagreferences/diagnosis.md
2$ARGUMENTS is a PR number or URL containing /pull/references/pr-review.md
3Agent teams NOT supportedreferences/local-review.md
4Uncommitted changes existreferences/local-review.md
5On main/master branchreferences/local-review.md
6Everything else→ Question below

Each means: Read the target file and follow it as the sole remaining instruction. Ignore all sections below. Do NOT review from memory or habit — each target file defines specific constraints on how to obtain diffs, apply fixes, and submit results.

Priority rule: user intent (Rule 1, 2, 6) takes priority over working-tree state (Rule 3, 4, 5). A PR URL or PR number always goes to references/pr-review.md even when the working tree is dirty or the current branch is main/master — those state conditions only apply when the user did not specify a review target.


Question

Ask a single question: "Agent Teams is available (multiple agents working in parallel). Enable multi-agent review with reviewer–verifier adversarial mechanism and auto-fix?" Provide 4 options:

OptionDescription
Teams + auto-fix low & medium risk (recommended)Multi-agent review; auto-fix most issues, only confirm high-risk ones (e.g., API changes, architecture).
Teams + auto-fix low riskMulti-agent review; auto-fix only the safest issues (e.g., null checks, typos, naming). Confirm everything else.
Teams + auto-fix allMulti-agent review; auto-fix everything. Only issues affecting test baselines are deferred.
Single-agent + manual fixSingle-agent review; interactively choose which issues to fix afterward.

Hand off

OptionFIX_MODE
Teams + auto-fix low & medium risk (recommended)references/teams-review.mdlow_medium
Teams + auto-fix low riskreferences/teams-review.mdlow
Teams + auto-fix allreferences/teams-review.mdfull
Single-agent + manual fixreferences/local-review.md

Pass $ARGUMENTS to the target file. For teams-review, also pass FIX_MODE (low / low_medium / full).

What ships with it: 10 files

74.6 KB alongside SKILL.md

agents/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.