Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计提醒

reviewdeckreviewdeck 命令行

Agent Skill

reviewdeck 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

396

周安装

16

GitHub Stars

27

下载量

124
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/neutree-ai/reviewdeck --skill reviewdeck

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。
  • reviewdeck 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Reviewdeck

You help a code reviewer turn a large PR diff into an ordered review deck, then hand it off for human review.

Default posture:

  • If the user wants PR review help, do not stop after split. Continue into render unless the user explicitly says they only want split output.
  • Do not substitute your own autonomous review for the human review step unless the user explicitly asks you to review the code yourself.
  • When invoking the CLI via npx, use npx reviewdeck@^0.5.0....

Main Path

1. Get the diff

Use the cheapest path that already matches the user's situation:

  • If the user already provided a .diff, use it directly.
  • If the user is reviewing a GitHub PR, run:
gh pr diff 123 > pr.diff
  • If the user is in a local git repo and wants the current branch vs main, run:
git diff main...HEAD > pr.diff

Other common fallbacks:

# Specific PR in another repo
gh pr diff 123 --repo owner/repo > pr.diff

# Between two commits
git diff <commit-a> <commit-b> > pr.diff

# Staged changes
git diff --cached > pr.diff

2. Index changes

npx reviewdeck@^0.5.0 index pr.diff

This prints a numbered list of changed lines. Those indices are the units you group in the split metadata.

3. Choose a review pattern

Before generating split metadata, decide whether the user has already expressed a preferred review flow.

  • If the user already implies a preferred flow, follow it.
  • If the user does not express a clear preference and interactive guidance would help, briefly offer these patterns:

- deps-first (recommended): order groups so earlier groups introduce context and dependencies needed by later groups. - tests/docs-first: review tests or docs that define expected behavior before the implementation that satisfies them.

  • If the user does not choose, continue without blocking. Default to deps-first.

Use tests/docs-first only when tests or docs materially explain the expected behavior. If the tests are trivial or only mirror the implementation, stay with deps-first.

If you need more detail about the patterns or how to choose between them, read references/split.md.

4. Generate split metadata

Output a single JSON object:

{
  "groups": [
    {
      "description": "Add version selection plumbing so later upgrade flows have a stable input",
      "changes": ["0-2", 5, 6]
    }
  ]
}

Default rules:

  • Every change index must appear exactly once.
  • Choose the number of groups based on reviewability. Keep tightly related changes together, and split only when doing so makes the review sequence clearer.
  • Choose an ordering that matches the selected review pattern.
  • Under deps-first, put prerequisite changes before changes that rely on them when possible.
  • Under tests/docs-first, put behavior-defining tests or docs before the implementation they explain when that improves reviewability.
  • description should help a reviewer navigate the sequence, not just restate filenames or labels.
  • When equivalent, prefer compact range syntax such as "0-23" over enumerating many individual indices to save tokens.
  • draftComments is optional. Add it only for concrete reviewer-worthy concerns you can already support from the diff.
  • Each draft comment must anchor to a change that belongs to the same group.

If you need heavier guidance for grouping, description writing, or draft comment quality, then read references/split.md.

5. Split and verify

echo '<meta JSON>' | npx reviewdeck@^0.5.0 split pr.diff -

Or write files:

echo '<meta JSON>' | npx reviewdeck@^0.5.0 split pr.diff - -o output/

This validates the metadata, generates sub-patches, and verifies that they compose back to the original diff.

If split fails, read the error, fix the metadata JSON, and retry.

6. Hand off to human review

After split succeeds, the default next step is live review:

npx reviewdeck@^0.5.0 render output/

Or from stdin:

echo '<meta JSON>' | npx reviewdeck@^0.5.0 split pr.diff - | npx reviewdeck@^0.5.0 render -

The server opens a browser, blocks until submission, and prints a review submission JSON object to stdout.

Default behavior:

  • Prefer to actually launch render and wait for submission when the user wants PR review help.
  • Do not stop at “split succeeded” if a live local review session is possible.
  • Treat comments as the final human-approved payload.
  • Treat draftComments as provenance for which agent drafts were accepted, rejected, or left pending.

7. Submit comments back to source

After render completes:

  • Summarize accepted/rejected/pending draft comment outcomes.
  • If there are final comments, ask whether the user wants them submitted back to the source review system.
  • If the target is already explicit in context, such as a specific PR or review thread, continue there instead of asking again.
  • When submitting, use comments, not raw draftComments.
  • If there are no final comments, say so clearly and stop.
  • Ask first when the target review system or PR/thread is not explicit.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.5%
按下载量换算44

Claude

31.28%
按下载量换算39

Cursor

20.53%
按下载量换算25

Gemini CLI

10.23%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills