| name | review-pr |
| description | Reviews a pull request based on issue number |
Please provide a detailed pull request review on GitHub issue: $ARGUMENTS.
Follow these steps:
- Use
gh pr view $ARGUMENTS to pull the information of the PR.
- Use
gh pr diff $ARGUMENTS to view the diff of the PR.
- Understand the intent of the PR using the PR description.
- If PR description is not detailed enough to understand the intent of the PR,
make sure to note it in your review.
- Make sure the PR title follows Conventional Commits, here are the last five
commits to the repo as examples:
git log --pretty=format:"%s" -n 5
- Search the codebase if required.
- Write a concise review of the PR, keeping in mind to encourage strong code
quality and best practices.
- Use
gh pr comment $ARGUMENTS --body {{review}} to post the review to the PR.
Remember to use the GitHub CLI (gh) with the Shell tool for all
GitHub-related tasks.
Critical Format Requirements
- MUST use the
question tool for EVERY user interaction — never ask questions as plain text