Run roborev code review on commits or uncommitted changes. Use to get AI-powered code review feedback.
Run an AI-powered code review using roborev.
Based on the argument provided, run one of these commands:
| Argument | Command | Description |
|---|---|---|
dirty | roborev review --dirty --wait | Review uncommitted changes |
branch | roborev review --branch --wait | Review all commits on current branch since main |
| (none) | roborev review --wait | Review HEAD commit |
<sha> | roborev review <sha> --wait | Review specific commit |
Parse the argument: $ARGUMENTS
Run the appropriate roborev command:
roborev review --dirty --waitroborev review --branch --waitroborev review --waitroborev review $ARGUMENTS --waitWait for the review to complete (the --wait flag handles this)
Report the review results to the user, summarizing:
/roborev-review - Review the current HEAD commit/roborev-review dirty - Review uncommitted changes/roborev-review branch - Review the current branch/roborev-review abc123 - Review a specific commitBased on the review verdict, suggest appropriate next steps:
| Verdict | Suggested Action |
|---|---|
| Pass | No action needed |
| Fail (minor) | Use /roborev-address to fix specific findings |
| Fail (multiple) | Use /roborev-refine for automated fix loop |
| Questions | Use /roborev-respond to answer reviewer questions |
/roborev-show - View existing review without re-running/roborev-address - Fix findings from a failed review/roborev-respond - Reply to reviewer questions/roborev-refine - Automated review-fix-repeat loop