Integrations

gh-address-comments

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

Access LinkedIn profiles, posts, media uploads, public libraries, and advertising APIs through managed OAuth.

410 installs45 stars

Access and manage GitHub resources through the REST API with managed OAuth connections.

595 installs47 stars

Read and manage Outlook mail, folders, calendars, and contacts through Microsoft Graph.

771 installs46 stars

Query and manage Linear work items through GraphQL with managed OAuth authentication.

517 installs18 stars

Query and manage Salesforce sObjects through REST APIs with managed OAuth and explicit write approvals.

704 installs8 stars

Manage Asana tasks, projects, users, workspaces, and webhooks through managed OAuth APIs.

601 installs6 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 OpenAI24.8k stars

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

by OpenAI24.8k stars

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

by OpenAI24.8k stars

figma-use

Official

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

by OpenAI24.8k stars

hatch-pet

Official

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

by OpenAI24.8k stars

imagegen

Official

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

by OpenAI24.8k stars