| name | review-pr | ||
|---|---|---|---|
| description | Review a pull request. Self-fix on own PRs, post a review on others'. Load repo-setup first. | ||
| license | Apache-2.0 | ||
| metadata |
|
Review a PR the bot is involved in. Load repo-setup first.
- Check authorship:
gh pr view <N> --json author --jq .author.loginvs$ME(your identity). Skip drafts unless it's your own PR. - Read the PR's intent (body, linked issues, commit log).
- Load
reviewskill. For large diffs, use anexploresub-agent. - Act on findings:
- No findings: post a
--commentreview (reserve--approvefor when you can vouch for correctness). - Findings on own PR: load
apply-fixesskill to push fixes. - Findings on others' PR: post
--request-changesor--commentreview viagh pr review. Don't push to their branch.
- No findings: post a
Write review comments like a senior dev — direct, specific, no filler. "this will panic on nil" not "I noticed that this could potentially cause a nil pointer dereference."
Don't approve trivially. Don't merge.