Rust Review
Rust specialist code review — ownership, lifetimes, error handling, unsafe usage
Invoke the rust-reviewer agent to perform a comprehensive Rust code review.
If an argument is provided and is a number, treat it as a GitHub PR number.
If no argument, review local uncommitted changes (git diff --staged and git diff).
The agent will:
- Establish review scope
- Run
cargo clippy,cargo fmt --checkif available - Review against Rust checklist (safety, ownership, lifetimes, error handling)
- Report findings with severity levels and approval verdict