with one click
add-review-comment
Add a review comment to a GitHub pull request.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add a review comment to a GitHub pull request.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | add-review-comment |
| description | Add a review comment to a GitHub pull request. |
| allowed-tools | ["Bash(gh api:*)","Bash(gh pr view:*)","Bash(uv run --package skills skills fetch-diff:*)"] |
Adds a review comment to a specific line in a GitHub pull request.
Use the fetch-diff skill (optionally piped through grep) to locate the line to comment on.
Single-line comment:
gh api repos/<owner>/<repo>/pulls/<pr_number>/comments \
# Body must end with "🤖 Generated with Claude" on a separate line
-f body=<comment> \
-f path=<file_path> \
-F line=<line_number> \
-f side=<side> \
-f commit_id="$(gh pr view <pr_number> --repo <owner>/<repo> --json headRefOid -q .headRefOid)" \
--jq '.html_url'
Multi-line comment:
gh api repos/<owner>/<repo>/pulls/<pr_number>/comments \
# Body must end with "🤖 Generated with Claude" on a separate line
-f body=<comment> \
-f path=<file_path> \
-F start_line=<first_line> \
-f start_side=<side> \
-F line=<last_line> \
-f side=<side> \
-f commit_id="$(gh pr view <pr_number> --repo <owner>/<repo> --json headRefOid -q .headRefOid)" \
--jq '.html_url'
line: Line number in the file (for multi-line, the last line)side: RIGHT for added/modified lines (+), LEFT for deleted lines (-)start_line/start_side: For multi-line comments, the first line of the rangeUse suggestion blocks (three backticks + "suggestion") for simple fixes that maintainers can apply with one click
```suggestion
<suggested code here>
```
Note: Preserve original indentation exactly in suggestion blocks
For repetitive issues, leave one representative comment instead of flagging every instance
For bugs, explain the potential problem and suggested fix clearly
Review a GitHub pull request and emit a validated local review payload (comments + approval decision)
Analyze failed GitHub Action jobs for a pull request.
Configure MLflow tracing for Claude Code.
Show the current MLflow tracing configuration for Claude Code.
Fetch PR diff with filtering and line numbers for code review.
Hand off a task to GitHub Copilot.