review-response

Fetches GitHub PR review comments and addresses them with fixes and linked commit replies.

5|Updated Jul 8, 2019
One-click install
npx skills add https://github.com/rinchsan/dotfiles --skill review-response-rinchsan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-response
Source: https://github.com/rinchsan/dotfiles/tree/main/.claude/skills/review-response
Command: npx skills add https://github.com/rinchsan/dotfiles --skill review-response-rinchsan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Responding to pull request review feedback requires manually reading scattered inline and general comments, making fixes, and linking commits back to reviewers. This Skill automates that loop so no comment is missed and every fix is traceable. ## Core Features & Use Cases - Comment Retrieval: Fetches both general PR comments via gh pr view and inline review comments via the GitHub API. - Guided Fix Workflow: Analyzes each comment, proposes an approach, makes code edits, and commits per fix after user confirmation. - Traceable Replies: Builds a commit link in the format https://github.com/{owner}/{repo}/pull/{PR}/changes/{commit_hash} and includes it in the reply to each review comment. - Use Case: A reviewer leaves five inline comments on your PR. Ask the Skill to address the feedback, and it walks through each comment, applies the agreed fixes, commits them individually, and replies with commit links. ## Quick Start Check the review comments on my current PR and help me address each one with fixes and replies.

Frequently Asked Questions about review-response

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

FAQPage Schema
How do I reply to GitHub PR review comments with a commit link?

Fetch inline comments via the GitHub API, apply each fix, commit it, then reply to the comment including a link in the format https://github.com/{owner}/{repo}/pull/{PR}/changes/{commit_hash}. This Skill automates that entire loop.

How to fetch inline review comments on a pull request?

Use gh api repos/{owner}/{repo}/pulls/{PR number}/comments to retrieve inline review comments. General PR comments are fetched separately with gh pr view {PR number} --comments.

Does this work without specifying a PR number?

Yes. If no PR number is given, it runs gh pr view --json number to detect the PR for the current branch. If a number is provided, it must be a positive integer.

Can it commit and push fixes automatically?

It commits per fix and pushes only after confirming with the user. Each commit hash is captured with git rev-parse HEAD and linked in the reply to the corresponding review comment.

What tools are required to respond to PR feedback with this workflow?

The GitHub CLI (gh) is required for fetching comments and posting replies, and git is required for committing and pushing. The Skill restricts itself to gh, git commit, git push, and file editing operations.