gh-address-comments
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…
Skill by ahandsel
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ahandsel-gh-address-comments
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
gh-address-comments- Description
- 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.
- License
- MIT
- Metadata
- short-description: Address comments in a GitHub PR review
- Instructions
- 64 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- LICENSE.txt
- README.md
- SKILL.md
- README.md · scripts/
- fetch-pr-comments.mjs · scripts/
SKILL.md (first lines)
# 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`, approve the command when prompted or adjust permission settings to allow it. ## 1) Inspect comments needing attention * Run the bundled script, which prints every comment and review thread on the PR as JSON: ```bash node skills/gh-address-comments/scripts/fetch-pr-comments.mjs ``` * Each entry under `review_threads` carries `isResolved` and `isOutdated`. Treat a resolved or outdated thread as already handled unless the user says otherwise. ## 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. ## Bundled resources ### scripts/fetch-pr-comments.mjs Dumps every comment on the pull request for the current branch as JSON. ```bash node skills/gh-address-comments/scripts/fetch-pr-comments.mjs node skills/gh-address-comments/scripts/fetch-pr-comments.mjs > notes/2026-09-29-pr-comments.json ``` Options: * `-h`, `--help` - show the help message and exit. Output keys: * `pull_request` - number, url, title, state, owner, and repo. * `conversation_comments` - top-level comments on the pull request. * `reviews` - review submissions, each with its state and body. * `review_threads` - inline threads, each with `isResolved`, `isOutdated`, `path`, `line`, `resolvedBy`, and its comments. Behavior: * Uses `gh api graphql`, because the REST endpoints do not expose thread grouping or resolution state. * Resolves the pull request from its url, so a cross-repository (fork) pull request reads from the right repository. * Writes JSON to stdout and a summary line to stderr, so redirecting stdout yields clean JSON. * Exits 0 on success, 1 when the fetch fails (not authenticated, no pull request for the branch, GraphQL error), and 2 on an unknown option.
From ahandsel/tokyo-hiker, MIT.
More from ahandsel/tokyo-hiker
- 0.598score
gh-pr-generator
ahandsel
Draft a structured pull request body from the branch diff and open the pull request with the gh CLI.
SkillAFreshness: A★ 2Claude Code +9 - 0.595score
general-ja-polisher
ahandsel
Polish Japanese Markdown for natural phrasing, consistent terminology, and Tokyo Hiker writing conventions without changing facts.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
code-review
ahandsel
Review a Tokyo Hiker pull request or branch diff for correctness, content conventions, and repository integration.
SkillAFreshness: A★ 2Claude Code +9 - 0.561score
handoff
ahandsel
Compact the current conversation into a handoff document for another agent to pick up.
SkillAFreshness: A★ 2Claude Code +9 - 0.558score
grill-me
ahandsel
A relentless interview to sharpen a plan or design.
SkillAFreshness: A★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 29, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ahandsel/tokyo-hiker
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.685score
gh-address-comments
openaiOfficial
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…
SkillDFreshness: D★ 28.3KClaude Code +9 - 0.339score
gh-address-comments
foryourhealth111-pixel
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…
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.337score
gh-address-comments
ThadCastl3
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…
SkillAFreshness: AClaude Code +9 - 0.329score
gh-address-comments
liuxie066
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…
SkillBFreshness: B★ 1Claude Code +9 - 0.313score
gh-address-comments
OutlineDriven
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…
SkillCFreshness: C★ 14Claude Code +9 - 0.299score
gh-address-comments
mbtz
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…
SkillCFreshness: C★ 1Claude Code +9 - 0.292score
gh-address-comments
vadimcomanescu
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…
SkillDFreshness: D★ 25Claude Code +9 - 0.283score
gh-address-comments
ranvier2d2
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…
SkillCFreshness: CClaude Code +9 - 0.280score
gh-address-comments
Tesla2000
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…
SkillCFreshness: CClaude Code +9 - 0.257score
gh-address-comments
monkey1sai
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…
SkillDFreshness: D★ 1Claude Code +9 - 0.257score
gh-address-comments
Boboc135612
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…
SkillDFreshness: D★ 1Claude Code +9 - 0.247score
gh-address-comments
williamceccon
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…
SkillDFreshness: DClaude Code +9
More from ahandsel
- 0.603score
audit-gh-branches
ahandsel
Audit local and remote Git branches, classify each as safe to delete, deletion candidate, needs rebase, ice, or keep active, and extract unique work as dated…
SkillAFreshness: A★ 2Claude Code +9 - 0.603score
gh-sync-with-main
ahandsel
Bring the current git branch up to date with commits from the main branch, or check whether it needs syncing without changing it.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
blog-content-auditor
ahandsel
Audit a blog post for content quality - verify facts are correct and up-to-date, check style-guide compliance, and confirm the content is logically sound and…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
blog-md-linter
ahandsel
Lint and polish Markdown files in this repo - run the repo auto-fixers, refresh any table of contents, convert inline and autolink links to reference-style…
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
gh-pr-generator
ahandsel
Draft a structured pull request body from the branch diff and open the pull request with the gh CLI.
SkillAFreshness: A★ 2Claude Code +9 - 0.598score
pr-auditor
ahandsel
Blunt merge audit of a code branch or pull request written by an AI coding agent, treating its description, comments, and green checks as claims to verify…
SkillAFreshness: A★ 2Claude Code +9
Cite this page
gh-address-comments skill. Agent Mart. https://agentmart.dev/skills/ahandsel-gh-address-comments (last updated 2026-10-24)