GitHub PR comment fetcher

v2026.09.25

Easily query for open discussions and reviews on a pull request to help resolve them.

GitHub
安装命令
npx skhub add paulirish/github-pr-comment-fetcher
Markdown
SKILL.md

GitHub PR comment fetcher

This skill enables agents to query for reviews and comments on a pull request, including the resolved status of comment threads, to facilitate resolving open discussions.

Usage

Use the included script to gather reviews and comments for a specific PR.

After fetching and presenting the results to the user, you can offer to address the comments.

node scripts/gather-reviews.ts <repo> <pr_number>

Example:

node scripts/gather-reviews.ts GoogleChrome/lighthouse 14425

The script will output a JSON file and a Markdown file with the gathered data.

Script Details

The gather-reviews.ts script uses the GitHub CLI (gh) to fetch data.

  • It uses GraphQL to fetch review threads and their resolved status.
  • It filters for relevant comments and reviews.
  • It outputs data to the resources/ directory in the skill folder.

Caching

Caching is not implemented by default to ensure agents always work with the most up-to-date state.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.25

发布时间

2026年9月25日

分类

未分类

许可证

未指定

源路径

agents/skills/github-pr-comments

默认分支

main

最新提交

d91b080

Tree SHA

d307923