git-attach-review-to-pr

Add line-specific review comments to GitHub pull requests via the GitHub CLI API.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Gamezar/opencode-cek --skill git-attach-review-to-pr-gamezar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-attach-review-to-pr
Source: https://github.com/Gamezar/opencode-cek/tree/main/plugins/git/skills/git-attach-review-to-pr
Command: npx skills add https://github.com/Gamezar/opencode-cek --skill git-attach-review-to-pr-gamezar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of adding detailed, line-specific comments to GitHub pull requests, streamlining the code review process.

Core Features & Use Cases

  • Line-Specific Comments: Attach review comments directly to specific lines of code within a pull request.
  • Batch Commenting: Submit multiple comments as a single review for a cleaner notification experience.
  • Use Case: During a code review, you identify an issue on line 42 of src/components/LessonNavigationButtons.tsx. You can use this Skill to add a comment directly to that line, referencing the specific commit, without manually navigating the GitHub UI.

Quick Start

Use the git-attach-review-to-pr skill to add a comment to line 26 of the file src/components/LessonNavigationButtons.tsx in pull request 4.

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 line-specific review comments to a GitHub pull request?

To add line-specific review comments to a GitHub pull request, you can use this Skill to attach feedback directly to specific lines of code via the GitHub CLI API. It targets exact file paths and line numbers within the PR changes.

Can I submit multiple code review comments as a single batch on GitHub?

Yes, you can submit multiple code review comments as a single batch on GitHub. This Skill supports batch commenting by grouping multiple line-specific annotations into one review event for a cleaner notification experience.

Does adding pull request comments via GitHub CLI require navigating the web UI?

Adding pull request comments via the GitHub CLI API does not require navigating the GitHub web UI. This Skill automates the process entirely from the command line, allowing you to reference specific commits and line numbers programmatically.

What is the best way to automate code review feedback on GitHub pull requests?

The best way to automate code review feedback on GitHub pull requests is using a Skill that leverages the GitHub CLI API to programmatically attach line-specific comments. This streamlines the review process without manual UI interaction.

What do I need to configure before attaching automated review comments to a PR?

Before attaching automated review comments to a PR, you need the GitHub CLI configured and the target pull request details, including the file path, specific line number, and commit reference. No additional dependencies are required.