Skip to content
Development
Command

/rust-review

Expert-level Rust audits for safety and correctness.

From plugin
claude-night-market
337162 skills59 agents162 commands1 MCP
Install
> /plugin marketplace add athola/claude-night-market

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/rust-review

Context preview

What this command does when you run it.

Expert-level Rust audits for safety and correctness.

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
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.

Get the whole plugin

Other commands on claude-night-market.