review-pr

仓库创建 2026年7月4日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

能快速生成可发布到 GitHub 的审查意见,便于统一初步质量把关。

▸ 风险提示

会在 PR 上发布评论并可标记为可审阅,需仓库写权限与人工复核。

这个 Skill 做什么

对分支 diff 做自动化代码审查、发布行内评论并给出总结意见。

自动对当前分支和 main 的 diff 做代码审查,能在 GitHub 发行内评论、给出总结性意见并把 PR 标记为可审查。适合想先用自动化工具检查 PR、快速获得问题清单和改进建议的时候。特别的是它能直接在 PR 上留言,替代本地的 agent-review 工作流,节省人工初审时间。

▸ 展开 SKILL.md 英文原文

Reviews the current PR branch diff against main, posts inline review comments and a summary, then marks the PR ready for review. Local replacement for the agent-review GitHub workflow. Use when user says "review pr", "review this pr", "/review-pr", or wants to run automated review on a pull request.

开发编程PR 审查自动评审GitHub通用
2
Stars
0
Forks
5
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/sgomez/developer-skills/main/skills/review-pr/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/sgomez/developer-skills/main/skills/review-pr/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Review PR

Reviews current branch diff, posts GitHub review, marks PR ready.

## Invoke

```
/review-pr          # reviews PR for current branch
/review-pr 42       # reviews PR #42
```

## Flow

### 1. Identify and check out the PR

If no number given:
```bash
gh pr view --json number,title,headRefName,baseRefName,state
```

Refuse if PR is closed or merged.

If the current branch is not the PR branch (the /developer pipeline runs this
in a fresh worktree), first confirm **where you are**:

```bash
git rev-parse --git-dir --git-common-dir   # two different paths = linked worktree
```

If both paths are equal you are in the **primary checkout** — detaching or
switching it would hijack the 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有