mz-pr-review
Installation
SKILL.md
Perform a local code review of the current branch's changes against Materialize project standards.
Steps
- Parse arguments from: $ARGUMENTS — a PR number, base branch, or nothing.
- Get the diff using the first method that works:
- PR number given (e.g.
123):gh pr diff 123 - git available:
git diff <base>...HEAD(default base:main) - jj available:
jj diff -r <revset>(default: diff from trunk)
- PR number given (e.g.
- Get the file list from the same diff (add
--statfor git,--statfor jj, orgh pr diff 123 --statfor PR). - Review the diff against the checklists below.
- Present findings organized as: Blocking, Strong suggestions, Nits.
Review checklist
The overall developer guide for reviewing changes is defined in doc/developer/guide-changes.md, always read and follow its guidance.
Tests
- Every behavior change has at least one new or modified test.
Related skills