src/maverick/skills/maverick_rust_clippy/SKILL.md
Rust Clippy lints and common fixes
npx skillsauth add get2knowio/maverick maverick-rust-clippyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
// BAD
let s = String::from("hello");
let s2 = s.clone();
drop(s); // s never used again
// GOOD
let s = String::from("hello");
let s2 = s; // Move instead of clone
// BAD
foo(&mut &mut x);
// GOOD
foo(&mut x);
Box large enum variants to reduce enum size.
development
Rust unsafe code, FFI, and safety invariants
development
Rust testing patterns (unit, integration, property-based)
development
Rust performance optimization and zero-cost abstractions
development
Rust ownership, borrowing, and lifetimes