address-pr-comments/SKILL.md
Address PR review comments from automated and human reviewers. Use this when asked to address PR comments, fix PR feedback, or respond to code review.
npx skillsauth add supercorks/agent-skills address-pr-commentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill guides you through addressing PR review comments systematically.
Address only the MOST RECENT review from each reviewer. If there are 3 reviewers (e.g., an automated reviewer, human reviewer A, human reviewer B), you address 3 reviews — the latest one from each.
Do NOT address:
Why? Earlier reviews may contain:
The pr-review-summaries.js script automatically filters to show only the most recent review per author. Trust this output and ignore older feedback.
Run the review summaries script to get the latest feedback:
# Get the LATEST review summary from each reviewer (automated tools and humans)
# Earlier reviews are ignored - only the most recent per author is returned
node .github/skills/address-pr-comments/pr-review-summaries.js --json > /tmp/pr-summaries.json
What to address from the review summary:
Parse the review summary JSON and categorize the actionable comments only:
Categories:
Skip Reasons:
Do NOT include in your analysis:
Before making any code changes, present a confirmation summary to the user with two sections:
Use this format:
## PR Review Plan
### ✅ Will Address
- [comment summary 1]
- [comment summary 2]
### 🔁 Will Skip
- [comment summary 3] — [reason]
- [comment summary 4] — [reason]
Please confirm: proceed with these changes?
Then wait for explicit user approval before continuing.
Valid approval examples:
You may skip the wait step only if the user explicitly requests auto approval in the prompt (for example: "auto-approve", "no confirmation needed", or "proceed without asking").
For each item to address:
git add -A
git commit -m "fix: address PR review comments
- Item 1 description
- Item 2 description
..."
git push
This is a hard gate before any PR replies are posted.
Only do this after Step 5 is complete and the branch is up to date on the remote.
If the review summary JSON includes unresolvedThreads from the latest review, reply to those threads:
Addressed format:
✅ Addressed - [brief description of fix]
Skipped format:
🔁 Skipped - [reason]
Create a batch file and post replies:
cat > /tmp/replies.json << 'EOF'
{
"threadReplies": [
{ "threadId": "PRRT_xxx", "message": "✅ Addressed - awaited refetch and moved setRefreshing to finally block" },
{ "threadId": "PRRT_yyy", "message": "🔁 Skipped - intentional design: we want immediate feedback" }
],
"prComment": null
}
EOF
node .github/skills/address-pr-comments/pr-reply.js --batch /tmp/replies.json
Note: Only reply to threads listed in unresolvedThreads from the review summary output. Do NOT use pr-comments.js separately — it may return threads from older reviews.
Only do this after Step 5 is complete and any referenced fixes are already pushed.
Post a summary comment covering only the latest review's actionable comments and nitpicks:
node .github/skills/address-pr-comments/pr-reply.js --pr-comment --message "## PR Review Response
### ✅ Addressed
- [list of addressed items with file:line references]
### 🔁 Skipped
- [list of skipped items with reasons]
### 📋 Notes
- [any additional context]
"
id field from thread objects (format: PRRT_...)--dry-run first to verify before postingtools
Read local coding-agent thread/session history for Codex, Codex CLI, Copilot CLI, Copilot Chat local VS Code threads, and Claude Code. Use when asked to find, inventory, summarize, search, or inspect local agent conversations, session subjects, transcript files, or agent thread storage.
tools
Operate Google Workspace (Drive, Gmail, Calendar, Sheets, Docs, Slides, Chat, Admin, Forms, Tasks…) via the @googleworkspace/cli (`gws`) Rust CLI distributed on npm. Use for any read/write task across Workspace APIs — list/search/upload Drive files (incl. shared drives), send/read mail, manage calendar events, sheets cell ops, etc.
development
Find useful Agent Skills in curated public skill repositories for a user query. Searches official and community skill repos, ranks matching SKILL.md files, and recommends candidates with source trust notes.
tools
Use Browserbase and the browse CLI for browser automation, Fetch/Search API work, authenticated remote browsing, UI QA, debugging, tracing, and Browserbase platform or Functions workflows with multi-account support.