Install any skill in seconds. Free to start, no credit card required.
Get Started Free →evgeniiperov/rust-best-practices
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
Passed 22 of 23 test cases with the skill, and 18 of 23 without it.
and 3 more in the full report
4 fixed18 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our Rust team currently uses arbitrary names for unit tests like `test_parser1` or `check_validation`. We want to adopt a standardized, descriptive naming structure for unit test functions. Show a sample test signature for testing that validating a negative age returns an error.
| Checked | Without skill | With skill |
|---|---|---|
| Uses the naming pattern action_should_expected_when_condition for the test function name. | Missed | Passed |
The instructions your model reads when the skill loads.
Apply these guidelines when writing or reviewing Rust code. Based on Apollo GraphQL's Rust Best Practices Handbook.
Before reviewing, familiarize yourself with Apollo's Rust best practices. Read ALL relevant chapters in the same turn in parallel. Reference these files when providing feedback:
&T over .clone() unless ownership transfer is required&str over String, &[T] over Vec<T> in function parametersCopy types (≤24 bytes) can be passed by valueCow<'_, T> when ownership is ambiguousResult<T, E> for fallible operations; avoid panic! in productionunwrap()/expect() outside teststhiserror for library errors, anyhow for binaries only? operator over match chains for error propagation--release flagcargo clippy -- -D clippy::perf for performance hints.iter() instead of .into_iter() for Copy types.collect() callsRun regularly: cargo clippy --all-targets --all-features --locked -- -D warnings
test cases passed, vs 18 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.