Token导航 LogoToken导航TokenDH.com
待分类执行命令github未标认证来源可访问许可证需确认审计提醒

gh-process-reviewGH 流程审查

Agent Skill

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

总安装

494

周安装

20

GitHub Stars

10

下载量

155
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/keboola/ai-kit --skill gh-process-review

简介

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

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 可结合来源仓库和原始 README 继续核验具体用法。

SKILL.md

GitHub Review Processing

Process PR review threads efficiently by storing them locally and addressing them one by one.

Working Directory Context

CRITICAL: All commands MUST be run from the user's project root directory, NOT from the skill directory.

  • The user will be in THEIR project directory when invoking this skill
  • All script calls use $SKILL_DIR/scripts/review.sh — the single entry point
  • The script auto-detects the reviews file from the current branch's PR
  • DO NOT cd into the skill directory - the script handles path resolution internally

SKILL_DIR = directory containing this SKILL.md (automatically resolved by Claude)

CRITICAL Rules

  1. STAY IN PROJECT ROOT - Never cd into the skill directory. Call $SKILL_DIR/scripts/review.sh from the project root.
  2. ONE COMMIT PER FIX - Each review thread fix MUST be committed separately. Never batch multiple fixes into one commit.
  3. START IN PLANNING MODE - Always enter planning mode first (unless context explicitly says otherwise like "skip planning" or "no planning").
  4. NEVER RESOLVE THREADS - Do NOT use the GitHub API to resolve review threads. Only the reviewer may resolve their own comments. Use mark for local tracking only.

Workflow

Phase 1: Setup

Fetch reviews for current PR and list unresolved threads:

"$SKILL_DIR/scripts/review.sh" fetch

This auto-detects the PR from the current branch, fetches all review threads, and prints unresolved threads.

Continue mode (/gh-process-review continue)

Skip fetching, list unresolved threads from existing reviews file:

"$SKILL_DIR/scripts/review.sh" list

Phase 2: Planning (default)

After fetching, enter planning mode using EnterPlanMode tool.

CRITICAL: Context is cleared when the plan is approved. The plan must be self-contained. $SKILL_DIR will no longer be set after context clears, so resolve it to the absolute path in the plan. Do NOT use shell variables — write out the full path in every command. Beyond the thread list and proposed fixes, always include these sections in the plan (replacing /absolute/path/to with the actual resolved $SKILL_DIR/scripts/review.sh path):

## Skill Script
Commands (use the literal path, not a variable):
- `/absolute/path/to/scripts/review.sh get <ID>` — get thread details
- `/absolute/path/to/scripts/review.sh reply <ID> <commit-hash>` — reply with commit
- `/absolute/path/to/scripts/review.sh reply <ID> -m "message"` — reply with message only
- `/absolute/path/to/scripts/review.sh reply <ID> -m "message" <commit-hash>` — reply with both
- `/absolute/path/to/scripts/review.sh mark <ID>` — mark locally resolved

## Rules
- NEVER resolve threads via GitHub API — only the reviewer may resolve their own comments
- ONE commit per fix — never batch multiple fixes
- Each fix: implement → commit → push → reply → mark → next thread
- STAY in project root — never cd into skill directory

In the plan:

  1. List all unresolved threads with thread ID, file:line, and brief summary
  2. For each thread, outline the proposed fix approach
  3. Identify any dependencies between fixes
  4. Include implementation order

Skip planning only if user explicitly requests it (e.g., "skip planning", "no planning", "just fix it").

Phase 3: Implementation

For each unresolved thread (one at a time):

  1. Get thread details: "$SKILL_DIR/scripts/review.sh" get PRRT_...
  2. Read the file and understand the feedback
  3. Implement the fix
  4. COMMIT THIS FIX IMMEDIATELY - Do not continue to next thread without committing: git add <changed-files> git commit -m "$(cat <<'EOF' AI-XXXX Address review: <brief description> Addresses comment by @<reviewer> on <file>:<line> Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> EOF)"
  5. Push the commit
  6. Reply with commit: "$SKILL_DIR/scripts/review.sh" reply PRRT_...
  7. Mark resolved: "$SKILL_DIR/scripts/review.sh" mark PRRT_...
  8. Only then proceed to next thread

Phase 4: Reflection

After all threads are addressed, reflect on the reviewer's feedback:

  1. Could this feedback have been prevented? If the reviewer caught issues that better instructions (in CLAUDE.md, MEMORY.md, or other project memory files) would have avoided, suggest specific additions to those files so the same mistakes don't recur.
  2. Did you get confused while addressing any feedback? If any review comment was ambiguous, required multiple attempts, or led you down a wrong path, suggest updating memory files with clarifying guidance for future iterations.
  3. Present the suggested memory updates to the user for approval before writing them.

CLI Reference

Single entry point: $SKILL_DIR/scripts/review.sh

Global flags

  • --file <path> — Override auto-detected reviews file path

Subcommands

fetch

"$SKILL_DIR/scripts/review.sh" fetch                                    # Current branch's PR
"$SKILL_DIR/scripts/review.sh" fetch 123                                # Specific PR number
"$SKILL_DIR/scripts/review.sh" fetch https://github.com/owner/repo/pull/123  # PR URL

Fetches review threads via GraphQL, saves to .scratch/reviews/, and auto-lists unresolved threads.

list

"$SKILL_DIR/scripts/review.sh" list                # summary (default)
"$SKILL_DIR/scripts/review.sh" list full           # full JSON details
"$SKILL_DIR/scripts/review.sh" list ids            # just thread IDs

get

"$SKILL_DIR/scripts/review.sh" get PRRT_kwDOAbcd1234
"$SKILL_DIR/scripts/review.sh" get PRRT_kwDOAbcd1234 PRRT_kwDOEfgh5678

Returns: Single thread as JSON object, or JSON array when multiple IDs given. Fields: path, line, comments[], isResolved, isOutdated. Warns on missing IDs.

reply

Requires at least one of -m or a commit hash.

"$SKILL_DIR/scripts/review.sh" reply PRRT_kwDOAbcd1234 abc1234                         # Commit hash → "Fixed in abc1234"
"$SKILL_DIR/scripts/review.sh" reply PRRT_kwDOAbcd1234 -m "No changes needed"          # Message only
"$SKILL_DIR/scripts/review.sh" reply PRRT_kwDOAbcd1234 -m "Refactored per suggestion" abc1234  # Both → "Fixed in abc1234\n\nRefactored per suggestion"

mark

"$SKILL_DIR/scripts/review.sh" mark PRRT_kwDOAbcd1234
"$SKILL_DIR/scripts/review.sh" mark PRRT_kwDOAbcd1234 "Fixed in commit abc123"

JSON Structure

  • pr: PR metadata (number, title, branch names, url)
  • threads[]: id, path, line, isResolved, isOutdated, local_resolved, local_notes, comments[]
  • reviews: Review summaries

Key Thread Fields

  • id: GraphQL ID (starts with PRRT_)
  • path: File path
  • line: Line number
  • comments[0].body: Main feedback
  • comments[0].author: Reviewer

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.06%
按下载量换算59

Claude

28.65%
按下载量换算44

Cursor

20.2%
按下载量换算31

Gemini CLI

9.65%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills