Token导航 LogoToken导航

Agent Skill · 研究检索

pr-review(公关审查)

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

pr-review 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 41,891。

总安装 1,128周安装 47GitHub Stars 216下载 376核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mathews-tom/armory --skill pr-review

这个 Skill 是做什么的

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

pr-review 用于查找、检索和筛选相关信息。适合根据关键词、任务场景或来源线索快速定位候选结果。适用于 Codex、Claude、Cursor、Gemini CLI 中的研究类任务。通过 npx 安装,需确认权限范围和维护状态,注意可能触发联网操作。

建议结合来源仓库和原始 README 核验具体用法,避免依赖未经验证的搜索结果。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

pr-review 怎么安装?

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

pr-review 支持哪些 AI 工具?

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

pr-review 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

pr-review 是免费的吗?

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

pr-review 用的人多吗?

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

pr-review 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 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-review

公关审查 · 本页

1,128216只读未明确有提醒

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

SKILL.md 原文

PR Review

Diff-based code review across five dimensions. Reads the changed files, selects applicable review methodologies, and produces an aggregated report with severity-ranked findings.

Native alternative: Claude Code's /ultrareview runs a lightweight native bug-focused review (three free per month on Pro/Max plans at Opus 4.7's launch). Use this skill for five-dimension severity-ranked analysis (code quality + tests + error handling + types + comments) with file:line references; use /ultrareview for a quick bug-hunting pass on a diff.

Reference Files

FileContentsLoad When
references/code-review.mdGuideline compliance, bug detection, confidence scoringAlways
references/test-analysis.mdBehavioral test coverage, criticality ratingTest files changed
references/error-handling.mdSilent failure patterns, catch block analysisError handling changed
references/type-design.mdInvariant analysis, 4-dimension rating rubricType definitions added/modified
references/comment-quality.mdComment accuracy, long-term value, rot detectionComments/docstrings added

Workflow

Phase 1: Scope

  1. Determine the review target:

- Default: git diff (unstaged changes) - If user specifies a PR: git diff main...HEAD or gh pr diff <number> - If user specifies files: review those files directly

  1. List all changed files with git diff --name-only
  2. Read the project's CLAUDE.md (if present) for project-specific rules

Phase 2: Route

Classify changed files and select applicable dimensions:

ConditionDimensionReference to Load
AlwaysCode reviewreferences/code-review.md
Files matching *test*, *spec*, *_test.*, test_*Test analysisreferences/test-analysis.md
Files containing try/catch, except,.catch, Result, error callbacksError handlingreferences/error-handling.md
Files containing class, interface, type, struct, enum, dataclass definitionsType designreferences/type-design.md
Files with new/modified docstrings, JSDoc, or block commentsComment qualityreferences/comment-quality.md

Load only the reference files that apply. Skip dimensions with no matching files.

Phase 3: Review

For each applicable dimension, analyze the diff using the loaded methodology:

  1. Code review — scan every changed file for guideline violations and bugs. Apply confidence scoring (0-100). Only report issues >= 80.
  2. Test analysis — map test coverage to changed code paths. Rate gaps 1-10. Only report gaps >= 5.
  3. Error handling — examine every error handler in the diff for silent failures. Classify CRITICAL/HIGH/MEDIUM.
  4. Type design — evaluate new or modified types on 4 dimensions (encapsulation, invariant expression, usefulness, enforcement). Rate each 1-10.
  5. Comment quality — verify accuracy, assess long-term value, flag comment rot.

Phase 4: Aggregate

Merge all findings into a single report, deduplicated and severity-ranked.

Deduplication rules:

  • If two dimensions flag the same file:line, keep the higher-severity finding
  • If code-review and error-handling both flag an empty catch block, merge into one finding with the error-handling severity (it's the specialist)

Severity mapping across dimensions:

DimensionMaps to CriticalMaps to ImportantMaps to Suggestion
Code reviewConfidence 90-100Confidence 80-89—
Test analysisRating 9-10Rating 7-8Rating 5-6
Error handlingCRITICALHIGHMEDIUM
Type designAny rating <= 3/10Any rating 4-6/10Rating 7-8/10
Comment qualityFactually incorrectMisleading or incompleteRestates obvious code

Output Format

# PR Review Summary

**Scope:** [X files changed, Y dimensions applied]
**Dimensions:** [list of active dimensions]

## Critical Issues (must fix before merge)
- **[dimension]** `file:line` — Description. Fix suggestion.

## Important Issues (should fix)
- **[dimension]** `file:line` — Description. Fix suggestion.

## Suggestions (consider)
- **[dimension]** `file:line` — Description.

## Strengths
- What's well-done in this changeset.

## Recommended Action
1. Fix critical issues
2. Address important issues
3. Consider suggestions
4. Re-run review after fixes

If no issues are found at any severity level, confirm the code meets standards with a brief summary of what was reviewed and which dimensions were applied.


Aspect Selection

Users can request specific dimensions instead of running all:

User SaysDimensions Applied
"review my PR" / "check my changes"All applicable (default)
"review the code" / "check code quality"Code review only
"check the tests" / "is test coverage good"Test analysis only
"check error handling" / "find silent failures"Error handling only
"review the types" / "check type design"Type design only
"check the comments" / "review documentation"Comment quality only

When a specific aspect is requested, load only that reference file and skip routing.


Error Handling

ProblemResolution
No git diff availableAsk user to specify files or scope
CLAUDE.md not foundReview against general best practices; note the absence
No test files in diffSkip test analysis dimension; note in output
Diff is emptyReport "no changes to review" and stop
Diff exceeds context limitsFocus on files the user is most likely to care about; summarize skipped files

Calibration Rules

  1. Precision over recall. A false positive erodes trust in the review. Only report issues at >= 80 confidence (code review) or >= 5 criticality (tests). Silence is better than noise.
  2. File:line references are mandatory. Every finding must include a specific location. Vague findings ("consider improving error handling") are not actionable.
  3. Project rules override general rules. If CLAUDE.md says "use arrow functions", do not flag arrow functions even if conventional style prefers function declarations.
  4. Deduplication is mandatory. If two dimensions flag the same issue, merge them. Never report the same problem twice.
  5. Acknowledge strengths. A review that only lists problems is demoralizing. Note what's done well, even briefly.
  6. Code-refiner handles simplification. This skill reviews and reports. It does not refactor or simplify — that's the code-refiner skill's job. Keep the roles separate.

Rationalizations

RationalizationReality
"Tests pass, so the code is fine"Tests are necessary but insufficient — they miss architecture, security, readability, and maintainability concerns
"It's a small diff, no real review needed"Small changes cause most production incidents; a 3-line auth bypass is worse than a 300-line refactor
"We'll clean it up later"Later never comes — the review IS the quality gate before code becomes legacy
"The author is senior, I trust them"Seniority doesn't prevent mistakes; fresh eyes catch what familiarity blinds
"I already reviewed similar code recently"Each diff has unique context — assumptions from past reviews cause missed issues
"This is just a refactor, nothing can break"Refactors change behavior in subtle ways — verify with tests and trace call sites

Red Flags

  • Approving without reading every changed file in full (not just diff hunks)
  • No file:line references in findings — vague feedback is not actionable
  • Skipping a review dimension because "it looks fine"
  • Reporting only style issues while ignoring logic, security, or architecture
  • Reviewing generated code (migrations, protobuf stubs) with the same rigor as hand-written code
  • Merging findings from different dimensions without deduplication

Verification

  • Every changed file read in full, not just diff hunks
  • Each review dimension scored: correctness, security, performance, readability, architecture
  • Every finding includes a file:line reference
  • At least one actionable finding per 100 lines changed, or explicit "no issues found" with justification
  • Review summary includes risk level (LOW/MEDIUM/HIGH/CRITICAL) and blocking vs. non-blocking classification
  • Strengths acknowledged — review is not 100% negative

平台分布

Codex

36.96%
按下载量换算139

Claude

31.32%
按下载量换算118

Cursor

18.58%
按下载量换算70

Gemini CLI

9.33%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills