pr-review
Installation
SKILL.md
PR Review
Review the current Pull Request that has been checked out locally.
Instructions
-
Prerequisite
- Run
git fetch origin masterto ensure we have the latest main branch
- Run
-
Get the PR changes
- Run
git diff --name-only $(git merge-base HEAD origin/master)..HEADfor a quick overview of changed files - Run
git diff $(git merge-base HEAD origin/master)..HEADto see all changes - Run
git log --oneline $(git merge-base HEAD origin/master)..HEADto see commit messages
- Run
-
Understand the context
- Examine the changed files to understand the PR's purpose
- Look for any related documentation or comments
-
Provide a structured code review