get-pr-comments
Installation
SKILL.md
Get PR Comments
Fetch, organize, and present all comments on a GitHub pull request — issue-level comments, review bodies, and inline review comments — grouped by human vs bot, with actionable items (must-fix, optional) extracted from structured reviews and inline comments.
Pre-Flight Context
- Current branch:
!git rev-parse --abbrev-ref HEAD - Repo:
!gh repo view --json nameWithOwner --jq .nameWithOwner 2>/dev/null || echo "unknown" - Current branch PR:
!gh pr view --json number,title --jq '"\(.number) — \(.title)"' 2>/dev/null || echo "none"
Workflow
1. Identify the PR
Parse $ARGUMENTS for a PR number or URL. If present, use it directly.