Integrations

gh-address-comments

Try it

Review the current branch’s PR comments and apply fixes only to the items you select.

What it does

Find the open GitHub pull request for the current branch, then list its comments and review threads with `scripts/fetch_comments.py`. The workflow verifies `gh` authentication with repo/workflow scopes, numbers and summarizes items needing attention, asks which ones to address, and applies fixes only to the selected comments.

When to use it

  • Triaging review threads on the current branch
  • Selecting PR feedback to implement
  • Applying fixes for chosen review comments
  • Recovering from GitHub CLI authentication issues

The skill document

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.

Questions people ask

How does it find comments that need attention?
It locates the open PR for the current branch and runs `scripts/fetch_comments.py` to print all comments and review threads.
Will it change code for every PR comment automatically?
No. It numbers and summarizes the comments, asks which numbered items to address, and applies fixes only for the selected items.
What happens if GitHub CLI authentication fails?
It checks `gh auth status` with elevated permissions and repo/workflow scopes. If authentication or rate issues occur, it prompts you to run `gh auth login` and then retries.

Related skills

Create and validate Slack-ready animated GIFs with PIL-based drawing, motion helpers, and size optimization.

by Anthropic180.3k stars

Create or update Codex skills with concise instructions, reusable resources, metadata, and validation.

by OpenAI28.0k stars

yeet

Official

Stage, commit, check, push, and open or update a GitHub PR in one explicit flow.

by OpenAI28.0k stars

Migrate selected Claude Code instructions, skills, hooks, agents, MCP servers, and config into validated Codex files.

by OpenAI28.0k stars

Escape the scarcity trap — diagnose bandwidth consumption and design protected slack to restore strategic capacity.

by deciqai1 installs2 stars

linear

Official

Read and manage Linear issues, projects, labels, comments, documents, cycles, and team workflows.

by OpenAI28.0k stars

More from OpenAI

Browse all skills

chatgpt-apps

Official

Plan, scaffold, refactor, and validate ChatGPT Apps SDK projects with an MCP server and widget UI.

by OpenAI28.0k stars

Build or update full-page Figma screens with linked design-system components, variables, and styles.

by OpenAI28.0k stars

Builds a code-aligned Figma design system through phased creation, validation, and user approval.

by OpenAI28.0k stars

figma-use

Official

Runs Figma Plugin API scripts with the required call parameters, API rules, IDs, and validation workflow.

by OpenAI28.0k stars

hatch-pet

Official

Create and validate a Codex-compatible animated pet atlas from concepts, brand cues, or reference art.

by OpenAI28.0k stars

imagegen

Official

Generate or edit raster assets, validate the result, and place selected files into the project workspace.

by OpenAI28.0k stars