mcpField
A
address-github-comments

address-github-comments

github.com/davila7Development33.0k205 installsUpdated today
Repository

About address-github-comments

address-github-comments is a skill for systematically handling pull request review comments and issue feedback with the GitHub CLI. It guides developers through reviewing, prioritizing, fixing, and responding to feedback.

Key features

  1. 01Fetch comments on the current branch's PR
  2. 02Categorize feedback and plan fixes
  3. 03Wait for confirmation when comments are numerous
  4. 04Apply selected changes and respond to threads

Use cases

  1. 01Reviewing feedback on a pull request
  2. 02Prioritizing many review threads
  3. 03Confirming fixes with commenters

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/davila7/claude-code-templates --skill address-github-comments

After installing, type/address-github-commentsin Claude Code to confirm it loaded.

Details

From the project README

Address GitHub Comments

Overview

Efficiently address PR review comments or issue feedback using the GitHub CLI (gh). This skill ensures all feedback is addressed systematically.

Prerequisites

Ensure gh is authenticated.

gh auth status

If not logged in, run gh auth login.

Workflow

1. Inspect Comments

Fetch the comments for the current branch's PR.

gh pr view --comments

Or use a custom script if available to list threads.

2. Categorize and Plan
  • List the comments and review threads.
  • Propose a fix for each.
  • Wait for user confirmation on which comments to address first if there are many.
3. Apply Fixes

Apply the code changes for the selected comments.

4. Respond to Comments

Once fixed, respond to the threads as resolved.

gh pr comment <PR_NUMBER> --body "Addressed in latest commit."

Common Mistakes

  • Applying fixes without understanding context: Always read the surrounding code of a comment.
  • Not verifying auth: Check gh auth status before starting.

Comments

Markdown supported