Token导航 LogoToken导航

Agent Skill · 研究检索

pr-reviewer(公关审稿人)

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

pr-reviewer 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 39,939。

总安装 1,346周安装 55GitHub Stars 15下载 436核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/spillwavesolutions/pr-reviewer-skill --skill pr-reviewer

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。pr-reviewer 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合根据关键词或任务场景快速定位候选结果。可结合来源仓库和原始 README 核验具体用法。安装前建议确认权限范围和维护状态。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。注意是否会触发联网、命令执行或文件读写操作。

来源仓库内路径:skills/pr-reviewer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/spillwavesolutions/pr-reviewer-skill --skill p…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pr-reviewer 怎么安装?

在终端执行 npx skills add https://github.com/spillwavesolutions/pr-reviewer-skill --skill pr-reviewer。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pr-reviewer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pr-reviewer 需要什么权限?

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

pr-reviewer 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pr-reviewer 用的人多吗?

公开数据是累计安装 1,346 次,近一周安装 55 次,下载 436 次,GitHub 15 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pr-reviewer 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pr-reviewer

公关审稿人 · 本页

1,34615需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

PR Reviewer Skill

Conduct comprehensive, professional code reviews for GitHub Pull Requests using industry-standard criteria and automated tooling.

Table of Contents

Purpose

This skill performs code reviews by:

  1. Automating data collection - Fetching all PR-related information (metadata, diff, comments, commits, issues)
  2. Organizing review workspace - Creating structured directory with all artifacts
  3. Applying systematic criteria - Reviewing against comprehensive quality checklist
  4. Facilitating inline feedback - Optionally adding comments directly to PR code
  5. Ensuring completeness - Checking functionality, security, testing, maintainability

When to Use

Activate this skill when:

  • A GitHub PR URL is provided with a review request
  • Receiving "review this PR" or "code review" requests
  • Checking PR quality before merging
  • Providing systematic feedback on proposed changes
  • GitHub PR review is mentioned in any context

Review Process Workflow

IMPORTANT: This skill uses a two-stage approval process. Nothing is posted to GitHub until explicit approval with /send or /send-decline.

Overview

  1. Fetch PR data - Collect all information
  2. Generate review files - Create detailed, human, and inline comment files
  3. Review and edit - Examine files, make changes as needed (use /show)
  4. Approve and post - Use /send (approve) or /send-decline (request changes)

Step 1: Fetch PR Data

Use fetch_pr_data.py to automatically collect all PR information:

python scripts/fetch_pr_data.py <pr_url> [--output-dir <dir>] [--no-clone]

Actions performed:

  • Parse PR URL to extract owner, repo, and PR number
  • Create directory structure: <output-dir>/PRs/<repo-name>/<PR-NUMBER>/
  • Fetch PR metadata (title, author, state, branches, labels)
  • Download PR diff and commit history
  • Retrieve all PR comments and reviews
  • Extract ticket references (JIRA, GitHub issues)
  • Optionally clone source branch and generate git diff

Example:

python scripts/fetch_pr_data.py https://github.com/facebook/react/pull/28476

# Custom output directory
python scripts/fetch_pr_data.py https://github.com/owner/repo/pull/123 --output-dir /tmp/reviews

# Skip cloning (faster, no git diff)
python scripts/fetch_pr_data.py https://github.com/owner/repo/pull/123 --no-clone

Output structure:

/tmp/PRs/<repo-name>/<PR-NUMBER>/
├── metadata.json           # PR metadata (title, author, branches)
├── diff.patch             # PR diff from gh CLI
├── git_diff.patch         # Git diff (if cloned)
├── comments.json          # Review comments on code
├── commits.json           # Commit history
├── related_issues.json    # Linked GitHub issues
├── ticket_numbers.json    # Extracted ticket references
├── SUMMARY.txt            # Human-readable summary
└── source/                # Cloned repository (if not --no-clone)

Step 2: Analyze PR Data

After fetching, analyze collected data against review criteria:

  1. Read SUMMARY.txt - High-level overview
  2. Review metadata.json - PR context, labels, assignees
  3. Examine diff.patch - Code changes
  4. Check comments.json - Existing feedback
  5. Review commits.json - Commit quality and messages
  6. Check related_issues.json - Linked tickets/issues
  7. Apply review criteria - Evaluate against comprehensive checklist

Use the Read tool to examine files:

Read /tmp/PRs/<repo-name>/<PR-NUMBER>/SUMMARY.txt
Read /tmp/PRs/<repo-name>/<PR-NUMBER>/metadata.json
Read /tmp/PRs/<repo-name>/<PR-NUMBER>/diff.patch

Step 3: Generate Review Files

CRITICAL: After analysis, use generate_review_files.py to create structured review documents:

python scripts/generate_review_files.py <pr_review_dir> --findings <findings_json> [--metadata <metadata_json>]

Creates three files in pr_review_dir/pr/:

  1. pr/review.md - Detailed internal review with emojis and line numbers
  2. pr/human.md - Clean review for posting (no emojis, em-dashes, line numbers)
  3. pr/inline.md - Proposed inline comments with code snippets

Also creates slash commands in .claude/commands/:

  • /send - Post human.md and approve PR
  • /send-decline - Post human.md and request changes
  • /show - Open review directory in VS Code

Findings JSON structure:

{
  "summary": "Overall assessment of the PR...",
  "metadata": {
    "repository": "owner/repo",
    "number": 123,
    "title": "PR title",
    "author": "username",
    "head_branch": "feature",
    "base_branch": "main"
  },
  "blockers": [
    {
      "category": "Security",
      "issue": "SQL injection vulnerability",
      "file": "src/db/queries.py",
      "line": 45,
      "details": "Using string concatenation for SQL query",
      "fix": "Use parameterized queries",
      "code_snippet": "result = db.execute('SELECT * FROM users WHERE id = ' + user_id)"
    }
  ],
  "important": [...],
  "nits": [...],
  "suggestions": ["Consider adding...", "Future enhancement..."],
  "questions": ["Is this intended to...", "Should we..."],
  "praise": ["Excellent test coverage", "Clear documentation"],
  "inline_comments": [
    {
      "file": "src/app.py",
      "line": 42,
      "comment": "Consider edge case handling for empty input",
      "code_snippet": "def process(data):\n    return data.strip()",
      "start_line": 41,
      "end_line": 43,
      "owner": "owner",
      "repo": "repo",
      "pr_number": 123
    }
  ]
}

Step 4: Review and Edit Files

Use /show to open the review directory in VS Code.

Actions available:

  • Read pr/review.md - Detailed analysis
  • Edit pr/human.md - Modify before posting
  • Review pr/inline.md - Check proposed comments
  • Adjust any content as needed

NOTHING is posted until explicit approval in Step 5.

Step 5: Approve and Post

Post the review when ready:

Option A: Approve the PR

/send
  • Posts pr/human.md as comment
  • Approves the PR
  • Confirms action

Option B: Request Changes

/send-decline
  • Posts pr/human.md as comment
  • Requests changes on the PR
  • Confirms action

Posting inline comments (optional, after /send or /send-decline): Review pr/inline.md and run the provided commands for specific code comments.

Step 6: Apply Review Criteria

Reference references/review_criteria.md for comprehensive checklist. Review against these categories:

CategoryKey Questions
FunctionalityDoes code solve the problem? Bugs? Edge cases?
ReadabilityClear code? Meaningful names? DRY?
StyleFollows linter rules? Consistent with codebase?
PerformanceEfficient algorithms? Scalable?
SecurityVulnerabilities addressed? Secrets protected?
TestingTests exist? Cover happy paths and edge cases?
PR QualityFocused scope? Clean commits? Clear description?

