/pds:pr-reviewfrom pds
Fetches PR review comments via GitHub CLI, helps fix each one systematically, runs tests, commits, and pushes. Use when a PR has review feedback requiring code changes.
Ships in pds. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fetch PR review comments via gh, address each one with code fixes, run tests, commit, and push. Systematic process to ensure no comment is missed.
# Get PR number from current branch
PR_NUMBER=$(gh pr view --json number -q '.number')
REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner')
# Fetch all review comments (inline code comments)
gh api repos/$REPO/pulls/${PR_NUMBER}/comments --paginate
# Also fetch general PR comments (top-level discussion)
gh api repos/$REPO/issues/${PR_NUMBER}/comments --paginate
# Check for requested changes
gh pr view $PR_NUMBER --json reviews -q '.reviews[] | select(.state == "CHANGES_REQUESTED") | .body'
List every comment with:
Group comments by file for efficient addressing.
For each unresolved comment:
Run the project's test suite to confirm changes don't break anything:
# Run tests (project-specific command)
npm test # or equivalent
Commit with a message that references the PR:
git commit -m "fix: address PR review feedback (#<PR_NUMBER>)
- <summary of change 1>
- <summary of change 2>"
git push
Summarize what was addressed:
## PR Review Response
### Addressed
- `file.ts:42` — [reviewer]: [concern] -> [what you changed]
- `other.ts:15` — [reviewer]: [concern] -> [what you changed]
### Discussed (not changed)
- `file.ts:88` — [reviewer]: [concern] -> [why no change needed]
### Remaining
- [any comments that need further discussion]
/pds:verify — Self-check before pushing/pds:finish — Branch completion protocolWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pr-review, code-review, address-comments, github-cli, pull-requests
22 skills in this plugin
/bugfix/bugfix — Test-First Bug Fix ProtocolFixing bugs using a test-first disciplined loop. Use when a bug is reported or discovered and needs a verified fix with minimal blast radius./bump/bump — Version Bump WorkflowBumping project version and updating changelog atomically. Use when releasing a new version — patch, minor, or major./checkpoint/checkpoint — Save PointSave a checkpoint — bump version, commit, push. Use when work is complete and ready to ship without the full finish protocol.npx claudepluginhub rmzi/portable-dev-system --plugin pdsOther plugins' skills for the same job