Agent skill

Review PR

by tisfeng in tisfeng/Easydict

审查 GitHub PR 的准确 head/base diff、关联 issue、CI 和 review threads,交付前刷新。创建 PR 使用 submit-pr;本地审查使用 review。

GPL-3.0Auto-check passedDevelopment

Install Review PR

skills CLI
$ npx skills add tisfeng/Easydict --skill review-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tisfeng/Easydict review-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tisfeng/Easydict.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/review-pr .claude/skills/review-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-pr
GitHub stars
15k
Token cost
~723 tokens
SKILL.md length
214 words
Files
24 (incl. scripts, references)
Skills in repo
8
Repo updated
First seen
Licence
GPL-3.0

At a glance

审查 GitHub PR 的准确 head/base diff、关联 issue、CI 和 review threads,交付前刷新。创建 PR 使用 submit-pr;本地审查使用 review。

  • Works in 6 steps: 读取 证据收集与刷新,收集并冻结 PR 身份、head/base、 → 允许 Git 准备时读取 本地准备与… → 将 PR 目标、关键验收条件、冻结 base/head 和完整 raw diff… → …
  • Tasks that involve Pull requests
  • SKILL.md covers 模式与授权, 核心安全边界, 审查流程 and 完成与停止条件
  • Runs Python and Shell scripts from its folder; calls git

What it does

