Dev Review
Usage
/dev-pr-review # local branch vs main
/dev-pr-review <PR_URL> # checkout and review PR
Instructions
Get changed files:
- PR:
gh pr checkout <URL>thengh pr diff --name-only - Local:
git diff main --name-only
- PR:
Read the changed files. Only focus on the changes — do not review unchanged code.
Review checklist:
- Consistency with existing patterns
- Reuse existing utilities, components, and helpers
- No duplication
- Minimal and clear comments
List issues as polite suggestions. Only report real issues — do not pad the list.
1. `src/Foo.ts:42` - Consider reusing existing `handleError` utility. 2. `src/Bar.ts:15` - Duplicates logic from `src/utils/parse.ts`.Start the verdict with a one-sentence summary of whether this change is valuable or unnecessary.
End with a verdict:
- Approved — no issues found, good to merge.
- Approved with comments — minor suggestions, but OK to merge as-is.
- Request changes — blocking issues that should be fixed before merge.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.