Token导航 LogoToken导航

Agent Skill · 研究检索

review(审查)

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

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

总安装 696周安装 29GitHub Stars 318下载 232核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/boshu2/agentops --skill review

这个 Skill 是做什么的

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

review 审查他人或 Agent 产出,聚焦变更合理性而非自身代码质量。适合在 Codex、Claude、Cursor、Gemini CLI 中进行 peer review。支持 PR 模式、本地 diff 模式及 Agent 输出专项审查三种方式。区别于 /vibe,本技能专责外部变更评估,确保协作一致性。

review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

review 怎么安装?

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

review 支持哪些 AI 工具?

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

review 需要什么权限?

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

review 是免费的吗?

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

review 用的人多吗?

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

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调用外部服务未明确有提醒
review

审查 · 本页

696318需要联网未明确有提醒

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

SKILL.md 原文

Review Skill

Quick Ref: /review <PR> reviews a PR, /review --diff reviews local changes, /review --agent <path> reviews agent output with extra scrutiny.

YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.

This skill is for reviewing OTHER people's or agents' changes. For validating your own code quality, use /vibe instead.


Modes

/review 42                          # PR mode — review PR #42
/review https://github.com/o/r/pull/42  # PR mode — review by URL
/review --diff                      # Diff mode — review unstaged/staged changes
/review --diff --staged             # Diff mode — staged only
/review --agent .agents/crank/      # Agent mode — review agent-generated output
/review --agent ./output.patch      # Agent mode — review a patch file
/review --deep 42                   # Deep mode — spawns council for second opinion

Execution Steps

Step 0: Detect Review Target and Load Standards

Determine the review mode from arguments:

  1. PR mode (default): argument is a number or GitHub PR URL.
  2. Diff mode: --diff flag present.
  3. Agent mode: --agent <path> flag present.

Load language-specific conventions from /standards based on file extensions in the diff. If ao is available, pull prior review context:

ao lookup --query "code review patterns $(basename "$PWD")" --limit 3 2>/dev/null || true

Apply retrieved knowledge (mandatory when results returned):

If learnings are returned, do NOT just load them as passive context. For each returned item:

  1. Check: does this learning apply to the code under review? (answer yes/no)
  2. If yes: include it as a known_risk — state the pattern, what to look for, and whether the diff exhibits it
  3. Cite the learning by filename in your review output when it influences a finding

After applying, record the citation:

ao metrics cite "<learning-path>" --type applied 2>/dev/null || true

Skip silently if ao is unavailable or returns no results.

Step 0.5: Apply Behavioral Discipline

Load the behavioral discipline standard from /standards before reviewing the diff. Use it to answer four questions:

  1. What assumptions does this change make, and were they surfaced or silently chosen?
  2. Could the same outcome be achieved with a smaller or more local change?
  3. Does every changed line trace back to the stated goal?
  4. Does the verification prove the claimed behavior, or only that the code builds?

If any answer is weak, record the problem as a finding. Hidden assumptions, speculative abstractions, drive-by edits, and weak verification are review defects, not style preferences.


Step 1: Fetch the Diff

PR Mode
gh pr view "$PR_REF" --json title,body,author,baseRefName,headRefName,labels,reviewDecision,commits
gh pr diff "$PR_REF"
gh pr diff "$PR_REF" --name-only

If the PR has more than 500 changed lines, prioritize: security-sensitive files, high-complexity changes, new files, then test files.

Diff Mode
git diff HEAD                  # unstaged + staged
git diff --cached              # staged only (with --staged flag)
git diff HEAD --name-only      # changed file list
Agent Mode
# Directory: find all generated files
find "$AGENT_PATH" -type f \( -name '*.go' -o -name '*.py' -o -name '*.ts' -o -name '*.sh' -o -name '*.md' \)
# Patch file: inspect stats
git apply --stat "$AGENT_PATH"

Step 2: Context Gathering

Understand the intent behind the changes before reviewing the code:

  • PR Mode: Read PR title/body, check linked issues (fixes #, closes #), read commit messages.
  • Diff Mode: Check git log --oneline -5, branch name, open issues via bd list --status open.
  • Agent Mode: Read execution logs in output directory, check .agents/rpi/ artifacts.

Output a one-line intent summary before proceeding:

INTENT: <what the change is trying to accomplish>

If intent is unclear, flag it: "PR description does not explain the purpose of this change."


Step 3: Systematic Review Pass (SCORED)

Review every changed file against the SCORED checklist. For each category, actively look for problems. Do not skim -- read each changed line.

S -- Security
  • No hardcoded secrets, API keys, tokens, or passwords
  • Input validation on all external data (user input, API responses, file reads)
  • SQL/command injection: parameterized queries, no string interpolation in commands
  • Auth/authz checks present where needed (not just authn)
  • Sensitive data not logged or exposed in error messages
  • Dependencies: no known-vulnerable versions added
  • File operations: path traversal prevention, safe temp file handling
C -- Correctness
  • Logic errors: off-by-one, wrong operator, inverted condition
  • Edge cases: nil/null handling, empty collections, boundary values
  • Error handling: errors checked, not swallowed, wrapped with context
  • Race conditions: shared mutable state, concurrent access patterns
  • Resource leaks: unclosed files, connections, goroutines, channels
  • Type safety: unchecked casts, implicit conversions, overflow potential
  • Contract compliance: does the change match the stated intent?
O -- Observability
  • Errors include enough context for debugging (what failed, with what input)
  • New features have appropriate logging at correct levels
  • Metrics or health indicators added for new failure modes
  • Error messages are actionable (not just "something went wrong")
R -- Readability
  • Names are descriptive and consistent with codebase conventions
  • Functions are focused (single responsibility, not doing too much)
  • Complex logic has comments explaining WHY (not WHAT)
  • No dead code, commented-out code, or leftover debug statements
  • Consistent formatting with the rest of the codebase
E -- Efficiency
  • No unnecessary allocations in hot paths
  • N+1 query patterns (database calls in loops)
  • Unbounded growth: maps/slices that grow without limits
  • Appropriate use of caching, batching, or pagination
  • No blocking operations in async/concurrent contexts
D -- Design
  • Abstraction level is appropriate (not over-engineered, not under-abstracted)
  • API surface is minimal and consistent with existing patterns
  • Changes are cohesive (single concern per PR, not mixing refactoring with features)
  • Ambiguity was surfaced instead of silently assumed away
  • No speculative flexibility or abstractions beyond the stated need
  • Every changed line traces to the requested outcome or required cleanup
  • Dependencies flow in the right direction (no circular imports)
  • Test coverage: new code has tests, tests verify behavior (not just coverage)
  • Breaking changes are documented and intentional

Step 4: Agent-Specific Checks (--agent mode only)

When reviewing agent-generated code, apply additional scrutiny for common agent failure modes:

Hallucinated References
  • All imports exist (no invented packages or modules)
  • All called functions exist in the codebase or dependencies
  • Referenced files and paths actually exist
  • API endpoints and URLs are real
Over-Engineering
  • No unnecessary abstractions (interfaces with one implementation, factory for one type)
  • No premature generalization (generic solution where specific was asked)
  • No gold-plating (features not requested)
  • Reasonable LOC for the task complexity
Missing Fundamentals
  • Error handling is present (agents frequently skip error paths)
  • Edge cases are handled (agents often only handle the happy path)
  • Cleanup/teardown logic exists (defer, finally, context cancellation)
  • Concurrency safety if applicable
Test Quality
  • Tests actually assert meaningful behavior (not just != nil or != "")
  • Test names describe the scenario being tested
  • Tests cover error paths, not just happy paths
  • No cov*_test.go naming pattern (coverage-padding anti-pattern)
  • Mocks are realistic (not returning hardcoded success for everything)
Codebase Consistency
  • Follows existing naming conventions (check 3+ similar files for patterns)
  • Uses existing helpers/utilities instead of reimplementing
  • Error handling style matches the codebase
  • File organization follows project structure

Step 5: Generate Structured Review Output

Create a review artifact:

REVIEW_DIR=".agents/review"
mkdir -p "$REVIEW_DIR"
REVIEW_FILE="$REVIEW_DIR/$(date +%Y-%m-%d)-review-$(echo "$PR_REF" | tr '/' '-').md"
Review Document Structure
# Review: <PR title or change description>
**Date:** YYYY-MM-DD  |  **Verdict:** APPROVE | REQUEST_CHANGES | COMMENT
**Target:** PR #N / local diff / agent output at <path>

## Intent
<one-line summary>

## SCORED Assessment
| Category | Rating | Notes |
|----------|--------|-------|
| Security | pass/warn/fail | ... |
| Correctness | pass/warn/fail | ... |
| Observability | pass/warn/fail | ... |
| Readability | pass/warn/fail | ... |
| Efficiency | pass/warn/fail | ... |
| Design | pass/warn/fail | ... |

## Findings
### Critical (must fix)
- **[file:line]** Issue. Suggested fix: ...
### Warning (should fix)
- **[file:line]** Issue. Suggested fix: ...
### Suggestion / Nit
- **[file:line]** Description.

## Missing
<expected but absent: tests, docs, error handling, migration>
Verdict Rules
  • APPROVE: No critical or warning findings. All SCORED categories pass.
  • REQUEST_CHANGES: Any critical finding, OR 3+ warnings, OR any SCORED category rated "fail".
  • COMMENT: 1-2 warnings with no critical findings. Worth discussing but not blocking.
PR Mode: Post Comments

If reviewing a PR and the verdict is REQUEST_CHANGES or COMMENT, offer to post the review:

# Post review comment on the PR
gh pr review "$PR_REF" --comment --body "$(cat "$REVIEW_FILE")"

# Or for blocking review
gh pr review "$PR_REF" --request-changes --body "$(cat "$REVIEW_FILE")"

Only post if the user confirms. Never auto-post a review without explicit approval.


Deep Mode (--deep)

When --deep is specified, after the initial SCORED pass, spawn a council for a second opinion:

/council validate "Review these changes for issues I might have missed: <summary of changes>"

Merge council findings into the review document under a "## Council Findings" section.


Integration with Other Skills

SkillRelationship
/vibeSelf-review (your own code). /review is for others' code.
/councilOptional second opinion via --deep flag.
/standardsAuto-loaded for language-specific rules.
/bug-hunt/review does a structured pass; /bug-hunt does deep investigation of suspected bugs.
/pr-validatePR-specific validation (isolation, scope creep). Complementary to /review.

See Also

  • vibe — Self-review and code quality validation
  • council — Multi-model consensus council
  • standards — Language-specific coding conventions
  • bug-hunt — Deep bug investigation
  • pr-validate — PR scope and isolation checks

平台分布

Codex

35.69%
按下载量换算83

Claude

28.43%
按下载量换算66

Cursor

19.03%
按下载量换算44

Gemini CLI

8.83%
按下载量换算20

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills