Skip to main content

github-get-pr-comments

Gather pull request review feedback and combine it with recent local project context so reviewer comments can be addressed efficiently.

来源信息

仓库
lefant/agent-skills
最近来源活动
2026年3月27日 07:26
检测到的 SKILL.md 语言
英语
星标
1
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-get-pr-comments
description
Gather pull request review feedback and combine it with recent local project context so reviewer comments can be addressed efficiently.
# GitHub Get PR Comments Use this skill when the user wants reviewer feedback collected and organized before responding to or addressing a pull request review. This skill is the replacement for the old `github_get_pr_comments` command. ## Dependencies This skill depends on: - `github-access` for GitHub API or `gh` usage - `recent-context-from-git` patterns for recent local documentation context ## Workflow 1. Identify the PR: - use a provided PR URL or number - otherwise detect the PR from the current branch when possible 2. Fetch: - PR metadata - top-level review summaries - inline review comments - general PR comments 3. Gather local context: - recent devlogs - active plans - relevant specs and ADRs - uncommitted documentation changes if they explain current work 4. Present a unified summary grouped by: - blocking or required comments - suggestions - questions - supporting local context ## Output Shape ```markdown ## PR #{number}: {title} **Branch**: {head} -> {base} **Author**: {author} **State**: {state} ### Comments to Address - **Blocking** - **Suggestions** - **Questions** ### Local Context - Recent devlogs and plans - Relevant specs or ADRs - Uncommitted docs explaining current state ``` ## Notes - If no PR can be inferred from the current branch, ask the user for the PR URL or number - Prefer concise grouping over raw comment dumps
在 GitHub 查看