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

code-review代码审查

Agent Skill

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

总安装

218

周安装

9

GitHub Stars

35

下载量

71
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/kazdenc/builder-skills --skill code-review

简介

code-review 用于查找、检索和筛选相关信息,支持关键词和任务场景定位。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中的信息快速筛选需求。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • 该技能当前分类为研究检索,实际功能以来源仓库描述为准。

SKILL.md

Review code across five dimensions and produce a prioritized list of findings. Suggest improvements; don't demand them. Praise good patterns alongside issues.

Step 1: Read the Code

Understand intent before judging implementation. Before writing a single finding:

  • Identify the purpose of the change (feature, fix, refactor, test).
  • Note the architectural context (framework, patterns, conventions in use).
  • Read related tests and documentation if available.
  • If reviewing a PR, read the description and linked issues first.

Step 2: Review Across Five Dimensions

Evaluate the code against each dimension using the specific checks below.

Correctness

CheckWhat to look for
Logic errorsIncorrect conditionals, wrong operator precedence, inverted boolean logic
Off-by-oneFence-post errors in loops, slices, pagination, boundary conditions
Null / undefined handlingMissing optional chaining, unchecked nullable returns, empty-array assumptions
Race conditionsShared mutable state, unguarded async sequences, stale closures
Error pathsSwallowed exceptions, missing try/catch, unhelpful error messages, no fallback
Edge casesEmpty inputs, very large inputs, unicode, negative numbers, timezone boundaries

Readability

CheckWhat to look for
NamingAmbiguous variable names, misleading function names, inconsistent conventions
Function lengthFunctions doing more than one thing, > 40 lines is a smell
Nesting depthMore than 3 levels of nesting; consider early returns or extraction
CommentsMissing "why" comments on non-obvious logic; remove comments that restate code
ConsistencyStyle deviations from the rest of the codebase
Cognitive loadComplex ternaries, implicit type coercion, magic numbers or strings

Performance

CheckWhat to look for
Unnecessary re-rendersMissing memoization, inline object/function creation in render path
N+1 queriesDatabase calls inside loops, unbatched API requests
Missing memoizationExpensive computations recalculated on every render or call
Large bundlesHeavy imports that could be lazy-loaded or replaced with lighter alternatives
Algorithmic complexityO(n^2) or worse where O(n) or O(n log n) is achievable
Memory leaksUncleared intervals/timeouts, missing event listener cleanup, growing caches

Security

CheckWhat to look for
InjectionUnsanitized user input in SQL, shell commands, templates, or regex
XSSUnescaped output, dangerouslySetInnerHTML, innerHTML without sanitization
Auth bypassMissing authorization checks, client-side-only access control
Secrets in codeAPI keys, tokens, passwords committed or logged
Unsafe deserializationParsing untrusted JSON/YAML without validation, eval of user input
CSRF / CORSMissing CSRF tokens, overly permissive CORS configuration

Maintainability

CheckWhat to look for
CouplingComponents tightly bound to implementation details of other modules
DuplicationSame logic repeated in multiple places; candidate for extraction
Test coverageUntested happy paths, missing edge-case tests, brittle test setup
Dead codeUnused exports, commented-out blocks, unreachable branches
Unclear abstractionsOver-abstraction (unnecessary indirection) or under-abstraction (god functions)
Upgrade pathDeprecated APIs, framework-version-specific hacks, pinned dependencies

Step 3: Output as a Prioritized Finding List

Organize every finding by severity using the classification table below.

Severity Classification

SeverityQualifies when...Examples
CriticalCauses data loss, security breach, or crash in productionSQL injection, unhandled null on critical path, race condition corrupting state
HighBreaks functionality or significantly degrades UXLogic error in business rule, missing error handling on API call, auth check skipped
MediumImpacts quality but doesn't break thingsN+1 query on secondary page, moderate duplication, missing test for edge case
LowMinor improvement opportunitySlightly better naming, small refactor for clarity, non-critical performance tweak
NitStylistic or trivial; optional to addressExtra whitespace, import order, comment wording, personal preference

Finding Format

For each finding, include:

  • Severity: Critical / High / Medium / Low / Nit
  • Dimension: Which of the five dimensions it falls under
  • Location: File path and line number (or range)
  • Issue: What the problem is (one sentence)
  • Suggestion: How to improve it (concrete, with code snippet when helpful)
  • Why it matters: Impact on users, developers, or the system

Summary Section

After all findings, include:

  • Total count by severity
  • Top 3 priorities to address first
  • Positive patterns observed (what the code does well)
  • Overall assessment (one paragraph)

Tone Guidance

  • Use "Consider X" not "You should X."
  • Use "This could Y" not "This will Y" unless certain.
  • Praise good patterns: "Nice use of early returns here" or "Good separation of concerns."
  • Explain the "why" for every suggestion; reviewees learn more from reasoning than rules.
  • Acknowledge trade-offs: "This adds complexity but improves testability."
  • When uncertain, say so: "I'm not sure about the intent here — if Z is the goal, then consider W."

NEVER:

  • Nitpick style when there are critical issues (prioritize ruthlessly)
  • Flag something without a concrete suggestion for improvement
  • Assume malice or carelessness — the author may have context you don't
  • Rewrite entire functions in suggestions — keep diffs small and focused

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.87%
按下载量换算23

Claude

29.22%
按下载量换算21

Cursor

20.03%
按下载量换算14

Gemini CLI

9.15%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/kazdenc/builder-skills --skill code-review 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills