githubpr-commentslisted
Install: claude install-skill bendrucker/claude
# PR Review Comments
Fetch unresolved review threads from a GitHub pull request, filtered for context efficiency: resolved threads are excluded, outdated threads included but marked.
## Usage
```bash
bun ${CLAUDE_PLUGIN_ROOT}/scripts/pr-comments.ts <pr-url> [--role author|reviewer] [--since last-review|<date>] [--bots] [--include-resolved]
```
## Arguments
- `<pr-url>`: GitHub PR URL (e.g., `https://github.com/owner/repo/pull/123`)
- `--role`: `author` or `reviewer` (default: auto-detect based on authenticated user)
- `--since`: filter to threads with activity since `last-review` or an ISO date
- `--bots`: only review-bot threads (accounts the API types as `Bot`), plus any logins in `$CLAUDE_PLUGIN_DATA/reviewers.txt`
- `--include-resolved`: resolved threads are excluded by default. This flag includes them for follow-up-style flows that must surface silently resolved threads. Resolved threads carry a `(resolved)` tag.
## Role
- **author** (default when authenticated user is the PR author): all unresolved threads, the feedback that needs addressing.
- **reviewer** (default when authenticated user is not the PR author): only unresolved threads started by the authenticated user, to check whether comments have been resolved.
## Since
- `last-review`: threads with activity since the last relevant review.
- As author: since the most recent review by a human other than you (bot reviews excluded)
- As reviewer: since your most recent submitted review
- ISO date: explicit