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

code-review代码审查

Agent Skill

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

总安装

212

周安装

9

GitHub Stars

3

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/v1-io/v1tamins --skill code-review

简介

用于查找和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 适合根据关键词快速定位候选结果。
  • 可结合来源仓库和 README 核验具体用法。
  • 安装前建议确认权限范围和命令执行风险。
  • code-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Code Review (PR-Based, Elite/Rigorous)

Perform a staff-level PR review using full repo context, then post the review to GitHub.

Usage

/code-review <PR_URL_or_NUMBER>

Examples:

/code-review https://github.com/your-org/your-repo/pull/123
/code-review 123

What It Does

1. Gather PR Context

gh pr view <PR> --json title,body,author,baseRefName,headRefName,commits,files,labels,additions,deletions
gh pr view <PR> --comments

Extracts:

  • What the PR claims to do (title/body/commits)
  • Where it touches (services, shared libs, frontend)
  • Risk flags: auth, migrations, background jobs, concurrency, data integrity

2. Get the Diff

gh pr diff <PR>           # Full diff
gh pr diff <PR> --name-only # File list

3. Build Repo-Aware Understanding

For each meaningful changed file:

  • Reads surrounding code (imports, callers, contracts)
  • Searches repo-wide for usage patterns: rg "<Symbol>" -n
  • Aligns with project architectural patterns

4. Review Systematically

Correctness & Logic:

  • Boundary cases, idempotency, error paths

Concurrency & Async:

  • No blocking calls in async contexts
  • LangChain/LangGraph: prefer .ainvoke() over .invoke()

Security & Privacy:

  • No hardcoded secrets, input validation, no PII in logs

Performance & Cost:

  • No N+1 queries, no unbounded queries

Observability:

  • Logging conventions followed

Database/Migrations:

  • Models registered, updated_at updated, safe migrations

Tests:

  • Cover the "why", no flaky patterns

5. Produce Outputs

Output A: Main Summary Comment

  • PR Summary (3-6 bullets)
  • Key Findings (severity-ranked: Critical/Medium/Low/Nit)
  • Confidence Score (X/5 with reasoning)
  • File-level confidence table
  • Mermaid sequence diagram (if non-trivial)

Posted via:

gh pr review <PR> --comment -b "<BODY>"
# Or for must-fix issues:
gh pr review <PR> --request-changes -b "<BODY>"

Output B: Per-File Comments One comment per file with actionable suggestions:

### Review: `path/to/file` (Importance: Medium)

- **Issue**: <short title>
- **Why it matters**: <tie to project patterns>
- **Suggested change**: <what to do>
- **Test**: <test to add if applicable>

Posted via:

gh issue comment <PR_URL> --body "<BODY>"

Confidence Scoring Guide

  • 5/5: Trivial change, well-tested, no risk
  • 4/5: Standard change, good coverage, minor concerns
  • 3/5: Non-trivial change, needs attention in specific areas
  • 2/5: Significant concerns, missing tests, risky patterns
  • 1/5: Likely bugs, security issues, or major problems

Reduce score for: migrations, auth/permissions, concurrency, broad refactors, missing tests.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

27.22%
按下载量换算20

windsurf

24.88%
按下载量换算18

trae

18.12%
按下载量换算13

OpenCode

14.09%
按下载量换算10

weavefox

7%
按下载量换算5

Codex

3.16%
按下载量换算2

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills