Token导航 LogoToken导航

Agent Skill · 研究检索

review(审查)

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

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

总安装 436周安装 18GitHub Stars 2下载 143核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tercel/code-forge --skill review

这个 Skill 是做什么的

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

用于查找、检索和筛选相关信息。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。适合根据关键词或任务场景快速定位候选结果。通过 npx 安装,需结合原始 README 核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或文件操作。

review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

review 怎么安装?

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

review 支持哪些 AI 工具?

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

review 需要什么权限?

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

review 是免费的吗?

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

review 用的人多吗?

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

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调用外部服务未明确有提醒
review

审查 · 本页

4362需要联网未明确有提醒

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

SKILL.md 原文

Code Forge — Review

Comprehensive code review against reference documents and engineering best practices. Covers functional correctness, security, resource management, code quality, architecture, performance, testing, error handling, observability, maintainability, backward compatibility, and dependency safety.

Supports four modes:

  • Feature mode: Review a single feature against its plan.md
  • Project mode: Review the entire project against planning documents or upstream docs
  • Feedback mode: Evaluate and respond to incoming code review comments (--feedback)
  • GitHub PR mode: Post a 14-dimension review as a comment on a GitHub PR (--github-pr)

When to Use

  • Feature implementation is complete or nearly complete
  • Want to verify code quality before creating a PR
  • Need a structured review against the original plan or documentation
  • Want a holistic project-level quality check
  • Received code review feedback and need to evaluate/respond to it (--feedback)
  • Want to post a code review directly to a GitHub PR for team visibility (--github-pr)

Examples

/code-forge:review user-auth             # Review a specific feature
/code-forge:review --project             # Full project review
/code-forge:review                       # Auto-detect features to review
/code-forge:review --feedback            # Evaluate incoming review comments
/code-forge:review --github-pr 123       # Post review to GitHub PR #123
/code-forge:review user-auth --save      # Review and save report to disk

Workflow

Config → Determine Mode → Locate Reference → Collect Scope → Multi-Dimension Review (sub-agent) → Display Report → Update State → Summary

Context Management

The review analysis is offloaded to a sub-agent to handle large diffs without exhausting the main context.

Project Analysis

Before reviewing code, understand the project's architecture and tech stack:

@../shared/project-analysis.md

Execute PA.1 (Project Profile) and PA.2 (Architecture Analysis). This informs:

  • Which review dimensions apply (D14 Accessibility only for frontend)
  • Language-specific checks (Rust unsafe blocks, Go unchecked errors, Python type hints)
  • Architecture-specific checks (layer boundary violations, circular dependencies)
  • The Project Profile determines which patterns are expected vs. suspicious

Review Severity Levels

All issues use a 4-tier severity system, ordered by merge-blocking priority:

SeveritySymbolMeaningMerge Policy
blocker:no_entry:Production risk. Data loss, security breach, crash.Must fix before merge
critical:warning:Significant quality/correctness concern.Must fix before merge
warning:large_orange_diamond:Recommended fix. Could cause issues over time.Should fix
suggestion:blue_book:Nice-to-have improvement. Can address later.Nice-to-have

Review Dimensions Reference

For the full list of 14 review dimensions with check items, read references/dimensions.md.

Quick summary by tier:

  • Tier 1 (Must-Fix): D1 Functional Correctness, D2 Security, D3 Resource Management
  • Tier 2 (Should-Fix): D4 Code Quality, D5 Architecture, D6 Performance, D7 Test Coverage
  • Tier 3 (Recommended): D8 Error Handling, D9 Observability, D10 Standards
  • Tier 4 (Nice-to-Have): D11 Backward Compat, D12 Maintainability, D13 Dependencies, D14 Accessibility (frontend only)

Dimension Application Rules:

  • D1–D3: Always apply. Potential merge blockers.
  • D4–D7: Always apply. Should-fix items.
  • D8–D10: Always apply. Flag as warnings/suggestions.
  • D11–D13: Always apply but expect mostly suggestions.
  • D14: Apply ONLY if project_type is "frontend" or "fullstack".

When spawning review sub-agents, instruct them to read references/dimensions.md for the full check items.


Detailed Steps

@../shared/configuration.md


Step 1: Determine Review Mode

Parse the user's arguments to determine which mode to use.

1.0a --github-pr Flag Provided

If the user passed --github-pr (e.g., /code-forge:review --github-pr or /code-forge:review --github-pr 123):

→ GitHub PR Mode — Read and follow skills/review/github-pr-workflow.md. Do NOT continue with the steps below.

1.0b --feedback Flag Provided

If the user passed --feedback (e.g., /code-forge:review --feedback or /code-forge:review --feedback #123):

→ Feedback Mode — Read and follow skills/review/feedback-workflow.md. Do NOT continue with the steps below.

1.1 Feature Name Provided

If the user provided a feature name (e.g., /code-forge:review user-auth):

→ Feature Mode — go to Step 2F

1.2 --project Flag Provided

If the user passed --project (e.g., /code-forge:review --project):

→ Project Mode with scope = "full" — go to Step 2P

1.3 No Arguments

If no arguments provided:

  1. Scan both {output_dir}/*/state.json and .code-forge/tmp/*/state.json for all features
  2. Filter to features with at least one "completed" task
  3. Build choice list:

- If completed features exist: include each as an option, plus "Review entire project" as the last option - If no completed features: go to Project Mode with scope = "changes" automatically

  1. If only one option (project review): go to Project Mode with scope = "changes" automatically
  2. If multiple options: use AskUserQuestion to let user select

- If user selects "Review entire project": go to Project Mode with scope = "changes"


Step 2F: Feature Mode — Locate Feature

2F.1 Find Feature
  1. Look for {output_dir}/{feature_name}/state.json
  2. If not found, also check .code-forge/tmp/{feature_name}/state.json
  3. If still not found: show error, list available features
2F.2 Load Feature Context
  1. Read state.json
  2. Read plan.md (for acceptance criteria and architecture)
  3. Note completed task count and overall progress

→ Go to Step 3F


Step 2P: Project Mode — Locate Reference

Determine the reference level using a fallback chain.

2P.1 Check for Planning Documents (Level 1: Planning-backed)

Scan {output_dir}/*/plan.md:

  • If one or more plan.md files found → planning-backed
  • Read all plan.md files and aggregate:

- Acceptance criteria from each feature - Architecture decisions - Technology stack

  • Read corresponding state.json files for progress context
  • Record: reference_level = "planning"
  • Record: list of plan file paths and aggregated criteria
  • → Go to Step 3P
2P.2 Check for Documentation (Level 2: Docs-backed)

If no planning documents found, scan for upstream documentation:

Search paths (in order):

  1. {input_dir}/*.md — feature specs
  2. docs/ directory — PRD, SRS, tech-design, test-cases files

Look for files matching patterns:

  • **/prd.md, **/srs.md, **/tech-design.md, **/test-cases.md
  • **/features/*.md
  • Any .md files directly under docs/

If documentation files found → docs-backed:

  • Read all found docs
  • Extract: requirements, architecture decisions, acceptance criteria, scope definitions
  • Record: reference_level = "docs"
  • Record: list of doc file paths and extracted criteria
  • → Go to Step 3P
2P.3 No Reference (Level 3: Bare)

If neither planning nor docs found → bare:

  • Record: reference_level = "bare"
  • → Go to Step 3P

Step 3F: Feature Mode — Collect Changes and Review

3F.1 Collect Change Scope

From Commits: Extract all commit hashes from state.json → tasks[].commits:

  • Flatten all commit arrays into a single list
  • If commits are recorded, use git diff between the earliest and latest commits
  • If no commits recorded, fall back to scanning files involved in tasks

From Task Files: Read all tasks/*.md files and collect their "Files Involved" sections:

  • Build a complete list of files created/modified by this feature
  • Read current state of each file

Summary:

  • Total files changed
  • Total lines added/removed (from git diff)
  • List of all affected files
3F.2 Detect Project Type

Before launching the sub-agent, detect the project type to guide dimension selection:

  1. Has frontend? Check for: *.tsx, *.jsx, *.vue, *.svelte, HTML templates, CSS/SCSS files, or frontend framework config (next.config.*, vite.config.*, angular.json)
  2. Has backend/service? Check for: server entry points, API route definitions, database models, middleware
  3. Language ecosystem: Detect primary language(s) from file extensions and package manifests

Record: project_type = "frontend" | "backend" | "fullstack" | "library" | "cli" | "unknown"

3F.3 Multi-Dimension Review (via Sub-agent)

Offload to sub-agent to handle the full diff analysis.

Spawn an Agent tool call with:

  • subagent_type: "general-purpose"
  • description: "Review feature: {feature_name}"

Sub-agent prompt must include:

  • Feature name and plan.md file path
  • List of all affected files (sub-agent reads them)
  • The acceptance criteria from plan.md
  • Detected project type
  • Instructions to review across all applicable dimensions below
  • The severity level definitions (blocker / critical / warning / suggestion)
  • Instruction: "For each issue, specify severity, file path, line number/range, what's wrong, and how to fix it. Use the Review Comment Formula: Problem → Why it matters → Suggested fix."

Review dimensions to apply: Follow Dimension Application Rules.

Additionally, always check Plan Consistency (feature mode specific):

  • All acceptance criteria from plan.md are met
  • Architecture matches the design in plan.md
  • No unplanned features added (scope creep)
  • All planned tasks are implemented

Sub-agent must return the structured format defined in references/sub-agent-format.md (use the Feature Mode PLAN_CONSISTENCY consistency section).

→ Go to Step 4F


Step 3P: Project Mode — Collect Source Code and Review

The primary subject of review is the source code itself. Reference documents (plans, specs) serve only as criteria to check against — the sub-agent must deeply read and analyze the actual implementation.

3P.1 Collect Source Code

Identify and collect project source files for deep code review. The collection strategy depends on scope (set in Step 1):

If scope = "changes" (default — no arguments or auto-selected):

  1. Identify changed files (primary scope):

- If on a non-main branch: git diff main...HEAD --name-only - If on main branch with uncommitted changes: git diff HEAD --name-only + git diff --cached --name-only (staged + unstaged) - If on main branch with no uncommitted changes: git diff HEAD~1 --name-only (last commit) - Exclude non-source directories: node_modules/, dist/, build/, .git/, vendor/, __pycache__/, the output directory itself

  1. Expand to impact zone (1 level): For each changed file, also include:

- Files that import or depend on the changed file (direct dependents — use Grep to find import/require/use statements referencing the changed file) - Files that the changed file imports from (direct dependencies — read the changed file's import statements) - Test files corresponding to the changed files (e.g., foo.test.ts for foo.ts)

  1. Fallback to full scan: Only if no changed files are found (clean repo, no recent commits), fall through to the scope = "full" strategy below.

If scope = "full" (--project flag):

  1. Use project root markers to find source directories (e.g., src/, lib/, app/, pkg/, or language-specific patterns)
  2. Exclude non-source directories: node_modules/, dist/, build/, .git/, vendor/, __pycache__/, the output directory itself
  3. Scan all source files
  4. If the project is large (>50 source files), prioritize:

- Core modules (entry points, main logic, business logic) - Test files - Configuration and infrastructure files

Both modes also collect:

  • Package manifests (package.json, Cargo.toml, pyproject.toml, etc.) for dependency review
  • Build/CI configuration if present
3P.2 Detect Project Type

Same as Step 3F.2 — detect project_type to guide dimension selection.

3P.3 Multi-Dimension Code Review (via Sub-agent)

Offload to sub-agent to handle deep source code analysis.

Spawn an Agent tool call with:

  • subagent_type: "general-purpose"
  • description: "Project code review: {project_name}"

Sub-agent prompt must include:

  • Project name and root path
  • List of all source files to review — sub-agent MUST read and analyze each file's actual implementation
  • Reference level (planning / docs / bare) and associated criteria (if any)
  • Detected project type
  • If planning-backed: aggregated acceptance criteria (as checklist for consistency dimension only)
  • If docs-backed: extracted requirements (as checklist for consistency dimension only)
  • The severity level definitions (blocker / critical / warning / suggestion)
  • Explicit instruction: "Read every source file. Review the code itself — its logic, structure, correctness, and quality. Reference documents are only used as criteria for the consistency check, not as the subject of review."
  • Instruction: "For each issue, specify severity, file path, line number/range, what's wrong, and how to fix it. Use the Review Comment Formula: Problem → Why it matters → Suggested fix."

Review dimensions to apply: Follow Dimension Application Rules.

Additionally, apply the appropriate Consistency check based on reference level:

  • planning-backed → Plan Consistency:

- Aggregated acceptance criteria from all plans are met in the code - Implemented architecture matches the designs in plan files - No unplanned features added (scope creep) - All planned features have corresponding code

  • docs-backed → Documentation Consistency:

- Code implements the requirements described in documentation - Architecture aligns with tech design (if present) - Feature scope in code matches what specs describe - No undocumented major functionality in the code

  • bare → Skip this dimension. Note in the report: "No reference documents found — consistency check skipped."

Sub-agent must return the structured format defined in references/sub-agent-format.md (use the Project Mode CONSISTENCY consistency section). All issues MUST reference specific source files and line numbers/ranges.

→ Go to Step 4P


Step 4F: Feature Mode — Display Report

Review results are displayed in the terminal by default — no file is written. This reflects that reviews are iterative, intermediate checks rather than permanent artifacts.

Follow the report template in references/report-template.md (Feature mode variant).

4F.1 Optional: Save to File (--save)

If the user passed --save in the arguments, also write the report to {output_dir}/{feature_name}/review.md. Otherwise, do NOT create the file.

→ Go to Step 5F


Step 4P: Project Mode — Display Report

Follow the report template in references/report-template.md (Project mode variant).

4P.1 Optional: Save to File (--save)

If the user passed --save in the arguments, also write the report to {output_dir}/project-review.md. Otherwise, do NOT create the file.

→ Go to Step 5P


Step 5F: Feature Mode — Update state.json

  1. Read state.json
  2. Add or update review field in metadata: {"review": {"date": "ISO timestamp", "rating": "pass_with_notes", "merge_readiness": "fix_required", "total_issues": 12, "blockers": 0, "criticals": 2, "warnings": 6, "suggestions": 4}}

- If --save was used, also include "report": "review.md" in the review object

  1. Update state.json updated timestamp

→ Go to Step 6


Step 5P: Project Mode — No State Update

Project mode does not update any state.json — there is no single feature state to track.

→ Go to Step 6


Step 6: Summary and Next Steps

CRITICAL — Next-step commands are MANDATORY. When the review finds any blocker, critical, or warning issues, you MUST include the /code-forge:fix --review command in the summary output. Never omit it, never paraphrase it, never skip the next-steps block.

6.1 Feature Mode

Display:

Code Review Complete: {feature_name}

Rating: {overall_rating}
Merge Readiness: {merge_readiness}
Issues: {total_issues} ({blocker_count} blockers, {critical_count} critical, {warning_count} warnings, {suggestion_count} suggestions)
{If --save was used:}
Report saved: {output_dir}/{feature_name}/review.md

{If needs_changes (blockers or criticals > 0):}
🚫 Merge blocked — fix these first:
  1. {highest priority blocker/critical with file:line}
  2. {next priority fix}
  ...
  Fix all:    /code-forge:fix --review
  Re-review:  /code-forge:review {feature_name}

{If pass_with_notes (warnings > 0, no blockers/criticals):}
⚠ Merge OK with notes — consider fixing:
  1. {top warning}
  2. ...
  Fix all:    /code-forge:fix --review

{If pass:}
✅ Ready for next steps:
  /code-forge:status {feature_name}         View final status
  Create a Pull Request

Tip: use --save to persist the review report to disk
6.2 Project Mode

Display:

Project Review Complete: {project_name}

Rating: {overall_rating}
Merge Readiness: {merge_readiness}
Reference: {planning-backed (N plans) | docs-backed (N documents) | bare}
Issues: {total_issues} ({blocker_count} blockers, {critical_count} critical, {warning_count} warnings, {suggestion_count} suggestions)
{If --save was used:}
Report saved: {output_dir}/project-review.md

{If needs_changes (blockers or criticals > 0):}
🚫 Issues require attention:
  1. {highest priority blocker/critical with file:line}
  2. {next priority fix}
  ...
  Fix all:    /code-forge:fix --review
  Re-review:  /code-forge:review --project

{If pass_with_notes (warnings > 0, no blockers/criticals):}
⚠ Project quality acceptable with notes — consider fixing:
  1. {top warning}
  2. ...
  Fix all:    /code-forge:fix --review

{If pass:}
✅ Project quality looks good.

Tip: use --save to persist the review report to disk

平台分布

Codex

40.79%
按下载量换算58

Claude

28.97%
按下载量换算41

Cursor

17.53%
按下载量换算25

Gemini CLI

9.47%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills