Address GitHub Comments

SkillAI & models

address-github-comments is an agent skill for working through review and issue comments on an open GitHub Pull Request. It guides the agent to fetch the comments with the gh CLI, propose fixes for each piece of feedback, apply the chosen code changes, and reply that they were addressed. When there are many comments, it asks which ones to tackle first.

Available today. Use it from your connected AI after setup.

Have the GitHub CLI (gh) installed and authenticated; run gh auth status to check, and gh auth login if needed.

Then ask your AI: use the Address GitHub Comments skill

What your AI can do with it

  • Fetch PR review comments and issue feedback using gh pr view --comments
  • List comments and review threads, then propose a fix for each
  • Wait for user confirmation on which comments to address first
  • Apply code changes for the selected comments
  • Reply on the PR that feedback was addressed, e.g. via gh pr comment
  • Check gh authentication status before starting work

Getting started

  1. Have the GitHub CLI (gh) installed and authenticated; run gh auth status to check, and gh auth login if needed.
  2. Add the address-github-comments skill to your agent so it can be triggered when PR feedback needs addressing.
  3. Open the branch with the pull request you want to work on.
  4. Ask the agent to address the review or issue comments; confirm which comments it should tackle first if there are many.

What this skill tells your AI

The instructions your AI receives, as published by davila7/claude-code-templates in cli-tool/components/skills/productivity/address-github-comments/SKILL.md and read by ahel’s review.

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.

Signals

GitHub stars
32k
Forks
4k
Last commit
Sep 2026

ahel review

  • S4info
    community integration, published by davila7, not github

Automated review, not a security audit. Ruleset v1+k2.

Questions

What does this skill need installed?
The GitHub CLI (gh). It must be authenticated, which you can verify with gh auth status and set up with gh auth login.
When should the skill be used?
When you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.
Does it apply fixes automatically?
It proposes a fix for each comment and waits for user confirmation on which comments to address first when there are many, then applies the code changes for the selected ones.
Advanced
Item type
skill
Key
address-github-comments-davila7
Source
github.com/davila7/claude-code-templates