What problem does it solve?
Manually reviewing code changes before committing or merging is time-consuming and easy to skip under pressure. This Skill provides a structured, on-demand review of your current diff or specific files, surfacing bugs, regressions, correctness risks, and missing tests with concrete file and line references.
Core Features & Use Cases
- Flexible Review Targets: Review the current diff by default, or target specific changes using
--last-diff, --target <expr>, --file <path>, or positional file paths.
- Severity-Ordered Findings: Findings are prioritized by severity with concrete file and line references, keeping the high-level summary brief.
- Custom Review Styles: Adjust the review output with the
--style <style> option to match your team's conventions.
- Use Case: Before pushing a branch, run
/review --last-diff to catch a regression and a missing test case in your staged changes before they reach CI.
Quick Start
Ask the assistant to review the current diff by invoking /review, optionally passing flags like --last-diff or --file src/main.rs to scope the review.