diff-review
Installation
SKILL.md
Diff review
Read the diff, understand what it changes, and report only problems you can point to. A short list of real findings beats a long list of opinions.
Step 1: get the right diff
Find the base branch. Use the one the user names. Otherwise try main, then master, then develop.
git fetch origin --quiet # skip if offline
BASE=$(git merge-base HEAD origin/main) # or the named base
git diff --stat "$BASE"...HEAD # what changed, how much
git diff "$BASE"...HEAD # committed changes on this branch
git diff HEAD # plus uncommitted work, if asked
git log --oneline "$BASE"..HEAD # the intent, from commit messages
For staged changes only, use git diff --cached. For a single commit, use git show <sha>.