From dev-workflow
Review a GitHub pull request with specialized agents running in parallel (code quality, security, QA, architecture as needed). Use when the user says "review PR", "review this pull request", "/review-pr", pastes a GitHub PR URL, or finishes a branch and wants feedback before merge. Fetches diff via `gh`, checks CI status, produces a structured report with risk matrix and merge recommendation. Requires GitHub CLI authenticated.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:review-prsonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform comprehensive pull request review using parallel specialized agents.
Perform comprehensive pull request review using parallel specialized agents.
/review-pr - Review current branch's PR/review-pr 123 - Review PR by number/review-pr https://github.com/owner/repo/pull/123 - Review PR by URLcommand -v ghgh auth statusgh repo viewDetect PR from: argument (number/URL), current branch (gh pr view), or ask user.
gh pr view 123 --json number,title,author,headRefName,baseRefName,state,isDraft,mergeable,url
gh pr checkout 123 # Only if not already on PR branch
Run in parallel:
gh pr diff 123
gh pr view 123 --json files
git diff origin/main...HEAD --stat
Categorize: Frontend, Backend, Infrastructure, Documentation, Tests, Configuration.
Complexity: Small (<50 lines, 1 file), Medium (50-200 lines, 2-5 files), Large (200-500 lines, 6-15 files), XLarge (>500 lines or >15 files).
code-reviewer (haiku): Code quality, project conventions, TypeScript strictness, named exports, functional approach, error handling.
security-reviewer (sonnet) — if auth/authorization, sensitive data APIs, env vars, DB queries, file uploads, payment logic, CORS/CSP:
qa-engineer (haiku) — if critical user flows, new features needing E2E, UI changes, API endpoints needing integration tests:
frontend-architect (sonnet) — only for new app structure or state management migration.
backend-architect (sonnet) — only for new service architecture or major schema overhaul.
gh pr checks 123
✅ All passed → proceed. ⏳ Pending → note. ❌ Failed → block merge.
Fill in the report template at assets/report-template.md with the outputs from every agent that ran, the CI status, and risk assessment.
Ask user: Approve / Request changes / Add comment / Show again.
gh pr review 123 --approve --body "$(cat review.md)"
gh pr review 123 --request-changes --body "$(cat review.md)"
gh pr review 123 --comment --body "$(cat review.md)"
See assets/checklists.md for the per-area checklists (code quality, security, testing, performance) that agents should apply.
gh auth statusbrew install gh / sudo apt install gh / winget install gh--files "file1,file2" — Review only specific files--focus [security|tests|architecture] — Focus on specific aspect--skip-ci — Skip CI status checknpx claudepluginhub jmlweb/skills-monorepo --plugin dev-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.