plugins/git-and-pr/skills/address-pr-feedback/SKILL.md
Systematic 5-phase workflow for handling PR review comments. Fetches review threads via gh api (not gh pr view), triages by priority, executes fixes via sub-agent, posts inline GitHub replies, and commits. Invoke when asked to "address PR feedback", "respond to review comments", or "handle PR review".
npx skillsauth add arosenkranz/claude-code-config address-pr-feedbackInstall 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.
Systematic workflow for triaging and resolving GitHub PR review comments. This skill covers the full cycle: fetch, plan, fix, reply, and finalize.
Before starting, confirm:
42)owner/repo format (e.g., DataDog/my-repo)If not provided, ask: "Which PR number and repo should I address feedback for?"
Use the full REST API to get pull request review comment IDs. These are the IDs needed for inline replies and are different from the general PR comment IDs returned by gh pr view.
gh api repos/<owner>/<repo>/pulls/<number>/comments \
--jq '[.[] | {id: .id, path: .path, line: .line, body: .body, user: .user.login, url: .html_url, diff_hunk: .diff_hunk}]'
Also fetch general (non-inline) PR comments:
gh api repos/<owner>/<repo>/issues/<number>/comments \
--jq '[.[] | {id: .id, body: .body, user: .user.login}]'
Save to ~/workspace/work-artifacts/<TICKET-ID>/pr-<number>-review.md (create directory if needed):
# PR #<number> Review Notes
**PR**: <url>
**Date**: <YYYY-MM-DD>
**Reviewer(s)**: <list>
## Triage
### P0 — Must Fix (correctness, security, blocking)
- [ ] Comment ID `<id>` [@<user>, `<file>:<line>`]: <summary>
### P1 — Should Fix (important improvements, style violations)
- [ ] Comment ID `<id>` [@<user>, `<file>:<line>`]: <summary>
### P2 — Nice to Have (suggestions, optional improvements)
- [ ] Comment ID `<id>` [@<user>, `<file>:<line>`]: <summary>
### Acknowledged (no change needed — explain why)
- Comment ID `<id>`: <reason for no-change>
## Reply Drafts
For each comment, draft a reply here before posting:
### Comment <id>
**Fix**: <what will be done>
**Reply**: "<draft reply text>"
Present the triage to the user and get approval before proceeding to Phase 2.
For P0 and P1 items, outline the fix approach:
For P2 and Acknowledged items, draft a reply explaining why no change is being made (or that a follow-up ticket has been created).
Present the fix plan to the user. Confirm before executing.
Launch a sub-agent (general-purpose) to implement the changes:
"Implement the following PR feedback fixes for PR #<number> in <owner>/<repo>. Changes needed: [paste P0/P1 fix list from review notes]. Follow existing code conventions, use TypeScript, run tests after changes."
Monitor and verify:
npm test / npm run test for JS/TSpytest for PythonCommit using Conventional Commits. Stage specific files only:
git add <specific files>
git commit -m "fix(<scope>): <description addressing review feedback>"
Do not include Claude attribution in commits. Do not use --no-verify.
For each comment addressed (P0, P1, P2, Acknowledged), post an inline reply using the pull request review comment ID obtained in Phase 1.
Important: Use the review comment ID (from /pulls/<number>/comments), not the issue comment ID:
gh api repos/<owner>/<repo>/pulls/comments/<comment-id>/replies \
--method POST \
--field body="<reply text>"
Reply guidelines:
After posting all replies, verify they appear correctly:
gh pr view <number> --repo <owner>/<repo> --comments
Push the branch:
git push
Update the review notes file with final status (mark all items complete).
If all reviewers' concerns are addressed, re-request review:
gh pr edit <number> --repo <owner>/<repo> --add-reviewer <reviewer-username>
(Only do this if the user confirms.)
Report to user:
~/workspace/work-artifacts/ — create the directory if it doesn't exist.pr-<number> as the directory name: ~/workspace/work-artifacts/pr-<number>/.tools
Lightweight orchestrator for spec-before-plan workflow. Use when starting a feature with ambiguous requirements. Walks SPEC.md → PLAN.md → execute, delegating to /superpowers:writing-plans and /superpowers:executing-plans. Invoke when asked to "spec this out", "spec-first", "spec and plan for X", or when feature requirements are vague.
tools
Problem Statement Co-Authoring Skill
development
Structure and maintain professional brag documents with clear templates for accomplishments, projects, and growth tracking. Use when documenting achievements, creating brag document entries, formatting accomplishments, or tracking career progress.
development
Analyze technical documentation for clarity, conciseness, and effectiveness using Google Technical Writing principles. Use when reviewing documentation, checking writing quality, improving docs, or providing writing feedback.