Review PR
Review a PR the bot is involved in. Load repo-setup first.
Workflow
- 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. - 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.