Automates the process of fetching and resolving comments on GitHub PRs using the official CLI.
Install
mkdir -p .claude/skills/gh-address-comments && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/599" && unzip -o skill.zip -d .claude/skills/gh-address-comments && rm skill.zipInstalls to .claude/skills/gh-address-comments
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.Key capabilities
- →Fetch open PR comments and review threads
- →Present review feedback with summaries
- →Facilitate applying fixes to the current branch
- →Manage GitHub CLI authentication
How it works
The skill uses the GitHub CLI to fetch PR data, prompts the user to select specific comments to address, and guides the application of fixes.
Inputs & outputs
When to use gh-address-comments
- →Addressing pull request feedback
- →Reviewing code comments
- →Updating PRs based on reviews
About this skill
PR Comment Handler
Guide to find the open PR for the current branch and address its comments with gh CLI. Run all gh commands with elevated network access.
Prereq: ensure gh is authenticated (for example, run gh auth login once), then run gh auth status with escalated permissions (include workflow/repo scopes) so gh commands succeed. If sandboxing blocks gh auth status, rerun it with sandbox_permissions=require_escalated.
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.
When not to use it
- →Merging pull requests
- →Managing issues outside of the current PR
Prerequisites
Limitations
- →Requires active GitHub CLI authentication
- →Limited to the current branch's open PR
How it compares
It provides a systematic way to track and resolve review feedback directly from the terminal, rather than manually navigating the GitHub web interface.
Compared to similar skills
gh-address-comments side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| gh-address-comments (this skill) | 10 | 6mo | Review | Intermediate |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| git-commits | 21 | 4mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by openai
View all by openai →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
github-multi-repo
ruvnet
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
git-workflow-enforcer
CrazyDubya
Ensures commits follow conventional commits, branch naming conventions, and PR templates. Use when creating commits, branches, or PRs, or when user mentions git workflow.