Gh Address Comments
OpenAIOfficialPublished by OpenAI
- Skill
- Workflow
- Software development
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The gh-address-comments skill provides a structured process for managing feedback on GitHub pull requests. It leverages the GitHub CLI to fetch open PR comments, presents them to the user for prioritization, and assists in applying the necessary code changes to address the feedback.
What it does
- Verifies GitHub CLI authentication status before execution
- Fetches and lists all open review threads and comments for the current branch
- Summarizes required actions for each identified comment
- Prompts the user to select specific comments for resolution
- Guides the user through applying fixes to the codebase
When to use it
- When you have an open pull request with multiple review comments
- When you need a systematic way to track and resolve feedback on your code
- When you want to ensure all PR review threads are addressed before merging
Advantages
- Streamlines the PR review resolution process
- Integrates directly with the GitHub CLI for efficient data retrieval
- Helps maintain focus by prioritizing specific review threads
Usage examples
- “Address the comments on my current PR.”
- The agent will authenticate with GitHub, fetch all pending comments for the current branch, and present a numbered list for you to select which ones to resolve.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/openai/gh-address-comments/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip gh-address-comments.zip -d .agents/skills
Documentation by OpenAI
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.
Files
- ATTRIBUTION.mdAdded by AutoGineer902 B
- LICENSE.txt11.1 KiB
- SKILL.md1.2 KiB
- agents/openai.yaml303 B
- assets/github-small.svg853 B
- assets/github.png1.8 KiB
- scripts/fetch_comments.pyScript6.4 KiB
Requirements and compatibility
Written for: OpenAI Codex
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Python
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- OpenAI
- Publisher
- OpenAI (Official)
- Source
- openai/skills · skills/.curated/gh-address-comments · commit 49f948f
- Licence
- Apache License 2.0 (redistribution allowed)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by OpenAI.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download gh-address-comments.zip