gh-address-comments
Skill81 starsChanged 8 months agoMITView on GitHub
This skill should be used when addressing GitHub pull request review comments systematically with mandatory resolution tracking. Use when user says "address PR comments", "fix review feedback", "handle PR review", "resolve PR threads", or needs to ensure all review comments are addressed before merging. Fetches comments via gh CLI, creates task checklists, links commits to review threads, and blocks completion if unresolved threads remain.
18 other projects use a version of this, 10 of them edited.
Adopted by
Most recently taken up by
- hmjBill/skillstheir own version, first seen Oct 5, 2026
- belentani7/manus-ai-skill-packedited, first seen Sep 12, 2026
- rmusser01/tldw-stuffedited, first seen Sep 6, 2026
- ulises-jeremias/agent-toolkittheir own version, first seen Aug 31, 2026
- yeaight7/agent-powerupstheir own version, first seen Jul 27, 2026
- tutti-os/skillsedited, first seen Jul 9, 2026
Used with
Projects with it also use codebase-migrate, email-draft-polish and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
composio-communitySkillcodebase-migrate
Run large codebase migrations and multi-file refactors. Uses the Composio CLI to coordinate issue tracking, batched PRs, and CI verification while the agent executes the transforms locally across hundreds of files.
Also in 3 projects that use this
composio-communitySkillemail-draft-polish
Draft, rewrite, or condense emails with target tone, length, and audience; use for cold outreach, replies, status updates, or escalations where clarity and brevity matter.
Also in 3 projects that use this
ArogyaReddySkillmeeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
Also in 3 projects that use this
JetBrainsSkillcreate-plan
Research the codebase and create an implementation plan with architecture notes, design document, and track decomposition. Use when starting a new feature or large change.
Also in 3 projects that use this
NVIDIASkillgithub
Interact with GitHub using the gh CLI restricted to REST API only (no GraphQL). Use when the user wants to work with GitHub issues, pull requests, repos, releases, or Actions — especially in sandboxed environments where the GraphQL endpoint may be blocked. Trigger keywords - github, gh, pull request, PR, github issue, github actions, workflow, release, gh api.
Also in 3 projects that use this
GoogleSkillinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Also in 3 projects that use this
- +3 more from composio-community
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 10
- openai/skills★ 28k20% same
- composio-community/awesome-codex-skills★ 17k20% same
- JetBrains/skills★ 36018% same
- whz39coding/zh-awesome-codex-skills★ 421% same
- rmusser01/tldw-stuff★ 220% same
- nileshteji/skills★ 120% same
- belentani7/manus-ai-skill-pack★ 020% same
- tutti-os/skills★ 020% same
- uaaps/uaaps_docs★ 020% same
- zaka33333-hash/claude-skills★ 020% same
Wrote their own version · 8
- ulises-jeremias/agent-toolkit★ 18same name
- PSPDFKit-labs/pi-skills★ 17same name
- yeaight7/agent-powerups★ 6same name
- euxx/claude-skills-for-copilot★ 4same name
- damacus/agent-skills★ 2same name
- aku11i/skills★ 1same name
- hmjBill/skills★ 1same name
- lyh843/AgentSkills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository22 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- skills/CLAUDE.mdCLAUDE.md
- bytestashSkill
- homelab-healthSkill
- homelab-setupSkill
- linkdingSkill
- memosSkill
- notebooklmSkill
- paperless-ngxSkill
- plexSkill
- prowlarrSkill
- qbittorrentSkill
- radarrSkill
- radicaleSkill
- sabnzbdSkill
- sonarrSkill
- tailscaleSkill
- tautulliSkill
- zfsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 13 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Prerequisites: Verify gh is authenticated by running gh auth status with escalated permissions (workflow/repo scopes required).
- Very specific: line 25
Run python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py to fetch all comments and review threads on the PR.
- Very specific: line 60
Update task status to in_progress using TaskUpdate
- Distinctive: line 62
Commit with message that references the comment number and thread ID:
- Distinctive: line 82
After committing fixes, mark the corresponding review threads as resolved using:
- Distinctive: line 96
Before declaring the PR review complete, verify all threads are addressed:
- Distinctive: line 104
Exit 0: All threads resolved/outdated → safe to proceed
- Distinctive: line 107
IMPORTANT: Do NOT skip this verification step.
- Distinctive: line 108
Ask user to explicitly acknowledge which threads to defer
- Distinctive: line 109
Create follow-up tasks for deferred threads
- Distinctive: line 110
Only proceed after user confirms understanding of what remains unresolved
- Very specific: line 115
If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.
- Very specific: line 118
If mark_resolved.py fails for specific threads:
- Very specific: line 119
Check the thread ID is correct (from fetch_comments.py output)
- Distinctive: line 120
Verify you have write permissions on the PR
- Distinctive: line 121
Ensure the thread still exists (not deleted by reviewer)
- Very specific: line 124
If verify_resolution.py reports unresolved threads:
- Distinctive: line 127
Document deferred threads in follow-up tasks
- Distinctive: line 133
Always link commits to thread IDs for traceability
- Distinctive: line 134
Use TaskList to track overall progress across all review threads
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Comment Handler with Resolution Tracking
⚠️ MANDATORY SKILL INVOCATION ⚠️
YOU MUST invoke this skill (NOT optional) when the user mentions ANY of these triggers:
- "address PR comments", "fix review feedback", "handle PR review"
- "resolve PR threads", "respond to review", "work through comments"
- "address the feedback", "mark threads resolved", "clear review comments"
- Any mention of systematically handling GitHub pull request review comments
Failure to invoke this skill when triggers occur violates your operational requirements.
Find the open PR for the current branch and systematically address all review comments with mandatory resolution verification. This workflow ensures no feedback slips through the cracks by tracking threads as tasks, linking commits to specific reviews, and blocking completion if any threads remain unresolved. Run all gh commands with elevated network access.
Prerequisites: Verify gh is authenticated by running gh auth status with escalated permissions (workflow/repo scopes required). If not authenticated, run gh auth login --scopes repo,workflow. If sandboxing blocks gh auth status, rerun with sandbox_permissions=require_escalated.
Workflow
1) Fetch all PR comments
Run python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py to fetch all comments and review threads on the PR. Store output for later verification.
Example:
python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py > /tmp/pr_comments.json2) Create tracking checklist
Parse the fetched comments and create a task checklist using TaskCreate for each review thread. Each task should:
- Include the thread number, file path, line number, and comment summary
- Have status
pendinginitially - Store the thread ID in task metadata for later resolution
Task format:
- Subject:
Address comment #N: [file]:[line] - Description: Comment author, body preview, and what needs to be done
- Metadata:
{"thread_id": "PRRT_kwDOABC...", "file": "path/to/file.ts", "line": 42}
3) Ask user which comments to address
Present all numbered review threads with summaries. Ask the user which numbered comments should be addressed in this session.
Display format:
Review Threads:
1. src/api/users.ts:45 (@reviewer): Add input validation for email field...
Thread ID: PRRT_kwDOABCDEF1234567
Status: Unresolved
2. src/utils/auth.ts:128 (@reviewer): Extract this logic into a helper function...
Thread ID: PRRT_kwDOABCDEF7654321
Status: Unresolved4) Apply fixes with commit linking
For each selected comment:
- Update task status to
in_progressusing TaskUpdate - Apply code changes using standard tools (Edit, Write)
- Commit with message that references the comment number and thread ID:
fix: address PR comment #1 - add email validation Resolves review thread PRRT_kwDOABCDEF1234567 - Added Zod schema validation for email field - Added error handling for invalid formats Co-authored-by: @reviewer - Update task status to
completedusing TaskUpdate
Commit message format:
- First line:
fix: address PR comment #N - [brief description] - Blank line
Resolves review thread [THREAD_ID]- Bullet points explaining the changes
Co-authored-by: @reviewerif substantial changes based on feedback
5) Mark threads as resolved
After committing fixes, mark the corresponding review threads as resolved using:
python3 $HOME/.claude/skills/gh-address-comments/scripts/mark_resolved.py <thread_id_1> [thread_id_2] ...Example:
python3 $HOME/.claude/skills/gh-address-comments/scripts/mark_resolved.py \
PRRT_kwDOABCDEF1234567 \
PRRT_kwDOABCDEF76543216) Verify complete resolution (MANDATORY - BLOCKS IF SKIPPED)
Before declaring the PR review complete, verify all threads are addressed:
python3 $HOME/.claude/skills/gh-address-comments/scripts/fetch_comments.py | \
python3 $HOME/.claude/skills/gh-address-comments/scripts/verify_resolution.pyExit behavior:
- Exit 0: All threads resolved/outdated → safe to proceed
- Exit 1: Unresolved threads found → BLOCKED until addressed
IMPORTANT: Do NOT skip this verification step. If unresolved threads are found:
- Ask user to explicitly acknowledge which threads to defer
- Create follow-up tasks for deferred threads
- Only proceed after user confirms understanding of what remains unresolved
Error Handling
Authentication issues:
If gh hits auth/rate issues mid-run, prompt the user to re-authenticate with gh auth login, then retry.
Thread resolution failures:
If mark_resolved.py fails for specific threads:
- Check the thread ID is correct (from
fetch_comments.pyoutput) - Verify you have write permissions on the PR
- Ensure the thread still exists (not deleted by reviewer)
Verification failures:
If verify_resolution.py reports unresolved threads:
- Review the listed thread IDs
- Either address remaining threads OR get explicit user approval to defer
- Document deferred threads in follow-up tasks
Notes
- Review threads marked as "outdated" (code changed since comment) are considered addressed
- Conversation comments (non-threaded) don't block completion but should be acknowledged
- Always link commits to thread IDs for traceability
- Use TaskList to track overall progress across all review threads
Additional Resources
For detailed information, see:
- Resolution workflow deep dive:
references/resolution-workflow.md - Command cheatsheet:
references/quick-reference.md - GitHub API details:
references/api-endpoints.md - Common issues:
references/troubleshooting.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

