Mental-model reset for Rust. Use when writing or reviewing Rust code to shift from "it compiles" to "thinks in Rust." Triggers on Rust code review, "is this idiomatic", borrow-checker errors, API design, domain modeling, ownership, lifetimes, errors, traits, async/Tokio, unsafe, serde, FFI, tests, performance, Cargo structure, .rs files, Cargo.toml, rustc diagnostics, clippy findings, Result/Option, thiserror vs anyhow, newtype, typestate, enum vs trait, dyn Trait, Send/Sync, Pin, Miri, PyO3, napi-rs, cxx, UniFFI, wasm-bindgen, serde attributes, or feature unification.
$npx -y skills add joshuadavidthomas/agent-skills --skill rustInstalls into the current project.
Run `npx skills use "https://github.com/joshuadavidthomas/agent-skills" --skill "joshuadavidthomas/agent-skills/rust"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/joshuadavidthomas/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/joshuadavidthomas/agent-skills"` and select the relevant skills, then follow their instructions.