DuoMDuoM
DuoM: MCP servers, skills and rules for your agent, checked before installContact: studo.doum@gmail.comDocsFor makersReportTermsPrivacy
MCPSkillsStacksRulesDocs
Sign in

Gh Address CommentsSkill

@49f948f
by openaiRepository ↗ReportSkill folder ↗

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.

Original work byopenaiingithub.com/openai/skills ↗· Apache-2.0. DuoM only lists and checks it; installs copy the license with it.
Developer toolsLicense: Apache-2.0Repo ★ 29,3226 filesUpdated 5 months agoskill/openai/skills/gh-address-comments

Install

Run in your project folder (DuoM CLI: risk check, then write; undo with npx duom@1 undo)
npx duom@1 add skill/openai/skills/gh-address-comments --client claude-code

Writes to .claude/skills/gh-address-comments/ in your project (where Claude Code reads it). Add --global to install it for every project (~/.claude/skills). The license file comes with it.

Manual: copy the folder from GitHub (pinned commit) into .claude/skills/gh-address-comments/, with the repository's LICENSE.

SKILL.md

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 (6)
  • LICENSE.txt
  • SKILL.md
  • agents/openai.yaml
  • assets/github-small.svg
  • assets/github.png
  • scripts/fetch_comments.py

Risk signals No signals

  • info · skill.scripts
    Includes scripts the agent may run on your machine
    scripts/fetch_comments.py

DuoM read every file of this skill for hidden text, instructions to send secrets out, and code downloaded and run. No signals does not mean safe: read what the skill tells the agent to do.