Ships in rust. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow idiomatic Rust practices and community standards when writing Rust code.
These instructions are based on The Rust Book, Rust API Guidelines, RFC 430 naming conventions, and the broader Rust community at users.rust-lang.org.
Result<T, E> and provide meaningful error messages.mod) and public interfaces (pub) to encapsulate logic.?, match, or if let.serde for serialization and thiserror or anyhow for custom errors.async/await and tokio or async-std.main.rs vs lib.rs) for testability and reuse.rayon for data parallelism and CPU-bound tasks.&str instead of String for function parameters when you don't need ownership.&T) over cloning unless ownership transfer is necessary.&mut T when you need to modify borrowed data.Rc<T> for single-threaded reference counting and Arc<T> for thread-safe reference counting.RefCell<T> for interior mutability in single-threaded contexts and Mutex<T> or RwLock<T> for multi-threaded contexts.unwrap() or expect() unless absolutely necessary—prefer proper error handling.Result instead.unsafe unless required and fully documented.clone(), use borrowing instead of cloning unless ownership transfer is needed.collect(), keep iterators lazy until you actually need the collection.rustfmt for automatic formatting.///.cargo clippy to catch common mistakes and enforce best practices.Result<T, E> for recoverable errors and panic! only for unrecoverable errors.? operator over unwrap() or expect() for error propagation.thiserror or implement std::error::Error.Option<T> for values that may or may not exist.Eagerly implement common traits where appropriate:
Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Display, DefaultFrom, AsRef, AsMutFromIterator and ExtendSend and Sync are auto-implemented by the compiler when safe; avoid manual implementation unless using unsafe codebool parametersOption<T> appropriately for truly optional valuesDeref and DerefMutDebug#[cfg(test)] modules and #[test] annotations.mod tests { ... }).tests/ directory with descriptive filenames./// comments) following the API Guidelines.#[doc(hidden)] to hide implementation details from public documentation.? operator, not unwrap() or deprecated try! macro.Cargo.toml.description, license, repository, keywords, categories.mod.rs or named files.main.rs or lib.rs minimal - move logic to modules.Before publishing or reviewing Rust code, ensure:
Debug, Clone, PartialEq where appropriateResult<T, E> and provides meaningful error typesunsafe code, proper error handlingcargo fmt, cargo clippy, and cargo testWhat SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
Generated from the plugin's indexed repository (pontiusthebarbarian/claude-skills) — no native marketplace selected
npx claudepluginhub p/pontiusthebarbarian-rust-plugins-rust