sb-dev/openquant / .agents/skills/rust-review
rust-review
VerifiedReview Rust crates, services, or libraries for safe/unsafe boundary issues, memory safety, concurrency hazards, panic-induced denial of service, FFI safety, and async runtime mistakes. Use for a Rust security audit, especially unsafe, FFI, or concurrent code.
upstream/prompts/clusters/async-runtime.md
View on GitHub---
name: cluster-async-runtime
kind: cluster
consolidated: false
covers:
- async-blocking # ASYNCBLOCK
- cancel-safety # CANCELSAFETY
- select-bias # SELECTBIAS
---
# Cluster: Async runtime hazards
ID prefixes: `ASYNCBLOCK`, `CANCELSAFETY`, `SELECTBIAS`.
## Phase A
```
rg seed: "\basync\s+fn\b|\.await\b"
rg seed: "tokio::select!|futures::select!"
rg seed: "std::(sync::(Mutex|RwLock)|fs::|thread::sleep|net::)"
rg seed: "\bfs::(read|write|read_to_string|File|create|metadata|remove_file|remove_dir(_all)?)\s*\(|\bthread::sleep\b|\bTcpStream\b|\bTcpListener\b|\brecv\s*\(\s*\)|\.lock\(\)\s*\.unwrap\(\)|block_in_place|spawn_blocking" # imported/short forms (`use std::fs; fs::read_to_string(..)`, blocking `recv()`, `.lock().unwrap()`) + already-wrapped sites
rg seed: "tokio::sync::(Mutex|RwLock)"
```
Run finders in declared order.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |