From dev-workflow
Address PR review feedback in the current session — reads new comments, file-level inline comments, and review decisions since the last commit, then implements the required changes and replies to the PR with a summary of fixes. Use when a user asks to address PR comments, respond to review feedback, fix review notes, or iterate on a PR.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:address-pr-commentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Role:** Address review feedback on the current PR — read, implement, and respond
Role: Address review feedback on the current PR — read, implement, and respond
SCOPE BOUNDARY: This skill never creates PM stories, tickets, issues, or subtasks — the Story Creation Gate in skills/shared/standards.md applies.
Read skills/shared/standards.md — these mandatory rules govern this entire session.
Compact the conversation before continuing — you are about to iterate on existing work.
If no PR number is provided in context:
gh pr status --json currentBranch
Use the current branch's open PR. If no PR is open, ask the user for the PR number.
Fetch all comment types since the last commit. Use the actual PR number in every command.
Conversation comments:
gh api repos/{owner}/{repo}/issues/{PR_NUMBER}/comments
Inline file comments:
gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/comments
Reviews (state + body):
gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/reviews
Filter to comments created or updated after the last commit timestamp:
git log -1 --format=%cI
Deduplicate: if an inline comment is also referenced in a review body, address it once.
Before writing any code, list every actionable item as a numbered checklist:
## Changes Required
1. [Author @foo, file.ts:42] — [what they asked for]
2. [Author @bar, review body] — [what they asked for]
If no actionable feedback is found, inform the user and stop.
Address each item from the checklist:
Invoke Skill:
superpowers:test-driven-development
Invoke Skill:
superpowers:verification-before-completionVerify with fresh execution:
- All tests pass (run the full suite now)
- Each checklist item from Step 3 has been addressed
- Code is pushed to remote
After unit/integration tests pass, verify the fixes work in a running environment. Loop until certain.
Deploy:
Check ~/.claude/dev-workflow/config.json for deploy_command.
deploy_command is configured: Deploy the branch to dev — follow the same deployment procedure as dev-workflow:test-pr Phase 3 (GitHub Actions, shell command, or other pattern).Test:
For each item from the Step 3 checklist, design and execute a focused test scenario:
Apply the accountability rules from dev-workflow:test-pr: if you see an error, it is a failure — do not rationalize it away.
Loop:
For each inline file comment addressed in Step 4, post a direct reply on that comment thread explaining what was changed:
gh api repos/{owner}/{repo}/pulls/{PR_NUMBER}/comments/{COMMENT_ID}/replies -f body="..."
Reply format: one concise sentence stating what was done (e.g., "Fixed — switched to parseISO() at utils.ts:47."). Do not repeat the reviewer's request back to them.
If you deviated from what the reviewer asked on a specific comment, explain why in the reply to that comment.
Post a summary comment on the PR covering all changes. Call out any deviations not already explained in inline replies.
Comment format:
## Changes Addressed
1. [Item 1] — [what was changed and where: file.ts:42]
2. [Item 2] — [what was changed and where]
## Deviations
[Omit section entirely if none. Otherwise explain each deviation and reasoning.]
gh pr comment {PR_NUMBER} --body "..."
npx claudepluginhub mechanicaltyler/claude-quest --plugin dev-workflowCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.