PR Review Skill
- •Fetch all open review comments:
gh api repos/{owner}/{repo}/pulls/{pr}/comments - •Group comments by severity (CRITICAL, HIGH, MEDIUM, LOW)
- •Fix CRITICAL and HIGH issues first, one commit per logical fix
- •Reply to each resolved comment using
gh api repos/{owner}/{repo}/pulls/{pr}/comments -f body="Fixed: <description>" -F in_reply_to=<comment_id> - •Run full test suite after all fixes
- •Push and summarize remaining unresolved items
IMPORTANT: Use in_reply_to parameter for reply threading. Do NOT use issues/comments endpoint.