rust-review
CommunityDeep-dive Rust audits for ownership, concurrency, and safety.
Software Engineering#code review#performance#ownership#concurrency#rust#cargo#unsafe#software safety
Authorathola
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rust's unique ownership and concurrency model, along with the potential for unsafe code, requires specialized review to ensure correctness and safety. This skill performs in-depth Rust audits with reproducible evidence.
Core Features & Use Cases
- Borrowing & Lifetimes: Inspects for unnecessary clones,
Rc<RefCell<_>>misuse, and suggests borrowing patterns. - Error Handling: Evaluates
Result/Optionusage, custom error types, and propagation. - Concurrency & Async: Reviews
Arc,Mutex,tokio::syncprimitives, andSend/Syncbounds. - Unsafe & FFI Audit: Documents invariants for
unsafeblocks and auditsextern "C"interfaces. - Cargo Dependencies: Runs
cargo tree -d,cargo audit,cargo outdatedto spot issues. - Use Case: Review a critical Rust library to ensure correct ownership and lifetime management, identify potential data races in concurrent code, and audit any
unsafeblocks for adherence to invariants.
Quick Start
Run git-workspace-review and review-core to establish context, then use this skill to inspect borrowing and lifetimes in your Rust diffs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rust-review Download link: https://github.com/athola/claudenomicon/archive/main.zip#rust-review Please download this .zip file, extract it, and install it in the .claude/skills/ directory.