rust-review

Community

Deep-dive Rust audits for ownership, concurrency, and 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/Option usage, custom error types, and propagation.
  • Concurrency & Async: Reviews Arc, Mutex, tokio::sync primitives, and Send/Sync bounds.
  • Unsafe & FFI Audit: Documents invariants for unsafe blocks and audits extern "C" interfaces.
  • Cargo Dependencies: Runs cargo tree -d, cargo audit, cargo outdated to 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 unsafe blocks 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 required

Components

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.
View Source Repository