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-fae59.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-fae59.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-fae59.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-fae59.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
- airtable – Airtable REST API via curl. Records CRUD, filters, upserts.
- claude-api – Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming…
- code-simplification – Simplifies code for clarity. Use when refactoring code for clarity without changing…
- astropy – Core Python library for astronomy and astrophysics workflows that need Astropy APIs…
- async-python-patterns – Master Python asyncio, concurrent programming, and async/await patterns for…
- gh-fix-ci – Inspect GitHub PR checks with gh, pull failing GitHub Actions logs, summarize failure…
- contract-review – 律师助理与法律助手、项目管理专家在审核合同、排查条款风险时必备。自动执行基础、商业、法律三层审查,仅添加批注不改原文,一键生成带批注合同、审查摘要、综合意见及业务流程图,让合同风…
- video-generator – 使用AI大模型根据文字、首尾帧图片或图片/视频/音频参考素材生成带对白和环境音的视频。适用于文生视频、图生视频、首尾帧过渡和多模态参考视频生成,通过 Deep Code…