neo-rust — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited neo-rust (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Write safe, maintainable, and idiomatic Rust code by strictly following the official design patterns, leveraging Rust's powerful type system, and avoiding anti-patterns.
In an async function, using the standard library's std::sync::Mutex and holding its MutexGuard across an .await boundary will cause a compiler error because MutexGuard does not implement Send and cannot be transferred across threads.
{} to limit the MutexGuard lifetime before the .await, or use tokio::sync::Mutex instead.To satisfy the Borrow Checker, beginners often call .clone() excessively, which introduces significant memory allocation and copy overhead.
&str instead of String, &[T] instead of Vec<T>), or refactor ownership structures and lifetimes.Using .unwrap() or panic!() directly in library or production-grade code will cause the application to crash, violating Rust's safety-first principle.
Result<T, E> or Option<T> for graceful error propagation, and use the ? operator or match expression to handle them.Progress:
Cargo.toml and .rs files exist in the project, and clarify whether the task is "feature development", "refactoring", or "Code Review").reference/patterns.md and reference/coding-style.md for writing new code, and load reference/anti-patterns.md for reviews and debugging).cargo check and cargo clippy. Fix any warnings or errors until compilation passes cleanly without warnings).cargo fmt to format the code according to official guidelines, and present output using the Output Templates).Cargo.toml exists.To save context space, only this SKILL.md is loaded initially. Once executing the task, the Agent must load the following resources:
Verify newly written or modified Rust code to ensure it is 100% compilable:
cargo check to verify syntax and type checking.cargo clippy --all-targets -- -D warnings to perform strict static analysis and catch potential code smells.stderr compiler errors or Clippy suggestions.Present your output using the following structured templates depending on the task type.
# Rust Code Review Report
## 1. Executive Summary
* **Score**: [1-10 rating]
* **Summary**: [Overall feedback on code quality, ownership usage, and error handling]
## 2. Findings
> [!IMPORTANT]
> Order findings by severity (Error > Warning > Info).
* **[Severity] Location: `src/main.rs:L12` - [Finding Title]**
* **Description**: [Why is this an issue? Which Rust best practice is violated?]
* **Recommendation**:// Idiomatic Rust example demonstrating the fix
## 3. Top 3 Recommendations
1. [First actionable improvement]
2. [Second actionable improvement]
3. [Third actionable improvement]# Rust Implementation / Refactoring Summary
## 1. Overview of Changes
[Briefly summarize what Rust modules, structs, or traits were added or refactored]
## 2. Applied Design Patterns & Best Practices
* [e.g., Applied the Typestate Pattern to ensure state safety]
* [e.g., Replaced `.clone()` with `&str` for performance gains]
## 3. Local Verification Results
- [x] `cargo check` passed
- [x] `cargo clippy` passed with zero warnings
- [x] `cargo fmt` completed successfully
## 4. Next Steps
1. [Recommended next action, e.g., run cargo test]
2. [Other relevant suggestions]~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.