What problem does it solve?
This Skill helps reviewers catch correctness, safety, and API-design problems in Rust code before they reach production, especially issues that compile but still behave badly.
Core Features & Use Cases
- Ownership and Borrowing: Finds clone-heavy fixes, lifetime mistakes, and reference-flow problems.
- Error Handling: Flags unwrap and expect misuse, missing context, and weak error types.
- Async and Concurrency: Checks blocking calls in async code, lock handling across await points, and Send/Sync issues.
- Unsafe and Style Review: Verifies unsafe invariants, clippy patterns, imports, and public API design.
- Use Case: Review a pull request in a Rust workspace and return actionable findings with file and line references.
Quick Start
Use the rust-code-review skill to review the changed Rust files in a pull request and report any ownership, borrowing, error-handling, async, unsafe, or trait-design issues you find.