From pds
Fetches GitHub PR review comments via gh CLI, inventories by file/line/author, addresses each with code fixes, runs tests, commits referencing PR, pushes, and reports resolutions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pds:pr-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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 protocolnpx claudepluginhub rmzi/portable-dev-system --plugin pdsReads open GitHub PR review comments, triages by severity, applies code fixes, and drafts replies. Use when addressing PR feedback or code review.
Addresses review or issue comments on open GitHub Pull Requests using gh CLI. Inspects threads, applies fixes, and responds to resolve feedback.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.