Token导航 LogoToken导航

Agent Skill · 研究检索

code-review(代码审查)

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

code-review 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 43,994。

总安装 945周安装 39GitHub Stars 公开资料未说明下载 309核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/blogic-cz/agent-tools --skill code-review

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

code-review 用于执行模板 TypeScript 项目的预 PR 审查,适合在 Codex、Claude、Cursor、Gemini CLI 中保障代码质量时使用。它按风险等级分类问题:Critical、Major、Minor,并提供具体修复方案。使用时先界定审查范围,扫描变更后辅以外部查证不确定模式。

安装前建议确认是否集成 CI/CD 流水线及自动化检查规则。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/code-review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/blogic-cz/agent-tools --skill code-review;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

code-review 怎么安装?

在终端执行 npx skills add https://github.com/blogic-cz/agent-tools --skill code-review。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

code-review 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

code-review 需要什么权限?

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

code-review 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

code-review 用的人多吗?

公开数据是累计安装 945 次,近一周安装 39 次,下载 309 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

code-review 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
code-review

代码审查 · 本页

945—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Code Review Methodology

Run a systematic pre-PR review for template-ts codebases. Identify critical risks first, then report major and minor issues with concrete fixes.

Review Process

  1. Identify scope — Determine exactly what to review.
  2. Scan changes — Analyze against template-ts review categories.
  3. Verify uncertain patterns — Use external lookup only when uncertainty remains.
  4. Categorize findings — Classify as Critical, Major, or Minor.
  5. Generate report — Produce an actionable review summary.
  6. Run automated checks — Run repository-standard quality gates.

Step 1: Identify Scope

Determine scope in this order:

  1. Use explicit user scope first. Review the exact files, PR, commits, or branch comparison provided by the user.
  2. Infer recent commits by default when scope is missing. Use git log -5 --oneline and git diff HEAD~5..HEAD --stat when no scope was given and repository context is available.
  3. Ask one precise scope question only when needed. Ask only when repository state is unavailable or multiple plausible scopes exist and inference would be unreliable.

Step 2: Apply Template-ts Review Categories

Use the full category checklist and examples in references/review-pattern-catalog.md.

Apply these category groups:

  • TRPC patterns
  • TanStack Router and Query patterns
  • Code deduplication (DRY)
  • Code quality and style conventions
  • Security
  • Performance
  • Testing
  • Effect patterns (when Effect code is in scope)

Load related skills when deeper specialization is required:

  • trpc-patterns
  • tanstack-frontend
  • effect-ts
  • scan-effect-solutions (for deep Effect audits)

Step 3: Verify Uncertain Patterns

Use lookup tools only when local codebase evidence is insufficient.

Use Exa to validate uncertain real-world usage patterns for external libraries or evolving APIs.

Use Context7 to confirm official documentation details (exact API names, version-specific behavior, deprecations).

Skip both when the repository already contains a clear canonical pattern.


Step 4: Apply Test Expectations Proportionally

Require tests for behavior changes.

Treat these as behavior changes:

  • New or changed business logic
  • API contract changes
  • Query/loader behavior changes
  • Security or authorization logic changes
  • User-visible component behavior changes

Treat these as low-risk changes where new tests are optional:

  • Documentation-only updates
  • Comment-only updates
  • Mechanical refactors with no logic change (for example rename-only, formatting-only, import reordering)

State test rationale explicitly in the final review summary.


Step 5: Run Automated Checks

Run bun run check when the repository uses the standard template-ts quality-gate script.

Run the repository-equivalent command set when a different convention is used (for example separate lint, typecheck, and test commands).

Capture command outcomes in the final report.


Severity Classification

CRITICAL (must fix before merge)

  • Security vulnerabilities
  • SQL injection or hardcoded secrets
  • Missing authentication on protected endpoints
  • Breaking changes to public APIs

MAJOR (should fix)

  • Wrong TRPC v11 patterns (.useQuery instead of .queryOptions)
  • N+1 database queries
  • Missing prefetch causing slow page loads
  • Manual types instead of RouterInputs/RouterOutputs
  • Code duplication violating DRY

MINOR (consider fixing)

  • Style inconsistencies
  • Missing documentation
  • Non-critical refactoring opportunities

Report Template

# Code Review Report

**Scope:** [What was reviewed]
**Date:** [Current date]

---

## CRITICAL ISSUES

[List with file:line, description, fix]

---

## MAJOR ISSUES

[List with file:line, description, fix]

---

## MINOR ISSUES

[List with file:line, brief description]

---

## TEST EXPECTATIONS

- Behavior-changing code paths covered: [Yes/No + details]
- Low-risk changes with test exemption: [Yes/No + rationale]

---

## AUTOMATED CHECKS

- Commands run: [List]
- Result: [Pass/Fail]

---

## POSITIVE OBSERVATIONS

- [Good patterns found]

---

## SUMMARY

**Assessment:** [APPROVE / NEEDS_WORK / REJECT]
**Next steps:** [Specific actions]

## Quick Stats

- Files reviewed: [N]
- Issues: Critical: [N], Major: [N], Minor: [N]

Assessment Criteria

APPROVE

  • No critical issues
  • Core TRPC and TanStack patterns are correct
  • Repository quality-gate checks pass

NEEDS_WORK

  • Major pattern violations exist
  • Required tests are missing for behavior changes
  • Performance issues impact reliability or UX

REJECT

  • Security vulnerabilities exist
  • Breaking changes are introduced without migration path
  • Fundamental design flaws make the change unsafe to merge

Related Skills

  • trpc-patterns — TRPC router patterns, procedures, error handling
  • tanstack-frontend — Router, Query, Form patterns
  • effect-ts — Effect services, layers, ManagedRuntime, error handling
  • scan-effect-solutions — Deep Effect compliance scan
  • production-troubleshooting — Performance investigation

平台分布

Codex

37.6%
按下载量换算116

Claude

30.74%
按下载量换算95

Cursor

16.28%
按下载量换算50

Gemini CLI

9.44%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills