跳到主要内容
知仓学习社ZHICANG

review-pr

Review a pull request by fetching PR comments, running a comprehensive code review, evaluating findings, and dispatching to implementation. Use when…

不碰外部(只输出文字)无严重或高危命中tobihagemann/turbo

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Review PR

Fetch PR context, run a comprehensive code review, evaluate findings, and dispatch accepted findings to implementation.

Task Tracking

At the start, use TaskCreate to create a task for each step:

  1. Run /fetch-pr-comments skill
  2. Resolve base branch
  3. Run /review-code skill
  4. Run /evaluate-findings skill
  5. Run /resolve-findings skill

Step 1: Run /fetch-pr-comments Skill

Run the /fetch-pr-comments skill to get unresolved review comments.

Step 2: Resolve Base Branch

Detect the PR's base branch via gh pr view --json baseRefName --jq '.baseRefName', then run git fetch origin <base-branch> to bring the remote ref up to date.

Step 3: Run /review-code Skill

Run the /review-code skill. The diff command is git diff origin/<base-branch>...HEAD. Take the base from origin/: a local branch of the same name can sit behind the remote, which puts the merge base before an already-merged pull request and pulls merged work into the review as if it were new.

Step 4: Run /evaluate-findings Skill

Run the /evaluate-findings skill on the combined results from Step 3. Include any unresolved PR comments from Step 1 as additional findings for evaluation.

Step 5: Run /resolve-findings Skill

If zero actionable findings survive evaluation, report that the code looks clean and stop.

Otherwise, run the /resolve-findings skill on the accepted findings from Step 4.

Rules

  • If fetching PR comments fails, proceed with code review only.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 403
本站分层T2
该仓技能数153
原文件路径claude/skills/review-pr/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 153 个技能

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 review-pr 的技能。它们内容并不相同,别混用:

  • tobihagemann/turbo — Review a pull request by fetching PR comments, running a comprehensive code review, evalua