Skip to content
Skillpedia
Deploy & cloud (DevOps)7.1k · #13526

gh-address-comments

What it does

This skill lets the AI find the open pull request for your current branch, list its review comments, and fix the ones you select. It is for developers who want help responding to code review feedback on GitHub.

When to use it

  • ✓When reviewers have left comments on your open pull request.
  • ✓When you want the AI to fix the review feedback you select.
  • ✓When a comment needs a reply and changes on a GitHub pull request.

Skill link

https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/gh-address-comments/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/gh-address-comments/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Look at the review comments on my open pull request and list them so I can choose which to fix.”

5 new skills a week. 1 minute to read.

How it works

The AI checks GitHub sign-in, fetches the comments and review threads, numbers them with a short summary, and applies fixes for the ones you pick.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

PR Comment Handler

Guide to find the open PR for the current branch and address its comments with gh CLI.

Prerequisites: Ensure gh is authenticated before running commands. Check authentication status with gh auth status. If not authenticated, instruct the user to run gh auth login to authenticate with GitHub.

1) Inspect comments needing attention

  • Run scripts/fetch_comments.py which will print out all the comments and review threads on the PR

2) Ask the user for clarification

  • Number all the review threads and comments and provide a short summary of what would be required to apply a fix for it
  • Ask the user which numbered comments should be addressed

3) If user chooses comments

  • Apply fixes for the selected comments

Notes:

  • If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.
FAQ

What if I am not signed in to GitHub?

The skill asks you to sign in with the GitHub command-line tool first.

Does it decide which comments to fix?

No. It lists them and asks which numbered comments you want addressed.

Is it for failed CI builds?

No. Failed builds are handled by a separate skill.

Details

Original description by the author

Address review and issue comments on the open GitHub PR for the current branch using gh CLI. Use when user says "address PR comments", "fix review feedback", "respond to PR review", or "handle PR comments". Verifies gh auth first and prompts to authenticate if not logged in. Do NOT use for creating PRs, CI debugging (use gh-fix-ci), or general Git operations.

repo: tech-leads-club/agent-skills

Popularity

GitHub stars
7.1k
Ranking position
#13526
License
—
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills