Skip to content
Development
Command

/rust-review

Expert-level Rust audits for safety and correctness.

From plugin
claude-night-market
325163 skills59 agents163 commands1 MCP
Install
$ npx -y skills add athola/claude-night-market --agent claude-code

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

Rust Review Command

Expert-level Rust audits for safety and correctness.

Usage

/rust-review

What It Does

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, auto-invoked
Stats
325
Stars
0
Views
35
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: athola/claude-night-market