Skip to content
Development
Command

/rust-review

Expert-level Rust audits for safety and correctness.

From plugin
claude-night-market
343162 skills60 agents162 commands1 MCP
> /plugin marketplace add athola/claude-night-market

Command definition

rust-review.md
name: rust-review
description: Expert-level Rust audits for safety and correctness.

Rust Review Command

Expert-level Rust audits for safety and correctness.

Usage

/rust-review

What It Does

Invoke `Skill(pensive:rust-review)`, which carries the audit workflow and the output format. The dimensions below are what this command reviews.

1. **Borrowing & Lifetimes**: Check ownership patterns 2. **Error Handling**: Evaluate Result/Option usage 3. **Concurrency**: Review async and sync primitives; flag multi-task orchestration torn down with consecutive `JoinHandle::abort()` calls around an `mpsc`-shared sink (suggest a single `select!` loop when branches are cancel-safe) 4. **Unsafe & FFI**: Audit unsafe blocks 5. **Traits & Generics**: Check API design 6. **Cargo Dependencies**: Scan for issues 7. **Idiomatic Type Use**: Conversions (`From`/`TryFrom` over `Into`/`TryInto`, no discarded `try_into().unwrap()`), deref-coercion parameters (`&str`/`&[T]`/`&Path` over `&String`/`&Vec<T>`/`&PathBuf`), and elision (needless lifetimes, explicit `-> ()` unit returns) 8. **Memory & Allocation**: Flag unbounded collections fed from external sources (cap with a named `MAX_*` const), hot-path recompute that should be memoized behind a generation counter, and serial blocking I/O in loops over unbounded sets (bound concurrency, add per-call timeouts)

Scope

  • Ownership correctness
  • Memory safety
  • Thread safety
  • FFI boundaries
  • Dependency security

Output

  • Safety audit results
  • Concurrency analysis
  • Unsafe block documentation
  • Dependency scan
  • Recommendations
Read more
@athola
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

343200 skills60 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
343
Star history of athola/claude-night-market on GitHub, a chart by star-history.com

Other commands on claude-night-market.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command