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

evaluate-code-review评估代码审查

Agent Skill

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

总安装

269

周安装

11

GitHub Stars

5

下载量

87
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill evaluate-code-review

简介

evaluate-code-review 用于评估代码审查反馈,区分应采纳、应驳回或需澄清的意见。

  • 强调技术正确性优先,避免社交性妥协,要求验证后再实施。
  • 可处理单或多评审者意见,支持跨 AI 工具(如 Copilot、CodeRabbit)反馈整合。
  • 安装前需确认权限范围,确保能读取 PR 评论和相关代码上下文。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Evaluate Code Review

The opposite side of ask-review. You have feedback in hand — from a human reviewer, one or more AI review bots, a previous self-review, or a markdown audit doc — and need to decide what to act on, what to push back on, and what to ask about. Discipline: verify before implementing, technical correctness over social comfort, no performative agreement.

Trigger boundary

Use this skill when the task is to:

  • evaluate review comments on a GitHub PR (single or multiple reviewers)
  • consolidate feedback from multiple AI reviewers (Copilot + CodeRabbit + Devin +...) on the same PR
  • audit earlier messages in the current conversation — "go back and check the reviewer's notes", "self-eval what we just shipped"
  • read a markdown review/audit doc (e.g. review-notes.md, audit.md) and produce an action plan
  • handle ambiguous input: the user said "check the review" without pointing at a specific source → default to scanning prior messages, then PR comments on the current branch

Prefer another skill when:

  • doing the review yourself (reviewer-side) → do-review
  • preparing a PR for review (author-side) → ask-review
  • tidying a dirty tree → run-repo-cleanup
  • debugging runtime behavior via tools → debug-*

Non-negotiable rules (discipline)

  1. Verify before implementing. Do not start editing until you have confirmed the feedback against the actual code. Obra's rule: "check if breaks existing functionality; check if reviewer understands full context; check legacy/compatibility reasons."
  2. No performative agreement. The phrases in references/voice.md are forbidden. If you catch yourself about to type "You're absolutely right" or "Thanks for catching that" — stop and state the fix instead. See references/rationalizations.md for why agents keep writing them anyway.
  3. Understand what was reviewed, from the ground truth. Follow the fallback chain in references/understand-changes.md: commits → Edit/Write tool outputs → Bash rm/mv history. Do not trust the reviewer's description of "the changes" — they may be wrong.
  4. Always dispatch an Explore subagent for independent analysis. Self-contained prompt, no session-history leakage. See references/subagent-dispatch.md for the template.
  5. Push back when the reviewer is wrong — with technical reasoning, not defensiveness. "Can't verify X without Y; should I investigate / ask / proceed?" is a valid push-back.
  6. Cluster before acting on multi-agent feedback. When 2+ reviewers comment on the same file+line, cluster them into a single item before evaluating. See references/multi-agent-consolidation.md.
  7. One item at a time during implementation. Fix → test → next. Not "fix all four at once, run the suite once".
  8. Implementation order: blocking (breaks, security) → simple (typos, imports) → complex (refactoring, logic). Never the other order.

Input modes

The skill handles three input modes. Detect the mode from the user's phrasing; if genuinely ambiguous, check all three sources and report what was found.

ModeTrigger phrasingSource
PR mode"the review comments on PR #42", "what do the bots say on my PR", "address the review"gh pr view <N> --comments, thread replies via gh api
Session-audit mode"audit what we just did", "check the review notes from earlier", "go back and evaluate the reviewer's feedback" (without PR context)Previous messages in this conversation
Markdown-doc mode"read review.md and give me an action plan", "the reviewer's notes are in audit.md"Named file(s) on disk

Ambiguous trigger (user just says "evaluate the review" or "check what the reviewer said"): scan prior messages first, then gh pr view on the current branch, then look for obvious markdown candidates (review*.md, audit*.md, feedback*.md) in the working directory. Report what was found before proceeding.

Required workflow

1. Identify the input mode and surface the feedback

State which mode is active. Extract every piece of review feedback as a flat list of items. Do not paraphrase yet — capture the verbatim text, its source (which reviewer, which comment ID, which line of which file in which message), and any code-range metadata.

For each item, record: {source, file?, line?, severity_hint?, verbatim_text}.

2. Understand what was actually reviewed (ground truth)

Before evaluating any feedback, reconstruct the set of changes the reviewer *should have been* reviewing. Use the fallback chain:

  1. If the current branch has commits ahead of the base branchgit log origin/main..HEAD + git diff origin/main...HEAD. This is the gold standard.
  2. If no commits but the session has Edit/Write tool calls → walk back through the conversation, collect every successful Edit and Write call's target file path. This reconstructs "what files the author changed, even without commits."
  3. If the session has Bash calls like rm, mv, mkdir, cp → these imply file operations not visible via diff. Include them.
  4. If none of the above → explicitly state the ground truth is uncertain before evaluating any feedback.

