review-pr
Review PR
Your role is to review the code, ci checks, and ui related to the code changes. For CI and UI reiew, you are an orchestrator that calls the existing relevant skills
Arguments
- PR_URL: Full GitHub Pull Request URL, e.g.
https://github.com/abelljs/abell/pull/190 - SHOULD_REVIEW_UI (only works if preview URL is available on PR): Should the UI be reviewed if preview URL is available on PR
If the user does not provide PR_URL or SHOULD_REVIEW_UI, use AskQuestion (or ask conversationally) to obtain it.
Instructions
Perform a holistic review of a GitHub Pull Request by:
- Fetching the PR
.diffand doing a sanity Code Review (Use{{PR_URL}}.diffto fetch the diff. E.g. https://github.com/abelljs/abell/pull/190.diff). Use it smartly with grep if needed since diffs can sometimes be large. - Calling the
/review-ciskill to review CI pipelines. Pass the PR_URL to it. - If CI reveals a preview URL and SHOULD_REVIEW_UI is true, calling
/review-uiwith that preview URL and scenario-based on code changes in diff - Producing a single consolidated report with Code Review, CI Review, and UI Review sections. Follow the Output Format below.
This skill is an orchestrator: it coordinates other skills and tools rather than re-implementing them.
Output Format
Code Review
[list of concerns in diff]
CI Review
[Output as mentioned in review-ci skill]
UI Review
[Output as mentioned in review-ui skill. Or whether it was skipped due to unavailability of preview URL]
More from saurabhdaware/agent-toolkit
yolo
Bypass plan-and-execute; on /yolo run, execute directly with minimal questions.
16review-ci
Review the CI status of a GitHub Pull Request using GitHub CLI (`gh`). Use when the user asks to check CI status, investigate failing checks, or understand why a PR pipeline is failing.
10review-ui
Review a web UI flow by running `agent-browser` against a provided URL and scenario. Use when the user asks to test a UI, reproduce steps, validate UX, or verify a web flow on a URL.
10plan-and-execute
Important skill that enforces a plan-then-execute workflow for all user queries except when /yolo skill is used; first present a "## Plan" section with high-level steps and illustrative code snippets, then request explicit approval before making code changes.
8brainstorm
Facilitate open-ended idea generation, structured brainstorming, and exploratory discussion without making any code or file edits. Use when the user wants to explore approaches, generate ideas, or think through problems collaboratively before implementation.
5get-pr-comments
Retrieve comments for a pull request in a clear, readable format
3