Attach Review To Pr
Attach line-specific review comments to GitHub pull requests via the MCP tool or gh api fallback.
- CCM score
- 54 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 1.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single inline comments via the
/commentsendpoint and batched multi-file reviews via the/reviewsendpoint - Includes parameter tables for
line,side,commit_id, andstart_line, plus-fversus-Fflag rules - Explains that
gh pr reviewcannot place line-specific comments, so the REST API must be called directly - Documents the "one pending review per pull request" 422 error and its fallback to the single-comment endpoint
Install
$ npx -y skills add neolabhq/context-engineering-kit --skill attach-review-to-pr -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
How to Attach Line-Specific Review Comments to Pull Requests
This guide explains how to add line-specific review comments to pull requests using the GitHub CLI (gh) API or mcp__github_inline_comment__create_inline_comment if it not available, similar to how the GitHub UI allows commenting on specific lines of code.
Preferred Approach: Using MCP GitHub Tools
If available, use the mcp__github_inline_comment__create_inline_comment MCP tool for posting line-specific inline comments on pull requests. This approach provides better integration with GitHub's UI and is the recommended method.
Fallback: If the MCP tool is not available, use the GitHub CLI (gh) API methods described below:
- For single comments: Use the
/commentsendpoint (see Adding a Single Line-Specific Comment) - For multiple comments: Use the
/reviewsendpoint (see Adding Multiple Line-Specific Comments Together)
Overview
Details
- Repository
- github.com/neolabhq/context-engineering-kit
- Categories
- Git & Releases, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the attach-review-to-pr skill do?
It adds line-specific review comments to pull requests using the GitHub CLI API, similar to commenting on specific lines in the GitHub UI. It uses gh api calls for single comments or multi-comment reviews.
What do I need before using attach-review-to-pr?
You need the GitHub CLI installed and authenticated, plus access to the repository and pull request you want to review. The skill can also use an inline comment MCP tool if one is available.
How do I install the attach-review-to-pr skill?
Run npx -y skills add neolabhq/context-engineering-kit --skill attach-review-to-pr -y in a project. Then the agent can post line-specific comments on pull requests.
Where does attach-review-to-pr rank in its category?
It sits in the Git & Releases category on Claude Marketplaces, alongside skills such as triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It covers posting precise line comments that the plain gh pr review command cannot add.
More from neolabhq/context-engineering-kit
All 62- Git Notes1.2K
- Propose Hypotheses1.2K
- Setup Arxiv Mcp1.2K
- Load Issues1.2K
- Create Workflow Command1.2K
- Query1.2K
- Status1.2K
- Reset1.2K
- Setup Context7 Mcp1.2K
- Prompt Engineering1.6K
- Context Engineering1.5K
- Thought Based Reasoning1.5K
- Reflect1.5K
- Write Concisely1.4K
- Multi Agent Patterns1.4K
- Kaizen1.4K
- Critique1.4K
- Judge With Debate1.4K
- Memorize1.4K
- Update Docs1.4K
- Root Cause Tracing1.4K
- Brainstorm1.4K
- Agent Evaluation1.4K
- Subagent Driven Development1.4K
Similar to Attach Review To Pr
More Git & Releasesreview-prneolabhq/context-engineering-kit1.3K installsAutomated code review of an opened GitHub pull request that posts inline comments on its diff, with impact and confidence scoring.
address-github-commentssickn33/agentic-awesome-skills705 installsSystematic workflow for triaging and fixing open GitHub PR review comments using the gh CLI.
respond-to-pr-comments-in-blocklistwarpdotdev/common-skills26.1K installsInteractive walkthrough of PR review comments that applies fixes and previews GitHub replies before posting.
github-pr-reviewfvadicamo/dev-agent-skills582 installsStructured workflow for fetching, classifying, and resolving GitHub PR review comments with user-confirmed fixes and thread replies.
create-prneolabhq/context-engineering-kit1.3K installsGuided pull request creation with GitHub CLI that enforces the project's template, emoji titles, and English-only content.