add-review-comment
Installation
SKILL.md
Add Review Comment
Posts one inline review comment to a specific line in a GitHub pull request
using the GitHub REST API via the gh CLI.
When to Use
- You have a single finding and want to anchor a comment to the exact line.
- You need a multi-line comment spanning a range of changed lines.
- You want to attach a one-click
suggestionblock to a PR line.
For reviewing a whole PR and emitting a full set of comments, use the
pr-review skill instead.
Step 1: Locate the line to comment on
Invoke the fetch-diff skill to fetch the PR diff with
line numbers, then identify the path, line, and side to anchor to: