gh-address-comments
Address actionable GitHub pull request review feedback.
Skill by lyh843
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/lyh843-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: backend
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
- Address actionable GitHub pull request review feedback. Use when the user wants to inspect unresolved review threads, requested changes, or inline review comments on a PR, then implement selected fixes. Use the GitHub app for PR metadata and flat comment reads, and use the bundled GraphQL script via `gh` whenever thread-level state, resolution status, or inline review context matters.
- License
- MIT
- Instructions
- 41 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- LICENSE.txt
- SKILL.md
- openai.yaml · agents/
- github-small.svg · assets/
- github.png · assets/
- fetch_comments.py · scripts/
SKILL.md (first lines)
# GitHub PR Comment Handler Use this skill when the user wants to work through requested changes on a GitHub pull request. Use the GitHub app from this plugin for PR metadata and patch context, but treat thread-aware review data as a `gh api graphql` problem because the connector comment surface is flat and does not preserve full review-thread state. Run all `gh` commands with elevated network access. If CLI auth is required, confirm `gh auth status` first and ask the user to authenticate with `gh auth login` if it fails. ## Workflow 1. Resolve the PR. - If the user provides a repository and PR number or URL, use that directly. - If the request is about the current branch PR, use local git context plus `gh auth status` and `gh pr view --json number,url` to resolve it. 2. Inspect review context with thread-aware reads. - Use the GitHub app from this plugin to fetch PR metadata and patch context when the repo and PR are known. - Use the bundled `scripts/fetch_comments.py` workflow whenever the task depends on unresolved review threads, inline review locations, or resolution state. That script fetches `reviewThreads`, `isResolved`, `isOutdated`, and file and line anchors that the connector comment surface does not preserve. - Use connector-only comment reads only for lightweight top-level PR comment summaries. 3. Cluster actionable review threads. - Group comments by file or behavior area. - Separate actionable change requests from informational comments, approvals, already-resolved threads, and duplicates. 4. Confirm scope before editing. - Present numbered actionable threads with a one-line summary of the required change. - If the user did not ask to fix everything, ask which threads to address. - If the user asks to fix everything, interpret that as all unresolved actionable threads and call out anything ambiguous. 5. Implement the selected fixes locally. - Keep each code change traceable back to the thread or feedback cluster it addresses. - If a comment calls for explanation rather than code, draft the response rather than forcing a code change. 6. Summarize the result. - List which threads were addressed, which were intentionally left open, and what tests or checks support the change. ## Write Safety - Do not reply on GitHub, resolve review threads, or submit a review unless the user explicitly asks for that write action. - If review comments conflict with each other or would cause a behavioral regression, surface the tradeoff before making changes. - If a comment is ambiguous, ask for clarification or draft a proposed response instead of guessing. - Do not treat flat PR comments from the connector as a complete representation of review-thread state. - If `gh` hits auth or rate-limit issues mid-run, ask the user to re-authenticate and retry. ## Fallback If neither the connector nor `gh` can resolve the PR cleanly, tell the user whether the blocker is missing repository scope, missing PR context, or CLI authentication, then ask for the missing repo or PR identifier or for a refreshed `gh` login.
From lyh843/AgentSkills, MIT.
More from lyh843/AgentSkills
- 0.552score
codebase-map
lyh843
Generate an interactive, self-contained HTML map of any codebase — a dependency graph of its modules, a zoomable lines-of-code treemap, and stack-specific…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ning-python-scientific-plotting
lyh843
Create, refine, or review scientific figures in Python using the bundled plotting notes.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
codebase-summary
lyh843
Generate a structured summary of any codebase — architecture overview, tech stack, module map, and full API inventory with a Mermaid diagram.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
book-to-skill
lyh843
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks…
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
codebase-overview
lyh843
Systematic codebase exploration and architecture mapping.
SkillBFreshness: B★ 1Claude Code +9 - 0.502score
ai-paper-digest
lyh843
Collect and summarize recent AI papers with emphasis on major ML/AI venues, journals, arXiv, and paper-discovery sites.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
battery-status
lyh843
Check the current battery and charging information on this Linux machine, especially when the user asks for charging wattage, battery percentage, charging…
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
grounded-file-qa
lyh843
Read one or more local files, especially PDFs, and answer follow-up questions grounded in those sources.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
lecture-note-writer
lyh843
Use when the user wants course notes or study notes written from local slide PDFs, PPTs, or existing markdown notes, especially when the notes should match…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
concept-wiki-html
lyh843
Build a static, local-source-grounded HTML knowledge page from course notes and slides, organized as one big topic with clickable concept nodes and deeper…
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lyh843/AgentSkills
- 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.
More from lyh843
- 0.552score
codebase-map
lyh843
Generate an interactive, self-contained HTML map of any codebase — a dependency graph of its modules, a zoomable lines-of-code treemap, and stack-specific…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ning-python-scientific-plotting
lyh843
Create, refine, or review scientific figures in Python using the bundled plotting notes.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
codebase-summary
lyh843
Generate a structured summary of any codebase — architecture overview, tech stack, module map, and full API inventory with a Mermaid diagram.
SkillBFreshness: B★ 1Claude Code +9 - 0.543score
book-to-skill
lyh843
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks…
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
codebase-overview
lyh843
Systematic codebase exploration and architecture mapping.
SkillBFreshness: B★ 1Claude Code +9 - 0.502score
ai-paper-digest
lyh843
Collect and summarize recent AI papers with emphasis on major ML/AI venues, journals, arXiv, and paper-discovery sites.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
gh-address-comments skill. Agent Mart. https://agentmart.dev/skills/lyh843-gh-address-comments (last updated 2026-10-24)