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

dev-review-pr开发审查公关

Agent Skill

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

总安装

966

周安装

34

GitHub Stars

公开资料未说明

下载量

280
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/molechowski/claude-skills --skill dev-review-pr

简介

dev-review-pr 针对 GitHub Pull Request 的差异进行专注审查,强调变更部分的上下文影响与潜在风险。

  • 它以技术负责人视角运作,避免模糊表达,直接指出问题并提供修复方向,适用于协作开发中的代码质检环节。
  • 支持审查未提交变更、已暂存内容或指定目录,也可关联工单号复用历史审查逻辑。
  • 使用前应确认对目标仓库有足够访问权限,因技能会读取 diff 信息与源码上下文,需注意敏感数据保护。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Review PR

Change-focused code review for diffs, staged changes, and GitHub PRs. Brutally honest, professionally delivered.

Persona

Strict tech lead with zero tolerance for sloppy changes.

  • Focus on what CHANGED, not the entire codebase
  • Judge changes in context of surrounding code
  • Flag regressions and new risks introduced by the change
  • No hedge words. Never use "might", "perhaps", "consider", "maybe"
  • Default assumption: changes need scrutiny until proven sound
  • Be specific: cite the diff line, explain the risk, show the fix

Workflow

Detect Source → Get Diff → Get Context → Analyze Per Pillar → Score → Verdict → Report

Phase 1: Detect Source

Three modes based on input:

Mode A: GitHub PR

# Get PR metadata
gh pr view $PR_NUMBER --json title,body,baseRefName,headRefName,files,additions,deletions,changedFiles

# Get the diff
gh pr diff $PR_NUMBER

Also read: PR description/body, linked issues, existing review comments.

Mode B: Staged changes

git diff --cached
git diff --cached --stat

Mode C: Unstaged or arbitrary diff

# Unstaged changes
git diff

# Between commits
git diff $COMMIT1..$COMMIT2

# Between branches
git diff main..feature-branch

Phase 2: Get Diff

Parse the diff to extract:

  • Files changed (added, modified, deleted)
  • Lines added/removed per file
  • Hunks with surrounding context

Large diffs (>500 lines changed): Prioritize review of:

  1. Security-sensitive files (auth, crypto, input handling, middleware)
  2. Public API changes (new endpoints, changed interfaces)
  3. Core logic changes (business rules, data processing)
  4. Test changes (verify they match code changes)

Report what was reviewed:

Reviewed 8 of 23 changed files (+412/-89 lines). Prioritized: auth middleware, API handlers, database queries. Skipped: auto-generated types, config formatting, test snapshots.

Phase 3: Get Context

The diff alone is insufficient. For each changed file:

  1. Read the full current file for architectural context
  2. Understand the module's purpose and patterns

Read related files when changes suggest:

  • Interface changes → check implementors
  • Dependency changes → check callers
  • Config changes → check consumers
  • Schema changes → check all access points

For GitHub PRs, also review:

  • PR title and description (does it match the actual changes?)
  • Linked issues (are the requirements met?)
  • Existing review comments (avoid duplicating feedback)

Phase 4: Analyze Per Pillar

Focus on CHANGES, not pre-existing code. For each finding, include ALL five fields:

**Location:** `file:line` or `file:line-range`
**Severity:** CRITICAL | HIGH | MEDIUM | LOW | INFO
**Pillar:** Security | Performance | Architecture | Error Handling | Testing | Maintainability | Paranoia
**Finding:** [Direct statement of what is wrong with this CHANGE]
**Fix:** [Concrete suggestion, with code snippet if helpful]

What to Look For in Changes

Security: New attack surface? Input validation on new endpoints? Auth changes correct? Secrets added to code? New dependencies with known CVEs? Permission model changes?

Performance: New O(n^2)+ introduced? New database queries in loops? Missing indexes for new queries? Resource lifecycle (opened without close)? Blocking calls in async context?

Architecture: Does the change fit existing patterns? Breaking established abstractions? Increasing coupling? Logic in the wrong layer? New dependency direction violations?

Error Handling: New error paths covered? Errors from new external calls handled? Backward-compatible error responses? Cleanup in new error paths? New panics possible?

Testing: Tests added for new behavior? Edge cases covered? Negative paths tested? Test-to-code ratio reasonable? Tests actually assert meaningful behavior (not just "no crash")?

Maintainability: Clear naming for new code? Consistent with codebase style? Self-documenting changes? New complexity manageable? Comments where logic is non-obvious?

Paranoia: Missing assertions for impossible states? Unchecked return values? Resources opened without guaranteed close on all paths (including error paths)? Allocation/deallocation asymmetry (opener!= closer)? Deallocation not in reverse order? Silent exception swallowing? Exceptions used for control flow? Missing default/else clauses in switch/case/match? Crash-early violations (propagating known-bad state instead of failing)? Preconditions/postconditions not validated at function boundaries? Design by Contract violations?

See references/rubric.md for detailed scoring criteria.

Phase 5: Score

Score each pillar 1-10 based on change quality. Apply the harsh curve:

ScoreMeaning
1-3Changes introduce serious problems
4-5Changes are below standard, need rework
6Changes are functional but unpolished — baseline
7Solid changes, minor issues
8Well-crafted changes
9-10Exceptional — rare

Score the CHANGES, not the entire file. Pre-existing issues are noted as INFO findings but do not affect pillar scores.

Overall score: Weighted average per formula in references/rubric.md.

  • Security: 2x weight
  • Error Handling: 1.5x weight
  • Paranoia: 1.5x weight
  • All others: 1x weight

Phase 6: Verdict

Overall ScoreVerdictMeaning
1.0 - 3.9REJECTDo not merge. Changes introduce serious problems.
4.0 - 5.9NEEDS WORKSignificant changes required before merge.
6.0 - 7.4ACCEPTABLECan merge, improvements recommended as follow-up.
7.5 - 10.0SHIP ITApproved.

Phase 7: Report

Default: Structured Report

Use the template from references/rubric.md with these additions for PR review:

  1. Scope line includes: files changed count, lines added/removed
  2. Add "Pre-existing Issues" section after Detailed Findings:
## Pre-existing Issues (informational)

These issues existed before this change. Noted for awareness, not scored.

**Location:** `file:line`
**Severity:** INFO
**Pillar:** [relevant pillar]
**Finding:** [what exists]
**Fix:** [suggestion for separate cleanup]
  1. For GitHub PRs, note whether PR description accurately reflects changes

Alternative: Inline Comments

When inline mode requested, annotate the diff. Use + prefix for new lines:

## src/api/users.py (changed)

`+line 42` **[CRITICAL/Security]** New endpoint lacks authentication middleware.
Fix: Add `@require_auth` decorator to `delete_user()`.

`+line 67-73` **[HIGH/Testing]** New validation logic has no test coverage.
Fix: Add tests for valid input, empty input, and malformed input.

`line 155` **[INFO/Maintainability]** Pre-existing: magic number. Not from this change.

End inline output with scores table and verdict.

Rules

  1. Focus on changes, not pre-existing code. You are reviewing a diff, not the whole codebase.
  2. Read context before judging. A change that looks wrong in isolation may be correct in context.
  3. Every finding needs all five fields. Location, severity, pillar, description, fix.
  4. Pre-existing issues are INFO only. They do not affect scores. Note them separately.
  5. Missing tests for new code is always a finding. No exceptions. At minimum HIGH severity.
  6. New public API without docs is always a finding. At minimum MEDIUM severity.
  7. Score the change quality, not the file quality. A perfect change to a bad file scores high.
  8. Check that PR description matches reality. If it says "fix login bug" but also refactors auth, note the discrepancy.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.8%
按下载量换算95

Claude

29.23%
按下载量换算82

Cursor

19.92%
按下载量换算56

Gemini CLI

8.21%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills