gh-reply-review-comment

Replies to GitHub PR inline review comments via the comment replies API.

18|5|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/mvillmow/ml-odyssey --skill gh-reply-review-comment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-reply-review-comment
Source: https://github.com/mvillmow/ml-odyssey/tree/main/.claude/skills/gh-reply-review-comment
Command: npx skills add https://github.com/mvillmow/ml-odyssey --skill gh-reply-review-comment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve? This Skill ensures developers reply to GitHub PR review comments correctly using the API (not gh pr comment), preventing miscommunication and streamlining the review resolution process. It automates accurate responses, saving time and reducing complexity.

Core Features & Use Cases:

  • Correct API Usage: Guides on using the GitHub API to reply directly to inline review comments, ensuring responses are threaded correctly.
  • Concise Reply Format: Encourages short, clear, and actionable responses, improving communication efficiency.
  • Use Case: A reviewer left an inline comment on your PR. Use this skill to fetch the comment ID and then post a concise "✅ Fixed" reply directly to that comment thread, ensuring the reviewer sees your response in context and speeding up resolution.

Quick Start: Use the gh-reply-review-comment skill to reply to comment ID 123456 on pull request 42 with the text "✅ Fixed - updated the code as requested".

Frequently Asked Questions about gh-reply-review-comment

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

FAQPage Schema
How do I reply to inline GitHub PR review comments using the API?

Reply to inline PR review comments by fetching the comment ID via GitHub API, then posting a threaded reply using the comment replies endpoint. This ensures your response appears in context with the original feedback, not as a separate PR comment.

What's the difference between replying to a PR review comment and commenting on a PR?

Review comment replies thread directly under the original inline feedback, keeping discussions organized by code location. PR comments appear at the top level. Use review comment replies to address specific code review feedback from reviewers.

How do I automate responses to code review feedback on GitHub?

Automate review comment replies by scripting the GitHub API to fetch review comment IDs and post concise, structured replies. This saves time on repetitive acknowledgments and keeps reviewers updated on fixes without manual PR comments.

Can I use gh CLI to reply directly to inline review comments?

The gh CLI's standard `gh pr comment` command posts top-level PR comments, not replies to inline review feedback. Use the GitHub API endpoint for review comment replies to thread responses correctly under specific code review comments.

Why should I reply to review comments separately instead of in commit messages?

Replying via the GitHub API keeps communication visible in the PR timeline and notifies reviewers immediately. Commit messages are not indexed in PR discussions, so reviewers may miss context about fixes or progress updates.

Do I need to know the comment ID to reply to a PR review comment?

Yes, you must fetch the review comment ID from the GitHub API before posting a reply. The comment ID links your response to the specific inline feedback, ensuring it threads correctly in the review thread.