Loading...
Loading...
Full pull-request review — fetch the PR, run the project's validation, review the diff with fresh eyes (dispatching the code-reviewer agent), categorize issues by severity, post the review to GitHub (approve / request-changes / comment), and save a report. The agentic gate that runs on an open PR before a human approves. Use after piv-create-pr.
npx skill4agent add coleam00/skills piv-review-prcode-reviewergh pr list --head <branch> --json number -q '.[0].number'gh pr view {N} --json number,title,body,author,headRefName,baseRefName,state,additions,deletions,changedFiles,files
gh pr diff {N}
gh pr checkout {N}MERGEDCLOSEDDRAFTCLAUDE.md.claude/references/piv-implement.claude/reports/*{branch}*piv-validatecode-reviewer.claude/agents/code-reviewer.md| Severity | Meaning |
|---|---|
| Critical | Blocking — security, data loss, crashes |
| High | Should fix before merge — type-safety holes, missing error handling, logic errors |
| Medium | Pattern inconsistencies, missing edge cases, undocumented deviations |
| Low | Suggestions, minor polish |
--approve--request-changes.claude/code-reviews/pr-{N}-review.mdfile:line# approve
gh pr review {N} --approve --body-file .claude/code-reviews/pr-{N}-review.md
# request changes
gh pr review {N} --request-changes --body-file .claude/code-reviews/pr-{N}-review.md
# or just comment (draft PRs / advisory)
gh pr comment {N} --body-file .claude/code-reviews/pr-{N}-review.mdpiv-fix-review-findingscode-reviewer