跳到正文
cccskills
免费在 GitHub 公开

pr-review

Review PR comments from GitHub. Fetches inline review comments and issue comments, classifies by blocking vs non-blocking, and summarizes actionable items.

中文简介正在准备中。当前显示原文说明。

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Review PR Comments

Context

  • Branch: !git branch --show-current
  • Remote: !gh repo view --json nameWithOwner -q .nameWithOwner

Task

Given PR number $ARGUMENTS (required), fetch and triage all reviewer comments.

1. Fetch comments

Run these two gh api calls to get both comment types:

# Inline review comments (attached to specific lines)
gh api repos/{owner}/{repo}/pulls/{pr}/comments --paginate

# Issue-level comments (general discussion)
gh api repos/{owner}/{repo}/issues/{pr}/comments --paginate

If --repo is provided in arguments, use that. Otherwise infer from the git remote.

Filter out bot comments (author login ending in [bot] or bot).

2. Parse and classify

For each human comment, extract:

  • Author: .user.login
  • Type: review (inline) or discussion (issue-level)
  • File + line: .path and .line (review comments only)
  • Body: .body
  • Blocking: true if body contains blocking:, must-fix:, bug:, security:, or tests: prefix
  • Created: .created_at

3. Summarize

Output a table grouped by blocking status:

## Blocking (must resolve before merge)

| # | Author | File:Line | Comment |
|---|--------|-----------|---------|
| 1 | user   | main.py:42 | concern about race condition |

## Non-blocking (address or acknowledge)

| # | Author | File:Line | Comment |
|---|--------|-----------|---------|
| 1 | user   | utils.py:10 | nit: rename variable |

Comments without a blocking prefix are classified as non-blocking.

4. Suggest next steps

For each blocking comment, suggest the minimal fix. If the comment is a question, draft a reply. If it requires a code change, identify the file and describe what to change.

Anti-patterns

  • Do not fetch the full PR diff. The comments already reference specific files and lines.
  • Do not reply to or resolve comments automatically. Surface the information; let the user decide.
  • Do not ignore bot comments silently. Filter them but mention the count.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design engineering principles for making TUI interfaces feel polished. Use when building Textual widgets, reviewing TUI code, implementing transitions, focus states, alignment, spacing, or any visual detail work. Triggers on TUI polish, design details, "make it feel better", "feels off", layout alignment, color consistency, responsive sizing.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

commit

免费

Create a git commit with conventional commit format. Injects current git state automatically.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

greentext

免费

Explain system behavior, request flows, architecture, or implementation logic as short 4chan-style greentext lines. Use when the user asks for a step-by-step explanation, says "explain the logic", asks for "greentext", or wants terse sequential reasoning with each line starting with `>`.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

issue

免费

Create a GitHub issue using the wingman issue templates (bug, feature). Injects branch and commit context automatically.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

pr

免费

Create a pull request using the wingman PR template. Injects git state, commit history, and diff stats automatically.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

promote

免费

Create a changelog-style promotion PR between two branches. Use for release promotions or branch-to-branch merges with a structured changelog.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

查看 dedalus-labs 的全部技能

报告此技能的问题