Skip to content
Skillpedia
General coding48k · #2033

address-github-comments

Helps your agent respond to comments on a GitHub Pull Request. It uses the gh CLI tool to interact with the code.

What it does

This tool helps you respond to comments and suggestions on a GitHub project. It organizes reviews and ensures everything is fixed before you send your replies.

When to use it

  • ✓When you have a GitHub project with review comments.
  • ✓When you need to organize and reply to suggestions on a project.
  • ✓When you want to ensure all fixes are made before replying.

Example of what to ask your AI

“Please address the review comments on my GitHub project.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/address-github-comments/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/address-github-comments/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool first fetches all comments and suggestions from your project. Then, it helps you plan the fixes, apply the changes to the code, and finally, send the replies with evidence of the fixes.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill address-github-comments

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/address-github-comments/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

--comments shows conversation comments; it does not enumerate every inline review thread. Use the available GitHub connector or the GraphQL pullRequest.reviewThreads connection with pagination to inspect inline comments, file/line anchors, and resolution state. Record the repository, PR number, current head SHA, thread IDs, and requested changes.

2. Categorize and Plan

  • List the comments and review threads.
  • Propose a fix for each.
  • Address feedback already covered by the user's requested scope. Ask only when feedback conflicts, expands scope, or requires a consequential choice.

3. Apply Fixes

Read the surrounding implementation, preserve unrelated edits, and apply the changes for the selected comments. Run the relevant repository checks and bind the result to the updated head before reporting a fix.

4. Respond to Comments

When the user authorizes posting replies, respond with the commit and verification evidence. A conversation comment does not resolve an inline review thread. Resolve the specific thread through the supported GitHub API only after its request is actually addressed and resolution is authorized; otherwise leave a proposed reply for the user.

gh pr comment <PR_NUMBER> --body "Addressed in <commit SHA>; verified with <check and result>."

Common Mistakes

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

When to Use

Use when an existing PR has review threads or issue comments that require a scoped code repair and an evidence-backed response.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
FAQ

Do I need to install anything?

Yes, you need to have the 'gh CLI' tool installed and authenticated with GitHub.

What is 'gh CLI'?

'gh CLI' is a command-line tool to interact with GitHub directly from your terminal.

Will the tool reply for me automatically?

No, it organizes and prepares the replies, but you authorize the final submission.

Details

Original description by the author

Use when you need to address review or issue comments on an open GitHub Pull Request using the gh CLI.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2033
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills