respond-to-comments
Installation
SKILL.md
Respond to PR comments
Answer every review comment on a PR that has not been answered yet. One comment at a time: investigate, decide, fix if accepted, reply.
1. Resolve the target
PR="${1:-$(gh pr view --json number -q .number)}"
REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
ME=$(gh api user -q .login)
If gh pr view finds no PR for the current branch, stop and say so.
2. Collect comments
Three sources, all of them: