Skip to main content

fetch-pr-comments

Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.

来源信息

仓库
google/ground-android
最近来源活动
2026年1月30日 18:07
检测到的 SKILL.md 语言
英语
星标
297
分支
151

安装方式

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

检查来源文件

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

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
Fetch PR Comments
description
Fetches comments and reviews from the current GitHub Pull Request and formats them as Markdown.
# Fetch PR Comments This skill allows you to retrieve comments and reviews from the current GitHub Pull Request (PR) associated with the active branch, or a specific PR by number/URL. It converts the data into a readable Markdown format, including code review comments with file and line context. ## Usage To use this skill, run the provided Python script. It requires the GitHub CLI (`gh`) to be installed and authenticated. ### Command ```bash # Fetch comments for the current branch's PR python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py # Fetch comments for a specific PR python3 .agent/skills/fetch_pr_comments/scripts/fetch_comments.py <PR_NUMBER_OR_URL> ``` ### Output The script outputs Markdown text to stdout, containing: - PR Title and URL - Reviews (Approved/Changes Requested) - General Comments (Pull Request level) - Code Comments (Grouped by file and line number) ## Dependencies - `gh` (GitHub CLI) must be installed and in your PATH. - `python3` must be available.
在 GitHub 查看