git:attach-review-to-pr

Attach line-specific review comments to pull requests via GitHub CLI.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/luicabref97/sushi-jungle-web --skill git-attach-review-to-pr-luicabref97
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git:attach-review-to-pr
Source: https://github.com/luicabref97/sushi-jungle-web/tree/main/.agents/skills/git-attach-review-to-pr
Command: npx skills add https://github.com/luicabref97/sushi-jungle-web --skill git-attach-review-to-pr-luicabref97

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pull request reviews often require precise comments tied to exact lines; this skill enables attaching line-specific feedback directly via GitHub CLI or the MCP tool.

Core Features & Use Cases

  • Line-specific comments via gh api and optional MCP tool for inline reviews.
  • Fallback to gh pr review or general comments when inline tooling isn't available.
  • Supports single-file comments and multi-file, multi-line review workflows across PRs.

Quick Start

Authenticate with GitHub CLI, identify the target PR, then attach an inline comment to a specific file and line.

Frequently Asked Questions about git:attach-review-to-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add inline review comments to a specific line in a pull request?

To add inline review comments to a pull request, use the GitHub CLI API or MCP inline comment tool to submit line-specific feedback with the correct commit_id, path, line, and side parameters.

What's the best way to submit multiple line-specific PR comments across different files?

The best way to submit multiple line-specific PR comments across files is using the GitHub CLI reviews endpoint, which allows batch submission of inline comments with proper commit_id, path, line, and side parameters.

Can I use GitHub CLI to attach code review feedback if the MCP inline tool isn't available?

Yes, you can use GitHub CLI to attach code review feedback by falling back to the gh pr review command or general PR comments when the MCP inline comment tool is not available.

Do I need GitHub CLI installed and authenticated to attach line-specific PR reviews?

Yes, you need the GitHub CLI installed and authenticated, and you must have access to the target repository and pull request to attach line-specific review comments.

When should I use the single-comment endpoint versus the reviews endpoint for PR comments?

Use the single-comment endpoint for individual line-specific PR comments, and use the reviews endpoint when you need to submit multiple line-specific comments across files in one review.