gh-address-commentslisted
Install: claude install-skill ulises-jeremias/agent-toolkit
# Address GitHub PR Comments
Find the open PR for the current branch and walk through its review/conversation
comments using `gh`. Pair with [`github-cli-workflow`](../github-cli-workflow/SKILL.md)
when you also need to push changes or update the PR description.
## When to use
- The current branch has an open PR and reviewers left comments.
- The user asks to "address comments", "resolve review threads", or "respond to PR feedback".
- You need a summarized view of inline comments + reviews + conversation threads in one call.
## Prerequisites
- `gh` (GitHub CLI) installed and on `PATH` (covered by `bootstrap`).
- `gh auth status` exits 0. If not, ask the user to run `gh auth login` once
(workflow + repo scopes recommended).
- `python3` (used by the bundled inspection script).
`doctor` already reports `gh auth status` under "Integrations" — confirm it
is green before invoking this skill.
## Workflow
1. **Verify auth.** Run `gh auth status`. If it fails, stop and ask the user to
re-authenticate.
2. **Resolve the PR.** Use `gh pr view --json number,url,title` to confirm a PR
is associated with the current branch. If none, surface that and stop.
3. **Fetch all threads in one pass.** Run the bundled script:
```bash
python3 ~/.local/share/agent-toolkit/skills/gh-address-comments/scripts/fetch_comments.py \
> /tmp/pr-comments.json
```
The script paginates conversation comments, review submissions, and inline
review threads (including resolved/out