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.
/plugin marketplace add hvent90/hv-skills/plugin install fetch-pr-comments@hv-skillsThis skill is limited to using the following tools:
scripts/fetch-pr-comments.shFetches unresolved review threads and pending reviews from the current branch's pull request.
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
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"
}
]
}
gh) must be installed and authenticatedUse when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.