Review PR is an agent skill from tisfeng/Easydict. 审查 GitHub PR 的准确 head/base diff、关联 issue、CI 和 review threads,交付前刷新。创建 PR 使用 submit-pr;本地审查使用 review。

Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. The skill folder holds 26 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/evidence-workflow.md` and `references/local-preparation.md`).

It sits in Development, covering Pull requests. It works with GitHub and Git. The repository describes itself as: 一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,OpenAI,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App… The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Pull requests

Example prompts

  • “/review-pr”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 读取 证据收集与刷新,收集并冻结 PR 身份、head/base、
  2. 允许 Git 准备时读取 本地准备与 latest-base;只读模式直接使用准确远程证据。
  3. 将 PR 目标、关键验收条件、冻结 base/head 和完整 raw diff 交给 review,检查需求满足程度、
  4. 评估每个开放 thread,包括 outdated、bot 和所有回复。已有评论只放在对应评论条目,
  5. 如任务包含冲突处理、验证或本地提交,先完成这些获准操作;结论前按证据协议立即刷新 PR、
  6. 生成最终回复前重新读取 PR 审查报告;此前已读过或上下文摘要中

What it can do on your machine

Read from SKILL.md and the folder at commit cfda6e2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 8 files in scripts/ (Python and Shell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review PR loads about 723 tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 28 tokens; SKILL.md has 214 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~723
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tisfeng/Easydict at commit cfda6e2, republished under its GPL-3.0 licence (© tisfeng). 214 words, ~723 tokens.

Download SKILL.mdSave it as .claude/skills/review-pr/SKILL.md (or your agent's skills folder). This skill also uses 23 other files; get the full folder from GitHub.
name
review-pr
description
审查 GitHub PR 的准确 head/base diff、关联 issue、CI 和 review threads,交付前刷新。创建 PR 使用 submit-pr;本地审查使用 review。

GitHub PR 审查

本 Skill 编排 GitHub PR 的身份、问题背景、本地准备、CI、线程和最终刷新。 语义与正确性审查使用配套 review;审查本地工作树、提交、范围、文件或模块时直接使用 review,不启动 PR 编排。

<review-pr-skill-dir> 指实际加载的本 Skill 目录。优先从当前 Skill 清单定位 review, 未提供位置时才检查 同级安装位置。开始 Git 准备前确认依赖可读; 缺失时可收集获准的只读证据,但不得声称完整代码审查已完成。

模式与授权

  • 默认本地审查:明确请求审查 PR 时,包含必要的 remote 添加、fetch、安全分支创建或 fast-forward、upstream 设置和 checkout。
  • 隔离 worktree:只在用户明确要求 worktree、并行或并发 review 时新建;本人 PR 分支 已在其他 worktree 打开时可复用其干净 checkout,后续命令使用回执路径。
  • latest-base 集成审查:只在用户明确要求更新最新 base、解决冲突或审查集成结果时使用。
  • 不改变 Git 状态:遵守用户的只读或不切分支限制,改用可访问的准确远程 diff、源码和评论; 证据不足时报告限制。

上述本地准备授权不包含产品修复、push、发布评论、approve、删除评论或关闭 PR。 线程 resolve 需要单独的远程操作授权和当前远程证据。仅方案或解释不执行 Git 准备。

核心安全边界

  • 默认本地模式从 git status --short --branch 开始;当前 checkout 有未提交变更时, 在切换分支前停止。显式 worktree 模式不得改变原 checkout,因此可从脏状态继续。
  • 多阶段 review 必须把首次准备回执中的 checkout.branch 作为后续阶段的显式输入;使用 helper 的 --reuse-branch 复验该分支、HEAD、upstream 和 worktree 占用,失败时停止, 不静默改选另一个分支。回执记录实际 helper 路径、入口 SHA 和准备依赖组合指纹, 按本地准备协议复验版本漂移。
  • 不覆盖、删除、重命名、rebase、reset、强制更新、stash 或丢弃本地分支、worktree 或变更。
  • 普通审查必须对应 PR 元数据的准确 headRefOid 和真实 base/merge-base diff; 不用 detached HEAD、已 fetch ref 或无关 origin 绕过身份检查。
  • 本人 PR 优先复用已核实身份的同名分支及等价 upstream。相同或落后的分支安全准备到远程 head;领先时保留额外提交,按冻结 Git 对象审查,不新建 review 分支。回执区分 checkout 与 review SHA;源码上下文和验证归属遵循 证据协议。 本人分支分叉或 upstream 不匹配时停止;其他作者仍按本地准备协议处理 collision fallback。
  • mergeable: CONFLICTING、mergeStateStatus: DIRTY 或 base 领先不构成 latest-base 授权。
  • 除非用户明确要求,审查、准备、冲突处理和线程维护都不 push。审查后保留准备好的 分支或 worktree,不自动删除。

审查流程

  1. 读取 证据收集与刷新,收集并冻结 PR 身份、head/base、 问题背景、checks 和完整 threads/replies。
  2. 允许 Git 准备时读取 本地准备与 latest-base;只读模式直接使用准确远程证据。
  3. 将 PR 目标、关键验收条件、冻结 base/head 和完整 raw diff 交给 review,检查需求满足程度、 实现方式与代码正确性。
  4. 评估每个开放 thread,包括 outdated、bot 和所有回复。已有评论只放在对应评论条目, 不重复列为独立 finding。需要 resolve 且已获授权时才读取 线程维护。
  5. 如任务包含冲突处理、验证或本地提交,先完成这些获准操作;结论前按证据协议立即刷新 PR、 选定问题证据、checks 和完整 threads/replies,处理所有新活动。
  6. 生成最终回复前重新读取 PR 审查报告;此前已读过或上下文摘要中 提及过,均不替代此次读取。按该协议组织报告与必要的提交回执,并对实际回复草稿完成 交付检查 后再输出。

大 PR 或需要复用快照文件时才读取 快照传输协议;复杂复审报告可再读取 完整示例。

完成与停止条件

只有准确 remote head/base 与 merge-base、完整 diff、目标/问题证据、CI 状态、全部开放 threads 及回复均已审查,最终刷新没有未检查活动,且最终报告通过交付检查时,才算完成。最终刷新发现 head/base、 需求或线程变化时,根据影响更新 checkout、范围和判断,处理后再刷新一次。

引用有歧义、准备会覆盖本地状态、依赖或必需证据不可用、身份/内容持续漂移、冲突需要产品判断, 或最终刷新失败时,保留当前快照和本地状态,报告已审查 SHA 与未覆盖缺口;不无限重试。 受阻或未完成报告仍遵循报告协议,保留内容介绍及验证限制;证据不足的字段明确标注缺失, 不为满足格式编造内容,也不将报告格式完整视为审查已完成。

© tisfeng, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 23 other files (scripts, references) in .agents/skills/review-pr of tisfeng/Easydict.

  • SKILL.md
  • agents/openai.yaml
  • references/evidence-workflow.md
  • references/local-preparation.md
  • references/problem-review.md
  • references/report-example-simple.md
  • references/report-example.md
  • references/reporting.md
  • references/snapshot-protocol.md
  • references/thread-resolution.md
  • scripts/pr_identity.py
  • scripts/prepare-pr-branch.sh
  • scripts/prepare_helper_fingerprint.py
  • scripts/prepare_pr_metadata.py
  • scripts/review_context.py
  • scripts/review_snapshot.py
  • scripts/review_threads.py
  • scripts/snapshot_transport.py
  • … and 6 more

Open the folder on GitHubat commit cfda6e2

Compare with similar skills

Review PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review PR this skilltisfeng/Easydict15k—~723Automated safety check: PassGPL-3.0
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0
Create Pull Request with Work Item IDmakeplane/plane61k—~824Automated safety check: PassAGPL-3.0

Similar skills

  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated today
    DevelopmentAuto-check passed
  • Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.

    61k GitHub stars~824 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated today
    DevelopmentAuto-check passed

More from tisfeng/Easydict

All 8 skills in this repo
  • Fireworks Tech Graph

    tisfeng/Easydict

    Create precise SVG technical diagrams, export PNG or offline HTML, and animate supported semantic SVGs to GIF.

    15k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Release Easydict

    tisfeng/Easydict

    编排 Easydict macOS 的 draft、publish、release 和 resume,整理英文 GitHub Release 内容,并处理发布后的 Issue 跟进及本地清理。不用于一般的发布流程设计讨论。

    15k GitHub stars~810 tokensUpdated 4 days ago
    Auto-check passed
  • Submit PR

    tisfeng/Easydict

    创建或复用当前 checkout 已提交变更的 GitHub PR,必要时推送任务分支。PR 审查使用 review-pr;仅本地提交使用 git-commit。

    15k GitHub stars~595 tokensUpdated 4 days ago
    Auto-check passed
  • Git Commit

    tisfeng/Easydict

    起草、创建或汇报 Angular-style 本地 Git 提交。用于明确的提交交付;分支集成使用 worktree-rebase-merge,不 push。

    15k GitHub stars~535 tokensUpdated 4 days ago
    Auto-check passed
  • Review

    tisfeng/Easydict

    审查本地工作树、提交、range、文件或模块,找出有证据的缺陷。GitHub PR 审查使用 review-pr;代码清理使用 code-simplifier。

    15k GitHub stars~659 tokensUpdated 4 days ago
    Auto-check passed
  • Worktree Rebase Merge

    tisfeng/Easydict

    将当前 worktree 的任务提交 rebase 到本地目标分支,并从目标 worktree 合并。用于明确要求本地集成;仅创建提交使用 git-commit。

    15k GitHub stars~408 tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Review PR

What does Review PR do?

审查 GitHub PR 的准确 head/base diff、关联 issue、CI 和 review threads,交付前刷新。创建 PR 使用 submit-pr;本地审查使用 review。. Review PR is an agent skill from tisfeng/Easydict.

When should I use Review PR?

Review PR fits situations like: tasks that involve Pull requests.

How do I install Review PR in Claude Code?

Run `npx skills add tisfeng/Easydict --skill review-pr -a claude-code`. Or copy the skill folder (.agents/skills/review-pr in tisfeng/Easydict) into .claude/skills/review-pr in your project. Claude Code loads it when a task matches its description.

How do I install Review PR in Codex?

Run `npx skills add tisfeng/Easydict --skill review-pr -a codex`. Or copy the skill folder (.agents/skills/review-pr in tisfeng/Easydict) into .agents/skills/review-pr in your project. Codex loads it when a task matches its description.

Can I use Review PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tisfeng/Easydict --skill review-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-pr, .gemini/skills/review-pr, .github/skills/review-pr and .opencode/skills/review-pr in your project.

What does Review PR need to run?

Going by SKILL.md and its folder, Review PR needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (git). Our summary lists: Python 3; A Bash shell.

Does Review PR access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Review PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Review PR use?

Review PR is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review PR use?

About 723 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 12k tokens, read only when the agent opens those files.

What are the alternatives to Review PR?

Skills that share tags, products or a category with Review PR: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review PR?

tisfeng (a GitHub user) maintains it in tisfeng/Easydict, which has 14,892 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 6, 2026.

Source: tisfeng/Easydict on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.