Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

requesting-code-review代码审查请求

Agent Skill

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

总安装

336

周安装

14

GitHub Stars

176

下载量

112
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/ed3dai/ed3d-plugins --skill requesting-code-review

简介

requesting-code-review 用于查找、检索和筛选相关信息,支持根据关键词或任务场景快速定位技术资料。

  • 适合在需要代码审查流程或协作规范参考时使用。
  • 可通过原始 README 和安装命令进一步核验具体用法和功能边界。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库安装。
  • 建议确认权限范围、维护状态及是否涉及联网或文件读写操作。

SKILL.md

Requesting Code Review

Dispatch ed3d-plan-and-execute:code-reviewer subagent to catch issues before they cascade.

Core principle: Review early, review often. Fix ALL issues before proceeding.

Session Isolation

If the calling context provides a SCRATCHPAD_DIR, pass it to code-reviewer.

This prevents collisions when multiple planning/execution sessions run in parallel. The SCRATCHPAD_DIR is a namespaced temp directory (e.g., /tmp/plan-2025-01-24-feature-a7f3b2/) that the code-reviewer uses for any scratch files.

When to Request Review

Mandatory:

  • After each task in plan execution
  • After completing major feature
  • Before merge to main

Optional but valuable:

  • When stuck (fresh perspective)
  • Before refactoring (baseline check)
  • After fixing complex bug

The Review Loop

The review process is a loop: review → fix → re-review → until zero issues.

┌──────────────────────────────────────────────────┐
│                                                  │
│   Dispatch code-reviewer                         │
│         │                                        │
│         ▼                                        │
│   Issues found? ──No──► Done (proceed)           │
│         │                                        │
│        Yes                                       │
│         │                                        │
│         ▼                                        │
│   Dispatch bug-fixer                             │
│         │                                        │
│         ▼                                        │
│   Re-review with prior issues ◄──────────────────┘
│
└──────────────────────────────────────────────────┘

Exit condition: Zero issues, or issues accepted per your workflow's policy.

Step 1: Initial Review

Get git SHAs:

BASE_SHA=$(git rev-parse HEAD~1)  # or commit before task
HEAD_SHA=$(git rev-parse HEAD)

Dispatch code-reviewer subagent:

<invoke name="Task">
<parameter name="subagent_type">ed3d-plan-and-execute:code-reviewer</parameter>
<parameter name="description">Reviewing [what was implemented]</parameter>
<parameter name="prompt">
  Use template at requesting-code-review/code-reviewer.md

  WHAT_WAS_IMPLEMENTED: [summary of implementation]
  PLAN_OR_REQUIREMENTS: [task/requirements reference]
  BASE_SHA: [commit before work]
  HEAD_SHA: [current commit]
  DESCRIPTION: [brief summary]
  SCRATCHPAD_DIR: [session-isolated temp dir, or omit if not applicable]
</parameter>
</invoke>

Code reviewer returns: Strengths, Issues (Critical/Important/Minor), Assessment

Step 2: Handle Reviewer Response

If Zero Issues

All categories empty → proceed to next task.

If Any Issues Found

Regardless of category (Critical, Important, or Minor), dispatch bug-fixer:

<invoke name="Task">
<parameter name="subagent_type">ed3d-plan-and-execute:task-bug-fixer</parameter>
<parameter name="description">Fixing review issues</parameter>
<parameter name="prompt">
  Fix issues from code review.

  Code reviewer found these issues:
  [list all issues - Critical, Important, and Minor]

  Your job is to:
  1. Understand root cause of each issue
  2. Apply fixes systematically (Critical → Important → Minor)
  3. Verify with tests/build/lint
  4. Commit your fixes
  5. Report back with evidence

  Work from: [directory]

  Fix ALL issues — including every Minor issue. The goal is ZERO issues on re-review.
  Minor issues are not optional. Do not skip them.
</parameter>
</invoke>

After fixes, proceed to Step 3.

Step 3: Re-Review After Fixes

CRITICAL: Track prior issues across review cycles.

<invoke name="Task">
<parameter name="subagent_type">ed3d-plan-and-execute:code-reviewer</parameter>
<parameter name="description">Re-reviewing after fixes (cycle N)</parameter>
<parameter name="prompt">
  Use template at requesting-code-review/code-reviewer.md

  WHAT_WAS_IMPLEMENTED: [from bug-fixer's report]
  PLAN_OR_REQUIREMENTS: [original task/requirements]
  BASE_SHA: [commit before this fix cycle]
  HEAD_SHA: [current commit after fixes]
  DESCRIPTION: Re-review after bug fixes (review cycle N)
  SCRATCHPAD_DIR: [session-isolated temp dir, or omit if not applicable]

  PRIOR_ISSUES_TO_VERIFY_FIXED:
  [list all outstanding issues from previous reviews]

  Verify:
  1. Each prior issue listed above is actually resolved
  2. No regressions introduced by the fixes
  3. Any new issues in the changed code

  Report which prior issues are now fixed and which (if any) remain.
</parameter>
</invoke>

Tracking prior issues:

  • When re-reviewer explicitly confirms fixed → remove from list
  • When re-reviewer doesn't mention an issue → keep on list (silence ≠ fixed)
  • When re-reviewer finds new issues → add to list

Loop back to Step 2 if any issues remain.

Handling Failures

Operational Errors

If reviewer reports operational errors (can't run tests, missing scripts):

  1. STOP - do not continue
  2. Report to human
  3. When told to continue, re-execute same review

Timeouts / Empty Response

Usually means context limits. Retry with focused scope:

First retry: Narrow to changed files only:

FOCUSED REVIEW - Context was too large.

Review ONLY the diff between BASE_SHA and HEAD_SHA.
Focus on: [list only files actually modified]

Skip: broad architectural analysis, unchanged files, tangential concerns.

WHAT_WAS_IMPLEMENTED: [summary]
PLAN_OR_REQUIREMENTS: [reference]
BASE_SHA: [sha]
HEAD_SHA: [sha]

Second retry: Split into multiple smaller reviews (one per file or logical group).

Third failure: Stop and ask human for help.

Quick Reference

SituationAction
Zero issuesProceed
Any issuesFix, re-review (or accept per workflow)
Operational errorStop, report, wait
TimeoutRetry with focused scope
3 failed retriesAsk human

Red Flags

Never:

  • Skip review because "it's simple"
  • Proceed with ANY unfixed issues (Critical, Important, OR Minor)
  • Argue with valid technical feedback without evidence
  • Rationalize skipping Minor issues ("they're just style", "we can fix later")

Minor issues are NOT optional. The code reviewer flagged them for a reason. Fix all of them. "Minor" means lower severity, not "ignorable."

If reviewer wrong:

  • Push back with technical reasoning
  • Show code/tests that prove it works
  • Request clarification on unclear feedback

Integration

Called by:

  • executing-an-implementation-plan (after each task)
  • finishing-a-development-branch (final review)
  • Ad-hoc when you need a review

Template location: requesting-code-review/code-reviewer.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.34%
按下载量换算37

Claude

32.15%
按下载量换算36

Cursor

19.84%
按下载量换算22

Gemini CLI

9.48%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills