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

review审查

Agent Skill

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

总安装

264

周安装

11

GitHub Stars

公开资料未说明

下载量

88
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cerico/macfair --skill review

简介

Code Review 审查当前分支相对于 main 的分支变更,提供多级分析深度。

  • 适用于 Level 1 快速检查阻塞问题,或 Level 3 深度分析核心质量维度。
  • 支持实验性高级检查用于评估目的,但不保证稳定性。
  • 安装前需确认 Git 分支结构是否符合预期,避免误判合并冲突。
  • 输出按类别组织问题,便于开发者逐项修复并重新提交审查。

SKILL.md

Code Review

Review the current branch's changes against main.

Usage

  • /review or /review 2 - Standard review
  • /review 1 - Quick sanity check
  • /review 3 - Deep analysis (core checks)
  • /review 4 - Experimental (Level 3 + advanced checks for evaluation)

Setup

# Get the diff
git diff main...HEAD

# Get list of changed files
git diff --name-only main...HEAD

Level 1: Quick

Fast sanity check. Only blockers.

  • Types compile (tsc --noEmit)
  • No obvious runtime errors
  • No secrets or credentials in diff
  • No console.log/debugger statements left in
  • Imports resolve

Output: "No blockers found" or list of blockers. No grade.


Level 2: Standard

Full review with grade.

Checklist

Logic & Correctness

  • Code does what the PR description says
  • Edge cases handled (null, empty, zero, negative)
  • Error paths handled appropriately

Types & Safety

  • No any types introduced
  • Null/undefined properly checked
  • Type assertions (as) justified

React Patterns

  • No useEffect for derived state (use useMemo or compute directly)
  • No useEffect for data fetching (use React Query/tRPC/server components)
  • Dependencies arrays correct
  • No missing keys in lists

API & Data

  • API returns only needed fields
  • No N+1 queries visible in diff
  • Mutations invalidate relevant caches

Security Basics

  • User input validated/sanitized
  • No SQL/command injection vectors
  • Auth checks present where needed

Style

  • Follows existing patterns in codebase
  • No commented-out code
  • Clear naming

Output Format

## Review: [PR/Branch name]

### Summary
[2-3 sentences on what this change does and overall impression]

### Issues
[List any problems found, grouped by severity]

### Suggestions
[Optional improvements, not blockers]

### Grade: [A-F] ([score]/100)

Level 3: Deep

Everything in Level 2, plus read and apply each check file in checks/ directory.

For each check file:

  1. Read the file from ~/.claude/skills/review/checks/
  2. Apply its rules to the diff
  3. Report findings under a heading matching the check name

Check files to load

Core (always applied)

  • security.md - Security audit
  • async.md - Async/await patterns
  • errors.md - Error handling coverage
  • concurrency.md - Race conditions
  • idempotency.md - Idempotent operations
  • timezones.md - Date/timezone handling
  • memory.md - Memory leaks

Shell/Infra (for.sh,.zsh,.yml files)

  • shell.md - Shell script quality
  • ansible.md - Ansible task quality
  • dotfiles.md - Dotfiles/config management

React/JS (for.ts,.tsx,.js,.jsx files)

  • nplus1.md - Database and API query patterns
  • accessibility.md - a11y compliance
  • hooks.md - React Rules of Hooks
  • antipatterns.md - React antipatterns
  • state.md - State mutation patterns
  • performance.md - Performance issues
  • boundaries.md - Error boundaries and fault tolerance

Output Format

Same as Level 2, but with additional sections for each check that found issues.


Level 4: Experimental

Everything in Level 3, plus experimental checks being evaluated for promotion to Level 3.

Run periodically to see if any of these should become standard checks.

Additional check files to load

  • ast.md - Dead code, complexity, duplicates, dependency graphs
  • advanced-security.md - Prototype pollution, ReDoS, timing attacks
  • framework.md - Next.js, tRPC, Prisma, RSC patterns
  • testing.md - Test coverage gaps and quality
  • documentation.md - JSDoc, comments, README sync
  • dependencies.md - Vulnerabilities, unused deps, licenses
  • git.md - Commit messages, large files, conflict markers

Output Format

Same as Level 3, but with additional sections for experimental checks. Note which experimental checks found useful issues - candidates for promotion to Level 3.

Promoting Checks

If an experimental check consistently finds real issues, promote it to Level 3:

  1. Move the check file entry from Level 4 list to Level 3 list
  2. Update this file

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.04%
按下载量换算33

Claude

28.58%
按下载量换算25

Cursor

20.18%
按下载量换算18

Gemini CLI

9.73%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills