fix-review
Installation
SKILL.md
Work every open comment on a GitHub PR to a conclusion: a fix pushed to the PR branch, an answer, or a reasoned push-back — each closed out with a reply. This skill never marks a thread resolved; the reply with a commit link gives the reviewer everything they need, and closing the thread is their acknowledgment to give, not yours.
GitHub only, via the gh CLI. The natural sibling of /code-review: one produces review findings, this one consumes a review's comments.
Process
1. Locate the PR
- No argument — infer from the current branch:
gh pr view --json number,state,headRefName,url. If the branch has no PR, stop and say so. - Argument (PR number or URL) — verify the working tree is clean (
git status --porcelain); if it isn't, stop — never switch branches over uncommitted work. Then announce the switch andgh pr checkout <number>.
Either way, abort cleanly if the PR is closed or merged — there is nothing to fix.
2. Gather every comment
Four surfaces, humans and bots alike:
- Inline review threads — fetch via GraphQL so each thread carries
isResolvedandisOutdated: