Skip to content
davila7 avatar

Address Github Comments

Workflow for addressing review and issue comments on an open GitHub pull request via gh.

CCM score
63 of 100
skills.sh installs
205
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the flow: verify gh auth, fetch PR comments, categorize and plan fixes, apply changes, and reply to threads
  • Includes gh auth status and gh auth login checks, plus gh pr view --comments and gh pr comment commands
  • Requires confirming with the user which comments to address first when there are many
  • Designed for developers responding to review feedback on the current branch's open pull request

Install

$ npx -y skills add davila7/claude-code-templates --skill address-github-comments -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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.

Details

Repository
github.com/davila7/claude-code-templates
Categories
Git & Releases, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the address-github-comments skill do?

address-github-comments helps an agent work through review or issue comments on an open GitHub Pull Request using the gh CLI. It fetches the comments for the current branch's PR, proposes a fix for each, applies the approved changes, and then replies to the threads.

How do I install the address-github-comments skill?

Run npx -y skills add davila7/claude-code-templates --skill address-github-comments -y in a project to install it. Once installed, address-github-comments lets the agent read PR feedback and respond to it without you copying comments by hand.

What does address-github-comments need before it runs?

address-github-comments needs the gh CLI installed and authenticated, which you can check with gh auth status. If you are not logged in, address-github-comments expects you to run gh auth login first.

Where does address-github-comments sit in the Git & Releases category?

address-github-comments is in the Git & Releases category on Claude Marketplaces, next to triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. Its own focus is on handling feedback that reviewers have already left on an open pull request.

More from davila7/claude-code-templates

All 398

Similar to Address Github Comments

More Git & Releases