Skill · Workflow
pull-request-review-team
Three reviewers check security, performance and tests in parallel; a lead merges, de-duplicates and posts one comment. Use when asked to run the "Pull request review team" workflow.
The skill itself. Agents read the name and description first and load the rest only when a task matches.
pull-request-review-team/SKILL.md
---
name: pull-request-review-team
description: Three reviewers check security, performance and tests in parallel; a lead merges, de-duplicates and posts one comment. Use when asked to run the "Pull request review team" workflow.
---
# Pull request review team
Three reviewers check security, performance and tests in parallel; a lead merges, de-duplicates and posts one comment.
## Inputs
Ask for any of these that the user hasn't given:
- `diff` (e.g. "Paste the output of `git diff main...HEAD` (or the PR's .diff)")
## Steps
Run the steps in order. Refer to saved results by name. Don't skip a step that says STOP.
1. **Pull request opened** — Start: Runs on a pull request's diff ({{diff}}). Paste one to try it.
2. **Review in parallel** — Launch these as parallel subagents in one message, then wait for all of them. Give each reviewer {{diff}}. Each returns findings as file:line, severity, why, fix. Save the result as `findings`.
- **Security**: Injection, auth checks on new routes, secrets, unsafe deserialization.
- **Performance**: N+1 queries, unbounded loops, missing pagination, large payloads.
- **Tests**: Untested branches, missing edge cases, flaky patterns.
3. **Lead reviewer merges** — Merge {{findings}}, drop duplicates and anything you can't point to in {{diff}}. Order by severity. If there are no real findings, say so. Save the result as `review`.
4. **Comment on the PR** — Finish: Post {{review}} as one review comment with inline notes.
## Done when
Every step has run, each approval was given, and you've reported what was produced and where it was saved.