post-pr-review
Installation
SKILL.md
1. Trigger Conditions
Invoke this skill when:
- The
code-reviewerskill has finished producing feedback and the user asks to post it to GitHub - A user asks to "post the review to the PR" or "leave comments on the PR"
- Inline review comments need to be submitted to a specific PR number
2. Prerequisites
- GitHub CLI (
gh) installed and authenticated — verify withgh auth status - PR number known (ask the user if not provided)
- Review feedback produced by
code-reviewerskill (with file paths and line numbers) - Line numbers in the feedback must be within the PR diff (GitHub rejects comments on unchanged lines)
3. Steps
Step 1: Retrieve the Latest Commit ID
GitHub inline comments require the commit SHA, not just the PR number: