← スキル一覧に戻る

fetch-pr-comments
by hvent90
Personal collection of skills for Claude Code
⭐ 1🍴 0📅 2026年1月20日
SKILL.md
name: fetch-pr-comments description: Fetch unresolved PR review comments and feedback on the current branch. Use when you need to address outstanding PR review items or see what feedback needs to be resolved. Optionally filter by a specific reviewer. allowed-tools: Bash, Read, Write
Fetch PR Comments
Fetches unresolved review threads and pending reviews from the current branch's pull request.
Usage
Run the script from the repository root:
# Fetch all unresolved comments
./scripts/fetch-pr-comments.sh
# Fetch unresolved comments from a specific user
./scripts/fetch-pr-comments.sh username
Output
Results are saved to /tmp/delete-me/{timestamp}-{repo}-{branch}.json.
Example output structure:
{
"pr_number": 123,
"repo": "owner/repo",
"branch": "feature/example",
"fetched_at": "2025-12-17T12:00:00Z",
"filter_user": null,
"unresolved_threads": [
{
"path": "src/example.ts",
"line": 42,
"comments": [
{
"author": "reviewer",
"body": "Consider using a more descriptive name",
"created_at": "2025-12-16T10:30:00Z"
}
]
}
],
"pending_reviews": [
{
"user": "reviewer",
"state": "CHANGES_REQUESTED",
"body": "A few items to address",
"submitted_at": "2025-12-16T10:00:00Z"
}
]
}
What It Captures
- Unresolved threads: Inline code review comments that haven't been marked as resolved
- Pending reviews: Overall review submissions (APPROVED, CHANGES_REQUESTED, COMMENTED)
Requirements
- GitHub CLI (
gh) must be installed and authenticated - Must be run from within a git repository
- Current branch must have an open pull request
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です