code-review
Installation
SKILL.md
Code Review
Perform a structured code review. Supports local changes and GitHub PRs.
Instructions
If $ARGUMENTS is a PR number or URL:
- Run
gh pr diff $ARGUMENTSto get the diff - Run
gh pr view $ARGUMENTSto get PR description and metadata - Run
gh pr checks $ARGUMENTSto see CI status
If no arguments (local changes):
- Run
git diff --stagedfirst. If empty,git diff. If empty,git diff HEAD~1.