tackle-gh-comments
Installation
SKILL.md
Tackle GitHub PR comments
Review threads and their resolved state live only in GraphQL. The REST API
cannot read isResolved and cannot resolve a thread, and gh pr view --comments
shows issue comments while hiding inline review threads entirely. So this skill
drives everything through GraphQL via scripts/gh-pr-comments.ts, authenticated
with gh auth token.
The loop
- Fetch —
listthe unresolved threads. - Verify each claim before acting on it. Bot reviewers are often right and sometimes confidently wrong. Read the code the comment points at.
- Fix what is real, in a commit separate from the original work so the reviewer can see what changed in response.
- Reply to every thread, including ones you are declining.
- Resolve each thread.
- Verify nothing is left open, then push.