Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计提醒

code-review代码审查

Agent Skill

code-review 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

546

周安装

23

GitHub Stars

11,586

下载量

191
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pipecat-ai/pipecat --skill code-review

简介

用于处理 GitHub 仓库、Issue 和 Pull Request。

  • 适合围绕代码变更和协作事项进行整理。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 可结合来源仓库和原始 README 继续核验用法。
  • 安装前建议确认是否会触发联网或文件读写。
  • code-review 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Provide a code review for the given pull request.

Agent assumptions (applies to all agents and subagents):

  • All tools are functional and will work without error. Do not test tools or make exploratory calls. Make sure this is clear to every subagent that is launched.
  • Only call a tool if it is required to complete the task. Every tool call should have a clear purpose.

To do this, follow these steps precisely:

  1. Launch a haiku agent to check if any of the following are true: If any condition is true, stop and do not proceed.

- The pull request is closed - The pull request is a draft - The pull request does not need code review (e.g. automated PR, trivial change that is obviously correct) - Claude has already commented on this PR (check gh pr view <PR> --comments for comments left by claude)

Note: Still review Claude generated PR's.

  1. Launch a haiku agent to return a list of file paths (not their contents) for all relevant CLAUDE.md files including:

- The root CLAUDE.md file, if it exists - Any CLAUDE.md files in directories containing files modified by the pull request

  1. Launch a sonnet agent to view the pull request and return a summary of the changes
  2. Launch 4 agents in parallel to independently review the changes. Each agent should return the list of issues, where each issue includes a description and the reason it was flagged (e.g. "CLAUDE.md adherence", "bug"). The agents should do the following: Agents 1 + 2: CLAUDE.md compliance sonnet agents Audit changes for CLAUDE.md compliance in parallel. Note: When evaluating CLAUDE.md compliance for a file, you should only consider CLAUDE.md files that share a file path with the file or parents. Agent 3: Opus bug agent (parallel subagent with agent 4) Scan for obvious bugs. Focus only on the diff itself without reading extra context. Flag only significant bugs; ignore nitpicks and likely false positives. Do not flag issues that you cannot validate without looking at context outside of the git diff. Agent 4: Opus bug agent (parallel subagent with agent 3) Look for problems that exist in the introduced code. This could be security issues, incorrect logic, etc. Only look for issues that fall within the changed code. CRITICAL: We only want HIGH SIGNAL issues. Flag issues where: Do NOT flag: If you are not certain an issue is real, do not flag it. False positives erode trust and waste reviewer time. In addition to the above, each subagent should be told the PR title and description. This will help provide context regarding the author's intent.

- The code will fail to compile or parse (syntax errors, type errors, missing imports, unresolved references) - The code will definitely produce wrong results regardless of inputs (clear logic errors) - Clear, unambiguous CLAUDE.md violations where you can quote the exact rule being broken - Code style or quality concerns - Potential issues that depend on specific inputs or state - Subjective suggestions or improvements

  1. For each issue found in the previous step by agents 3 and 4, launch parallel subagents to validate the issue. These subagents should get the PR title and description along with a description of the issue. The agent's job is to review the issue to validate that the stated issue is truly an issue with high confidence. For example, if an issue such as "variable is not defined" was flagged, the subagent's job would be to validate that is actually true in the code. Another example would be CLAUDE.md issues. The agent should validate that the CLAUDE.md rule that was violated is scoped for this file and is actually violated. Use Opus subagents for bugs and logic issues, and sonnet agents for CLAUDE.md violations.
  2. Filter out any issues that were not validated in step 5. This step will give us our list of high signal issues for our review.
  3. If issues were found, skip to step 8 to post comments. If NO issues were found, post a summary comment using gh pr comment (if --comment argument is provided): "No issues found. Checked for bugs and CLAUDE.md compliance."
  4. Create a list of all comments that you plan on leaving. This is only for you to make sure you are comfortable with the comments. Do not post this list anywhere.
  5. Post inline comments for each issue using gh pr review with inline comments. For each comment: IMPORTANT: Only post ONE comment per unique issue. Do not post duplicate comments.

- Provide a brief description of the issue - For small, self-contained fixes, include a committable suggestion block - For larger fixes (6+ lines, structural changes, or changes spanning multiple locations), describe the issue and suggested fix without a suggestion block - Never post a committable suggestion UNLESS committing the suggestion fixes the issue entirely. If follow up steps are required, do not leave a committable suggestion.

Use this list when evaluating issues in Steps 4 and 5 (these are false positives, do NOT flag):

  • Pre-existing issues
  • Something that appears to be a bug but is actually correct
  • Pedantic nitpicks that a senior engineer would not flag
  • Issues that a linter will catch (do not run the linter to verify)
  • General code quality concerns (e.g., lack of test coverage, general security issues) unless explicitly required in CLAUDE.md
  • Issues mentioned in CLAUDE.md but explicitly silenced in the code (e.g., via a lint ignore comment)

Notes:

  • Use gh CLI to interact with GitHub (e.g., fetch pull requests, create comments). Do not use web fetch.
  • Create a todo list before starting.
  • You must cite and link each issue in inline comments (e.g., if referring to a CLAUDE.md, include a link to it).
  • If no issues are found, post a comment with the following format:

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.


  • When linking to code in inline comments, follow the following format precisely, otherwise the Markdown preview won't render correctly: https://github.com/OWNER/REPO/blob/FULL_SHA/path/to/file.py#L10-L15

- Requires full git sha - You must provide the full sha. Commands like https://github.com/owner/repo/blob/$(git rev-parse HEAD)/foo/bar will not work, since your comment will be directly rendered in Markdown. - Repo name must match the repo you're code reviewing - sign after the file name - Line range format is L[start]-L[end] - Provide at least 1 line of context before and after, centered on the line you are commenting about (eg. if you are commenting about lines 5-6, you should link to L4-7)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Codex

35.92%
按下载量换算69

Claude

27.89%
按下载量换算53

Cursor

18.81%
按下载量换算36

Gemini CLI

9.28%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills