PR Comments Fixer
Fix unresolved PR review comments.
Safety: NEVER rebases. Push optional + requires confirmation.
Steps
- •
Detect PR:
gh pr view --json number -q '.number'or ask user - •
Verify branch (if PR specified manually): confirm current branch matches PR's branch
- •
Fetch comments:
bashpython3 ~/.claude/skills/pr-fix-comments/scripts/pr_threads.py fetch --pr <PR>
Display as numbered list, ask "Which to fix?" (Fix all / Other)
- •
Plan fixes: Read code, understand request, create concise plan (one line each) Ask "Ready to execute?"
- •
Execute: Apply fixes, summarize
- •
Commit:
- •Message:
pr-fix-commentsorpr-fix-comments: <brief summary> - •Ask "Ready to commit?"
- •Stage + commit (no Co-Authored-By tags)
- •Message:
- •
Thread replies (show first, ask confirmation):
- •Simple fix: "Done [pr-fix-comments]"
- •With explanation: "{how it was fixed} [pr-fix-comments]"
bashpython3 ~/.claude/skills/pr-fix-comments/scripts/pr_threads.py reply --pr <PR> --comment-id <ID> --body "<msg>" python3 ~/.claude/skills/pr-fix-comments/scripts/pr_threads.py resolve --thread-id <ID>
- •
Push (optional): Ask first, then
gt ss --update-only