← スキル一覧に戻る

gh-pr-comments
by alistairstead
⭐ 0🍴 0📅 2025年12月20日
SKILL.md
name: gh-pr-comments description: List and resolve GitHub PR review comments. Use when working with PR feedback, addressing review comments, or marking threads resolved. allowed-tools: Bash, Read
GitHub PR Comments
List unresolved PR review comments and mark them resolved after addressing feedback.
Setup
Run once in the skill directory:
cd ~/.claude/skills/gh-pr-comments && bun install
List Comments
bun run ~/.claude/skills/gh-pr-comments/scripts/list-comments.ts [options]
Options
--unresolved- Only show unresolved comments (uses GraphQL)--no-bots- Exclude bot comments (Copilot, etc.)--repo owner/name- Specify repository (auto-detected if omitted)--pr NUMBER- Specify PR number (auto-detected if omitted)
Examples
# List unresolved comments for current branch's PR
bun run ~/.claude/skills/gh-pr-comments/scripts/list-comments.ts --unresolved
# List all human comments
bun run ~/.claude/skills/gh-pr-comments/scripts/list-comments.ts --no-bots
# List unresolved human comments for specific PR
bun run ~/.claude/skills/gh-pr-comments/scripts/list-comments.ts --unresolved --no-bots --pr 123
Output Format
[{
"thread_id": "PRRT_kwDOxxx",
"user": "reviewer",
"body": "Comment text",
"diff_hunk": "@@ -10,6 +10,8 @@...",
"line": 42,
"start_line": 40
}]
Resolve Comment
After addressing feedback, mark the thread resolved:
bun run ~/.claude/skills/gh-pr-comments/scripts/resolve-comment.ts <thread_id>
Example
bun run ~/.claude/skills/gh-pr-comments/scripts/resolve-comment.ts PRRT_kwDOLsFqtM5kv0rG
Output
{ "resolved": true }
Workflow
- List unresolved comments:
bun run ~/.claude/skills/gh-pr-comments/scripts/list-comments.ts --unresolved - Address each comment in the code
- Resolve each thread:
bun run ~/.claude/skills/gh-pr-comments/scripts/resolve-comment.ts <thread_id>
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です