PR Review Loop
Fixes valid review findings on a pull request and rebuts false ones with evidence.
Install
npx skills add nightly-labs/openbot --skill babysit -g -a claude-code -y- Repository
- nightly-labs/openbot4.5k
- Category
- Git and review
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 1,658 tokens
- Runs scripts
- No, instructions only
What it does
Babysit a pull request through the NorbiAI review loop until no valid issue remains. Fix valid findings, rebut false positives with checkable evidence, and re-request review. Use when asked to babysit a PR, handle NorbiAI comments, or clear the NorbiAI review gate.
Babysit
Drive one pull request through repeated NorbiAI reviews until no valid issue remains. Fix each valid finding. Rebut each false positive with evidence. Ask for a new review after each round.
Use this skill only for the NorbiAI review on the current pull request. Do not use it for human reviews or for other bots.
Before you start
Do this once, not in each loop.
- Read
AGENTS.mdand each nestedAGENTS.mdfor a directory you change. - Read
.github/norbiai-review-prompt.md. It defines[NEW],[REMAINS],[RESOLVED],[WITHDRAWN]and what counts as a valid rebuttal. - Find the pull request number and the branch. Check
git status. Commit or stash unrelated work first. - Confirm
ghcan read the pull request. You need the latest review comment and theNorbiAI reviewcommit status on the head SHA.
Step 1, Read the latest review
- Load only the newest comment from
github-actions[bot]with<!-- norbiai-review -->in the body. Filter withgh api --jq; do not print all PR comments. - Record
Reviewed commitfrom the comment. Compare it with the head SHA. Stop when the review is stale. Wait for a fresh review instead. - Read
## Findings,## Resolved Since Previous Review, and## Withdrawn Findingsas one set. Note the[NEW]and[REMAINS]tags and eachP0toP3priority. - Read the
NorbiAI reviewcommit status on the head SHA. The gate blocks merge on unresolvedP0andP1findings.
Do not act on an old review. Do not edit the review comment.
Step 2, Triage each finding
Check each finding against the full current diff and the surrounding code. Prove the failure mode. Never trust the title alone.
Mark a finding as valid when it shows all of the following:

