gh-address-comments – Coding skill for AI agents
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.
Install the gh-address-comments skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /gh-address-comments – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $gh-address-comments – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /gh-address-comments – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/gh-address-comments-79323.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /gh-address-comments – then describe the task you want done.
SKILL.md content
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.
Related skills
- ai-decision-authority – Routes marketing and GTM decisions into three AI governance zones (AI-Primary…
- gh-fix-ci – Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub…
- debugging-and-error-recovery – Guides systematic root-cause debugging. Use when tests fail, builds break, something…
- agentflow – Orchestrate autonomous AI development pipelines through your Kanban board (Asana, GitHub…
- agentic-actions-auditor – Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations…
- agentic-test-audit – Audit a pytest suite: surviving mutants and untested code, flaky, order-dependent and…
- agentic-verify – Check that a Python change is caught by tests: run every mutant of the changed lines and…
- bats-testing-patterns – Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use…