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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
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.
Popularity
- GitHub stars
- 7.1k
- Ranking position
- #13526
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
component-common-domain-detection
7.1kHelps your agent find business logic that is repeated across several parts of a codebase and suggests how to combine it.
component-flattening-analysis
7.1kHelps your agent find misplaced code and flatten messy component folder structures, so each piece sits where it belongs.
component-identification-sizing
7.1kHelps your agent map the parts of a codebase and measure their size, to find which module to split first.
coupling-analysis
7.1kHelps your agent check how tightly parts of a codebase depend on each other, and which connections to loosen first.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.