Review
Review all staged and unstaged changes in the current repository.
Steps
- Run
git diffandgit diff --stagedto collect all changes. - For each changed file, analyze:
- Correctness: Logic errors, off-by-one mistakes, missing error handling.
- Style: Adherence to Rust idioms, naming conventions, code formatting.
- Safety: Unwrap usage, potential panics, unsafe blocks.
- Testing: Whether new code paths have corresponding tests.
- Check that commit messages (if any) follow Conventional Commits format.
- Report findings grouped by severity: errors, warnings, suggestions.
- If no issues are found, confirm the changes look good.