See references/understand-changes.md for the extraction recipes.

3. Dispatch an Explore subagent for independent evaluation

Always. Even for a single-item review. The subagent reads the code without your session's bias and returns its own assessment of each feedback item's correctness.

Per-subagent prompt is self-contained (no "as we discussed earlier", no "the user wants X", no session references). The subagent gets:

  • The ground-truth change set (from Step 2)
  • The flat feedback-item list (from Step 1)
  • A pointer to this skill's references/verification.md for the lens

See references/subagent-dispatch.md for the exact prompt template.

The subagent returns: per-item {verdict: correct | incorrect | unverifiable, evidence: file:line + reasoning, severity: critical | important | minor}.

4. Consolidate multi-source feedback

If the input is a single reviewer, skip clustering and go to Step 5.

If 2+ reviewers (e.g., Copilot + CodeRabbit on the same PR, or human + two AI bots):

  • Line-range clustering — group items that touch the same file + overlapping line range. A "+/-5 lines" fuzz is typical.
  • Deduplicate — when two reviewers flag the same concern, merge into one item with both sources cited.
  • Resolve conflicts — if two reviewers disagree, surface the disagreement explicitly in the action plan; do not silently pick one.
  • Discard noise — obvious false positives (e.g., a bot flags a dependency it doesn't understand). Tag as "dismissed with reason".

See references/multi-agent-consolidation.md.

5. Evaluate each item against the codebase

For every feedback item (or consolidated cluster), combine the subagent's verdict with your own verification. Each item ends with one of:

  • ACCEPT — the feedback is correct and worth acting on
  • PUSHBACK — the feedback is wrong; respond with technical reasoning
  • CLARIFY — the feedback is unclear or you lack information to verify; ask
  • DEFER — correct but out of scope for this PR; log as follow-up
  • DISMISS — noise, unambiguously wrong, or the reviewer lacks context

Verification lens (from google-gemini's 7-pillar and obra's pushback criteria):

CheckQuestion
CorrectnessWould this break existing functionality?
Scope (YAGNI)Is the suggested feature actually used? Grep first.
Stack fitIs this correct for THIS codebase's stack?
CompatLegacy/compat reasons for the current implementation?
ContextDoes the reviewer have the full context?
ArchitecturalDoes this conflict with a prior architectural decision?

See references/verification.md for the full lens.

6. Produce the action plan

Output format depends on mode:

  • PR mode — post thread replies via gh api repos/{o}/{r}/pulls/{pr}/comments/{id}/replies for ACCEPT/PUSHBACK/CLARIFY. Top-level comment only for summary. Never reply with pure gratitude.
  • Session-audit mode — markdown action plan as conversation output. Group by verdict.
  • Markdown-doc mode — markdown action plan written to a file next to the source doc, e.g. review.mdreview-action-plan.md.

See references/action-plan-output.md for the exact formats.

7. Implement the accepted items

Only after the action plan is produced and the user (or caller) has approved the plan, if the flow calls for implementation:

  • Order: blocking (breaks, security) → simple (typos, imports) → complex (refactoring, logic)
  • Discipline: one item at a time, test each before the next
  • Reply: after implementing an item, reply in the PR thread (PR mode) or update the action plan (markdown mode) with "Fixed. " — no gratitude.

If implementation is *not* requested in the user's ask ("just evaluate; I'll implement myself"), stop after Step 6 and hand over the action plan.

The voice discipline (critical)

Obra's rule: No performative agreement. Actions speak; the diff says "you heard the feedback." Full forbidden list + alternatives in references/voice.md. Pressure-case counters: references/rationalizations.md.

Quick hits:

Instead ofUse
"You're absolutely right!""Fixed. " or just the change
"Great point!"Acknowledge the technical content, not the point
"Thanks for catching that!""Fixed in src/foo.ts:42."
"Let me implement that now" (before verifying)"Checking the codebase first —."
"I'll address all six items" (without understanding them)"Understood items 1, 2, 3, 6. Need clarification on 4 and 5 before proceeding."

If you catch yourself about to write "Thanks" — DELETE IT. State the fix instead.

Using gh for multi-agent review

When the feedback source is a PR with multiple AI reviewers (Copilot, CodeRabbit, Devin, Bito, Greptile), use gh to pull all comments before evaluation. The consolidation logic is in references/multi-agent-consolidation.md; the gh mechanics are in references/gh-review-workflow.md.

Key commands (full recipes in the reference):

# All top-level PR reviews (the summary comments)
gh pr view <N> --repo <o>/<r> --json reviews

# All inline review comments (the file+line comments)
gh api repos/<o>/<r>/pulls/<N>/comments

# All PR discussion (top-level, non-review comments)
gh api repos/<o>/<r>/issues/<N>/comments

# Reply in a thread
gh api repos/<o>/<r>/pulls/<N>/comments/<id>/replies \
  --method POST --field body="Fixed. <description>."

Output contract

Unless the user wants a different format, produce artifacts in this order:

  1. Input mode declaration (after Step 1)
  2. Ground-truth change summary (after Step 2) — which fallback was used
  3. Explore-subagent dispatch report (after Step 3) — subagent ID + summarized verdicts
  4. Consolidation table (after Step 4) — only if multi-source; item ID → sources cited
  5. Per-item evaluation (after Step 5) — ACCEPT / PUSHBACK / CLARIFY / DEFER / DISMISS with reasoning
  6. Action plan output (after Step 6) — mode-specific
  7. Implementation report (after Step 7) — only if implementation was requested

Do this, not that

Do thisNot that
verify each suggestion against the actual codeimplement on faith because "the reviewer is probably right"
dispatch an Explore subagent with a self-contained promptask the subagent "remember what we were just working on?"
cluster multi-agent feedback by file+line rangetreat each bot's comments as a separate todo list
reconstruct what changed from commits or tool outputstrust the reviewer's description of "the changes"
push back with technical reasoning when feedback is wrongaccept everything to avoid conflict
reply in the comment thread for inline commentsreply at top-level PR comment (wrong channel)
state exactly what you verifiedclaim you checked something you didn't
ask for clarification when an item is ambiguousimplement a partial understanding
one item at a time, test eachbatch-fix, batch-test, and miss regressions

Guardrails and recovery

  • Do not write "Thanks for the review" / "Thanks for catching that" / "Great point". Delete mid-sentence if you catch it.
  • Do not implement before verifying. The pre-implement check is not optional.
  • Do not dispatch subagent prompts that reference "earlier in this conversation" — they break as self-contained units.
  • Do not silently pick a side when two reviewers conflict. Surface the conflict.
  • Do not dismiss bot feedback without stating the reason.
  • Do not capitulate on push-back to save time. Technical correctness over comfort.

Recovery moves:

  • Can't verify a suggestion → state the limitation: "Can't verify without running X; should I investigate / ask / proceed?"
  • Reviewer and prior architectural decision conflict → stop, discuss with the human first; do not silently re-decide
  • Pushed back, then realized you were wrong → correction template: "You were right — I checked and it does. Implementing." No long apology.
  • Ambiguous input with no PR / no messages / no markdown → report the gap explicitly; ask the user which source to evaluate

Reference routing

FileRead when
references/voice.mdWriting any response — the forbidden-phrases list, the "Fixed." alternatives, pushback templates
references/understand-changes.mdReconstructing what was reviewed — commits → tool trail → bash history fallback chain
references/verification.mdEvaluating a specific feedback item against the codebase; the 6-check verification lens
references/subagent-dispatch.mdWriting the Explore subagent prompt — self-contained template
references/multi-agent-consolidation.mdCombining feedback from 2+ reviewers; line-range clustering; conflict resolution
references/gh-review-workflow.mdPulling PR comments via gh; thread replies; PR-discussion vs. review-comment channels
references/action-plan-output.mdFormatting the action plan — per mode (PR / session / markdown-doc)
references/rationalizations.mdRED-baseline excuses that bypass the verify-before-implement discipline; counters

Final checks

Before declaring done, confirm:

  • input mode declared and matches the user's ask
  • ground truth reconstructed with a named source (commits / tool trail / bash / uncertain)
  • Explore subagent dispatched with a self-contained prompt (no session references)
  • if multi-source: line-range clustering applied, conflicts surfaced
  • every feedback item has a verdict (ACCEPT / PUSHBACK / CLARIFY / DEFER / DISMISS) with reasoning
  • output matches the action-plan format for the mode
  • zero forbidden phrases in the response (grep-checked)
  • if PR mode: inline replies went in the correct thread, not at top level
  • if implementation ran: order was blocking → simple → complex, one at a time

Quick orphan check:

for f in $(find references -name '*.md' -type f); do grep -q "$(basename $f)" SKILL.md || echo "ORPHAN: $f"; done

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.69%
按下载量换算32

Claude

29.66%
按下载量换算26

Cursor

18.37%
按下载量换算16

Gemini CLI

9.17%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills