Token导航 LogoToken导航

Agent Skill · 研究检索

review-code(审查代码)

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

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

总安装 190周安装 8GitHub Stars 公开资料未说明下载 67核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/badrusiddique/enggenie-skill --skill review-code

这个 Skill 是做什么的

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

review-code 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。它处理代码评审的两方面:请求评审(分派评审员子代理)和处理反馈(解析人类或外部评审意见)。

使用时可关联 Jira 工单(如 PROJ-1234),进行技术评估而非情绪化表现,聚焦修复错误和合理 push back。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。可通过来源仓库和原始 README 继续核验评审流程和反馈处理规则。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

review-code 怎么安装?

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

review-code 支持哪些 AI 工具?

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

review-code 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

review-code 是免费的吗?

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

review-code 用的人多吗?

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

review-code 安全吗?

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

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

值得选的地方

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

审查代码 · 本页

190—调用外部服务未明确有提醒

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

SKILL.md 原文

review-code

Overview

Handle both sides of code review: requesting it (dispatching a reviewer subagent) and receiving it (processing feedback from humans or external reviewers). In both cases, the standard is technical evaluation, not emotional performance. Fix what is wrong. Push back on what is not. Skip the theater.

Announcement

When this skill activates, announce:

I'm using enggenie:review-code to [request a review / process review feedback].

Pick the correct variant based on the trigger.


Jira Ticket Entry

When the user references a Jira ticket for review (e.g., "Review PROJ-1234", "Check the PR for PROJ-1234"):

  1. Read the Jira ticket using MCP tools
  2. Find the "Dev Handoff" comment — extract the PR link, what was built, spec deviations, and known limitations
  3. Find the spec link — understand what was supposed to be built so you can review against requirements, not just code quality
  4. Open the PR from the Dev Handoff and use it as the review target

This gives the reviewer full context: what was specified (PM), what was planned (Architect), and what was built (Dev). Review against all three, not just the diff.

If Jira MCP is not available, ask: "I can't read PROJ-1234 directly. Can you share the PR link and spec?"


Entry Condition

This skill activates when:

  1. A dev-implement task completes and needs review (automatic in subagent flow)
  2. Human PR review feedback is received
  3. User explicitly requests a code review
  4. User references a Jira ticket for review

Mode A: Requesting Review

When you need a review of completed work, dispatch a Code Reviewer subagent.

Step 1 -- Get Git SHAs

BASE_SHA=$(git merge-base HEAD main)
HEAD_SHA=$(git rev-parse HEAD)

Use the actual base branch if it is not main. The diff between these two SHAs is what gets reviewed.

Step 2 -- Dispatch Code Reviewer Subagent

Provide the subagent with:

  1. The diff -- git diff $BASE_SHA $HEAD_SHA
  2. The spec/requirements -- inline the full task description or ticket. Do not pass a file reference.
  3. Review checklist:

- Does the implementation match the spec? - Is anything specified but missing? - Is anything present but not specified? (scope creep) - Are edge cases handled? - Clean code: readable, well-named, no dead code - No bugs: null checks, error handling, boundary conditions - Good tests: meaningful assertions, edge cases, no testing implementation details - YAGNI: nothing built that was not asked for

The reviewer follows the prompt template at agents/code-reviewer-agent.md.

Step 3 -- Act on Reviewer Feedback

Categorize each item and act accordingly:

SeverityAction
Critical/BlockingFix immediately. Do not proceed until resolved.
ImportantFix before moving to the next task.
Minor/NitpickNote for later. Do not block progress.
WrongPush back with reasoning. See "Push Back When Justified" below.

Mode B: Receiving Review (Human or External Reviewer)

When feedback arrives from a human reviewer or external tool.

Source Trust Levels

Not all review feedback is equal:

  • Your user (human partner): Trusted. Implement their feedback after understanding it. They know the codebase context.
  • Team reviewers (PR comments): Mostly trusted. Verify against codebase before implementing - they may not have full context.
  • External reviewers (automated tools, AI reviewers): Verify everything. They lack project context. Check if suggestions are appropriate for THIS codebase.

Step 1 -- Read Everything First

Read ALL feedback before acting on any of it. Do not start fixing the first comment while there are unread comments below it. Context from later comments may change how you handle earlier ones.

Step 2 -- Evaluate Each Item

For each piece of feedback:

  1. Understand -- What specifically is the reviewer asking for? If unclear, mark it for clarification.
  2. Verify -- Check the codebase. Is the reviewer correct about the current state? Reviewers sometimes comment on stale diffs or misread context.
  3. Evaluate -- Is this change technically correct for THIS codebase? Not in theory. Not in general. Here, now, with these constraints.

Verification Checklist for External Feedback

Before implementing any suggestion from a team reviewer or external tool, run through this checklist:

  1. Technically correct for THIS codebase? -- Does the suggestion work with our patterns, dependencies, and constraints?
  2. Breaks existing functionality? -- Will applying this change break callers, consumers, or integrations?
  3. Reason for current implementation? -- Is there a reason the code was written this way? Check git blame, PR descriptions, and comments.
  4. Works across all contexts? -- Does it work in all environments, platforms, and versions we support?
  5. Reviewer has full context? -- Does the reviewer understand the full picture, or are they commenting on an isolated snippet?

If you cannot verify a suggestion: say so. "I cannot verify this without [specific thing]. Should I [investigate further / ask the reviewer / proceed with caution]?" Admitting uncertainty is better than implementing blindly.

Step 3 -- Clarify Before Implementing

If ANY item is unclear: STOP.

Ask for clarification on ALL unclear items at once. Do not implement some items while waiting for clarification on others. Partial implementation based on partial understanding creates more review cycles.

Step 4 -- Implement in Order

Once all items are understood:

  1. Blocking issues first
  2. Simple fixes next (typos, naming, formatting)
  3. Complex changes last

Step 5 -- Test Each Fix

Test each fix individually. Do not batch fixes and hope they all work.

Step 6 -- Verify No Regressions

Run the full test suite after all fixes are applied. New fixes must not break existing behavior.


Technical Evaluation, Not Emotional Performance

Review is a technical process. Treat it like one.

Never Do This

  • "You're absolutely right!" -- Just fix it.
  • "Great point!" or "Excellent feedback!" -- Performative. Skip it.
  • "Thanks for catching that!" -- Gratitude is not a code review action.
  • Agree before understanding -- Check if the suggestion is technically correct for THIS codebase first.

Acknowledging Feedback

Good:

  • "Fixed. [Brief description of what changed]."
  • "Good catch -- [specific issue]. Fixed in [location]."
  • Fix it silently. The commit speaks for itself.

Bad:

  • "You're absolutely right!"
  • "Great point!"
  • "Thanks for catching that!"
  • Any gratitude expression dressed up as a review response.

Correcting Your Own Pushback

When you pushed back and the reviewer was right:

Good: "You were right -- I checked [X] and it does [Y]. Implementing now."

Bad: Long apology. Defending why you pushed back. Over-explaining your reasoning for being wrong.


When Feedback Conflicts

If review feedback contradicts:

  • Prior user decisions: STOP. Show the user both the feedback and the prior decision. Let them decide.
  • Other review comments: Group the conflicting items. Present them together. Ask which direction to take.
  • Existing codebase patterns: Note the conflict. Ask: "The reviewer suggests X, but the codebase consistently uses Y. Which should we follow?"

Never silently resolve conflicts by picking a side.


Push Back When Justified

Not every review comment is correct. Push back when:

  1. Breaks existing functionality -- "This change would break [specific thing] because [reason]. The current approach handles [edge case] that the suggested approach does not."
  2. Reviewer lacks context -- "This looks wrong in isolation, but [module X] depends on this behavior. See [file:line]."
  3. Violates YAGNI -- "This abstraction is not needed yet. Only one caller exists. Extracting it adds indirection without value."
  4. Technically incorrect -- "This would actually cause [specific problem] because [technical reason]."

Be specific. Cite code. Do not push back with vibes.

When pushing back feels uncomfortable: If pushing back publicly in a PR thread would create friction or political problems, flag the concern privately to your user instead. Let the user decide how to handle it. Silence is not politeness -- it is a bug that ships.


YAGNI Check

When a reviewer suggests "implementing properly" or "adding an abstraction" or "future-proofing":

grep -r "FunctionOrClassName" --include="*.{ts,js,py,cs,go}" .
  • If unused or single caller: "This is only called from [one place]. Adding an abstraction here adds indirection without value. Remove it? (YAGNI)"
  • If multiple callers: The reviewer has a point. Implement properly.

Do not build for hypothetical future callers. Build for the callers that exist.

Both you and the reviewer serve the user's goals. If a feature is not needed, the user decides whether to add it -- not the reviewer. Escalate YAGNI disagreements to the user rather than debating in the PR thread.


GitHub Thread Handling

When replying to inline PR comments, reply in the thread:

gh api repos/{owner}/{repo}/pulls/{pr}/comments/{comment_id}/replies \
  -f body="Fixed. [description]"

Do NOT post a top-level comment when responding to an inline review comment. The reviewer left feedback on a specific line. Reply on that line.


Gut Check -- Are You Doing Review Right?

Pause and check yourself:

  • Saying "You're absolutely right!" -- Stop. Just fix it.
  • Implementing without understanding -- Stop. Ask what they mean.
  • Agreeing with everything -- Stop. Check if it is technically correct for THIS codebase.
  • Afraid to push back -- If it breaks something, say so. Silence is not politeness. It is a bug.
  • Partially implementing -- Stop. Clarify ALL unclear items first, then implement.
  • Writing a paragraph where a sentence would do -- Stop. "Fixed." is a complete response.

Subagent Prompt Template

The Code Reviewer subagent follows the prompt template at:

agents/code-reviewer-agent.md

When dispatching, load the template and inject the task-specific context (diff, spec, checklist) into the designated sections.


Subagent Context Preservation

When the Code Reviewer subagent completes, explicitly capture its findings back to the main conversation:

  • All review items with severity (critical, important, minor, wrong)
  • Specific file paths and line numbers referenced
  • Whether blocking issues were found

Do not assume the orchestrating agent retains subagent context automatically. Extract the full review before acting on it.


Recommended Model

Primary: sonnet Why: Code review requires understanding patterns, spotting bugs, and evaluating design decisions. Sonnet provides sufficient depth without the cost of opus.

This is a recommendation. Ask the user: "Confirm model selection or override?" Do not proceed until the user responds.


Exit Condition

Review is complete when:

  • All blocking and important items are resolved
  • All fixes are tested individually
  • Full test suite passes with no regressions
  • All GitHub threads are replied to (if applicable)

After exit, resume the calling workflow.

平台分布

Codex

34.84%
按下载量换算23

Claude

29.44%
按下载量换算20

Cursor

19.33%
按下载量换算13

Gemini CLI

11.2%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills