Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

pr-review-loop公关审查循环

Agent Skill

pr-review-loop 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

220

周安装

9

GitHub Stars

公开资料未说明

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pr-review-loop(公关审查循环)
来源仓库:https://github.com/leegonzales/aiskills
仓库路径:skills/pr-review-loop
安装命令:
npx skills add leegonzales/aiskills --skill "pr-review-loop"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add leegonzales/aiskills --skill "pr-review-loop"

简介

发现并安装 AI 代理的技能。pr-review-loop 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适用于建立 PR 评审反馈闭环与协作流程标准化。
  • 使用 npx 安装,来自 leegonzales/aiskills 项目。
  • 需配合 Issue 跟踪系统使用。
  • 技能功能重叠度高,实用性待评估。

SKILL.md

name
pr-review-loop
description
Manage PR review feedback loops with Gemini Code Assist. Use when pushing changes to a PR, iterating on review feedback, or monitoring CI/review status. Automatically falls back to Claude when Gemini is rate-limited.
license
MIT
environment
claude-code

PR Review Loop

Streamline the push-review-fix cycle for PRs with automated reviewers like Gemini Code Assist.

CRITICAL: Git Command Restrictions

YOU DO NOT HAVE PERMISSION TO USE RAW GIT COMMANDS.

ForbiddenUse Instead
git commitcommit-and-push.sh "msg"
git pushcommit-and-push.sh "msg"

All scripts are in ~/.claude/skills/pr-review-loop/scripts/.

When to Use

Invoke when user:

  • Pushes changes and waits for CI/reviews
  • Says "new reviews available" or "check PR feedback"
  • Iterates on review feedback from Gemini or other reviewers
  • Wants to monitor PR status
  • Asks to address reviewer comments

Core Workflow

1. Get unresolved comments (--wait to poll 5 min)
2. For EACH comment: fix OR skip, then REPLY
3. Commit using commit-and-push.sh (NEVER raw git)
4. Trigger next review with trigger-review.sh --wait
5. Repeat until no new issues
6. One final loop, then ask about merge

Step-by-step Commands

1. Check for comments:

~/.claude/skills/pr-review-loop/scripts/summarize-reviews.sh <PR>
~/.claude/skills/pr-review-loop/scripts/get-review-comments.sh <PR> --with-ids --wait

2. Reply to EVERY comment:

~/.claude/skills/pr-review-loop/scripts/reply-to-comment.sh <PR> <id> "Fixed - description"
~/.claude/skills/pr-review-loop/scripts/reply-to-comment.sh <PR> <id> "Won't fix - reason"

3. Commit and push:

~/.claude/skills/pr-review-loop/scripts/commit-and-push.sh "fix: description"

4. Trigger next review:

~/.claude/skills/pr-review-loop/scripts/trigger-review.sh <PR> --wait

Be Skeptical of Reviews

Not all suggestions are good. Evaluate critically:

  • Does this improve the code, or is it pedantic?
  • Is this appropriate for the project context?
  • Would this add unnecessary complexity?

Skip suggestions that are:

  • Platform-specific when not applicable
  • Overly defensive (excessive null checks)
  • Stylistic preferences not matching project
  • Documentation for self-explanatory code

When in doubt, ask the user.

One More Loop Rule

When all comments are resolved:

  1. Track in TodoWrite: "Final verification loop"
  2. Trigger one more review cycle
  3. If no actionable feedback → ask about merge
  4. If new fixes needed → remove todo, do fresh "one more" after

Gemini Rate Limit Fallback

When Gemini hits daily quota, use Claude:

~/.claude/skills/pr-review-loop/scripts/trigger-review.sh <PR> --claude
# OR
~/.claude/skills/pr-review-loop/scripts/claude-review.sh <PR>

Then use Task tool with the generated prompt.

Scripts Quick Reference

ScriptPurpose
commit-and-push.sh "msg"ALWAYS USE for commits
reply-to-comment.sh <PR> <id> "msg"Reply and auto-resolve
get-review-comments.sh <PR> --with-ids --waitFetch comments
trigger-review.sh <PR> --waitTrigger review cycle
summarize-reviews.sh <PR>Summary by priority/file
claude-review.sh <PR>Claude fallback prompt

See references/scripts-reference.md for complete documentation.

Reply Templates

  • Fixed: "Fixed - [description]"
  • Won't fix: "Won't fix - [reason]"
  • Deferred: "Good catch, tracking in #issue"
  • Acknowledged: "Acknowledged - [explanation]"

Prerequisites

  • gh CLI authenticated
  • pre-commit installed (pip install pre-commit)
  • Pre-commit hooks in repo (.pre-commit-config.yaml)

Permission Setup

Add to .claude/settings.local.json:

Bash(~/.claude/skills/pr-review-loop/scripts/commit-and-push.sh:*)
Bash(~/.claude/skills/pr-review-loop/scripts/reply-to-comment.sh:*)
Bash(~/.claude/skills/pr-review-loop/scripts/trigger-review.sh:*)

References

  • references/scripts-reference.md - Complete script documentation
  • references/workflow-examples.md - End-to-end examples

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.1%
按下载量换算21

windsurf

21.65%
按下载量换算15

OpenCode

18.94%
按下载量换算13

Codex

14.81%
按下载量换算11

Antigravity

8.26%
按下载量换算6

Gemini CLI

3.9%
按下载量换算3

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills