Code Review
v2.
Context-aware review: Code Map impact analysis, parallel specialists, repo rules, and a PR summary comment.
- triggerPR Opened / Updatedwaiting
- git.cloneClone Repositorywaiting
- agent.sessionContext-aware Reviewwaiting
Illustrative run. The steps are the ones this playbook ships with.
What it does
Context-aware review: Code Map impact analysis, parallel correctness/security/performance specialists, repo rules, and a PR summary comment.
- Identifier
- code-review-v2
- Version
- 1.0.0
- Tags
- reviewv2qualitysecurityperformance
Triggers
Waits 60s after the event to settle.
- pullRequest.isDraft not equals true
- actor.username not contains [bot]
Waits 90s after the event to settle.
- pullRequest.isDraft not equals true
- actor.username not contains [bot]
Steps
- 01triggerPR Opened / Updated
The event that starts the run.
- 02git.cloneClone Repository
Shallow-clones the repository at the right ref.
- 03agent.sessionContext-aware Review
A coordinator delegates to specialist agents.
Agent
- Name
- Review Coordinator
- Base type
- Senior Developer senior_developer
- Temperature
- 0.2
- Max iterations
- 30
- get_pull_request_diffread
- read_fileread
- list_dirread
- code_searchread
- semantic_code_searchread
- code_impactread
- get_review_rulesread
- get_muted_review_patternsread
- add_pull_request_review_threadwrite
- add_comment_to_pull_requestwrite
- submit_reviewwrite
Related playbooks
Code Review
AI-powered PR reviews that flag bugs, security issues, and performance problems inline.
DB Query Review
Reviews database changes for the silent failure modes specific to raw SurrealQL: record-id casting, id resolution, datetime types, and FLEXIBLE placement.
Review Quality Coach
Fires when a human submits a PR review and privately reports what a thorough review would also have raised, delivered only to the reviewer.
Import it. Edit it.
After importing, connect the integrations its steps use. Change anything else you like before you publish.