Priority markers for findings:

  • Blocker: Must be fixed before merge
  • Important: Should be addressed
  • Nit: Nice to have, optional
  • Suggestion: Consider for future
  • Question: Clarification needed
  • Praise: Good work

For detailed criteria: Read references/review_criteria.md

Reference Documentation

This skill includes comprehensive reference guides:

ReferencePurpose
references/review_criteria.mdComplete checklist covering functionality, security, testing, and more
references/gh_cli_guide.mdQuick reference for GitHub CLI commands
references/scenarios.mdDetailed workflows for common review scenarios
references/troubleshooting.mdCommon issues and solutions

Scripts Reference

scripts/fetch_pr_data.py

Automated PR data fetching and organization.

python scripts/fetch_pr_data.py <pr_url> [options]

Options:
  --output-dir DIR    Base output directory (default: /tmp)
  --no-clone         Skip cloning repository

scripts/generate_review_files.py

Generate structured review files from analysis findings.

python scripts/generate_review_files.py <pr_review_dir> --findings <findings_json> [--metadata <metadata_json>]

Creates:

  • pr/review.md - Detailed internal review
  • pr/human.md - Clean review for posting
  • pr/inline.md - Proposed inline comments with commands
  • .claude/commands/send.md - Slash command to approve and post
  • .claude/commands/send-decline.md - Slash command to request changes
  • .claude/commands/show.md - Slash command to open in VS Code
  • REVIEW_READY.txt - Summary of next steps

scripts/add_inline_comment.py

Add inline code review comments to specific lines in PR.

python scripts/add_inline_comment.py <owner> <repo> <pr_number> <commit_id> <file_path> <line> "<comment>" [options]

Options:
  --side RIGHT|LEFT       Side of diff (default: RIGHT)
  --start-line N         Starting line for multi-line comment
  --start-side RIGHT|LEFT Starting side for multi-line comment

Best Practices

Communication

  • Frame feedback as suggestions, not criticism
  • Explain why an issue matters, not just what is wrong
  • Acknowledge excellent practices
  • Prioritize blockers first, style issues last

Review Efficiency

  • Use scripts to automate data fetching and comment posting
  • Reference review_criteria.md as checklist
  • Focus: Critical issues > Important > Nice-to-have
  • Review promptly (within 24 hours if possible)

Inline Comments

  • Reference exact lines and files
  • Provide better alternatives
  • Test inline comments on test PRs first
  • Use sparingly to avoid overwhelming

PR Size Handling

  • Large PRs (>400 lines): Suggest splitting
  • Review in logical chunks
  • Focus on architecture for large changes

For detailed scenarios: Read references/scenarios.md

Quick Reference Commands

# Fetch PR data
python scripts/fetch_pr_data.py https://github.com/owner/repo/pull/123

# Add inline comment
python scripts/add_inline_comment.py owner repo 123 latest "src/app.py" 42 "Comment"

# View PR in browser
gh pr view 123 --repo owner/repo --web

# Check PR status
gh pr checks 123 --repo owner/repo

# View existing comments
gh api /repos/owner/repo/pulls/123/comments --jq '.[] | {path, line, body}'

Tips for Effective Reviews

  1. Start with context: Read PR description, linked issues, commit messages
  2. Understand intent: Identify the problem being solved
  3. Check tests first: Verify tests demonstrate the fix/feature
  4. Look for patterns: Repeated issues suggest architecture problems
  5. Consider alternatives: Evaluate simpler approaches
  6. Think about maintenance: Assess future modification ease
  7. Remember humans: Maintain kindness, respect, and constructive tone

For troubleshooting: Read references/troubleshooting.md

Resources

平台分布

Codex

35.98%
按下载量换算157

Claude

28.48%
按下载量换算124

Cursor

17.61%
按下载量换算77

Gemini CLI

9.94%
按下载量换算43

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills