44 deterministic Claude skills for Rust 1.85+, edition 2024, across 5 categories. Each skill is a SKILL.md under 500 lines plus three reference files (methods.md, examples.md, anti-patterns.md).
| Category | Skills | Focus |
|---|---|---|
| core | 6 | Architecture, runtime model, cross-cutting concerns |
| syntax | 15 | Language mechanics, API syntax, code patterns |
| impl | 13 | Development workflows, end-to-end implementations |
| errors | 7 | Error codes, debugging, recovery recipes |
| agents | 3 | Routing, code review, compile-error iteration |
| Total | 44 |
| Skill | Description |
|---|---|
rust-core-async-runtime |
Conceptual overview of Rust async: the Future trait, executors, Send across .await, Pin/Unpin overview, runtime choice (tokio/async-std/smol/embassy), structured concurrency. |
rust-core-language-versions |
Rust editions (2015/2018/2021/2024), MSRV, version matrix 1.65 to 1.87, channels (stable/beta/nightly), what stabilized when, edition migration. |
rust-core-memory-model |
Conceptual memory overview: ownership, move vs copy vs clone, drop semantics, RAII, stack vs heap, smart pointer choice, interior mutability, Send/Sync. |
rust-core-stdlib-overview |
Map of the standard library: which std module provides what, the prelude, the core/alloc/std split, no_std switch, hash-DoS resilience. |
rust-core-toolchain |
The toolchain: rustup (channels, components, targets), cargo subcommands, rustc flags, clippy lint categories, rustfmt, MSRV management. |
rust-core-type-system |
Type system fundamentals: nominal typing, zero-sized types, repr attributes, niche optimization, primitives, the never type, type-state, const generics. |
| Skill | Description |
|---|---|
rust-syntax-ownership |
Ownership-transfer compile errors, move semantics, Copy / Clone / Drop choice, E0382 / E0507 / E0509, ownership-transfer API design. |
rust-syntax-borrowing |
Borrow-checker rules, & vs &mut, NLL, two-phase borrows, reborrowing, split borrows, interior mutability (Cell / RefCell / Mutex). |
rust-syntax-lifetimes |
Lifetime annotations, the three elision rules, 'static two senses, HRTB, lifetime subtyping, variance, edition-2024 RPIT precise-capturing. |
rust-syntax-traits |
Trait definition, default methods, supertraits, marker traits, blanket impls, sealed traits, orphan rule + coherence, inherent vs trait impl. |
rust-syntax-generics |
Generic functions / types / impl blocks, trait bounds, where clauses, const generics, monomorphization vs dyn dispatch trade-offs. |
rust-syntax-trait-objects |
dyn Trait, object safety, vtables, impl Trait vs dyn Trait, trait upcasting (1.86), precise capturing in trait definitions (1.87). |
rust-syntax-gats |
Generic Associated Types: type Item<'a>, the LendingIterator pattern, callback registries, type-parameter-by-lifetime families. |
rust-syntax-pattern-matching |
match, if let, let else, while let, if-let chains, destructuring, ref / ref mut, guards, or-patterns, range patterns. |
rust-syntax-iterators-closures |
Iterator chains and adapters, manual Iterator impl, Fn / FnMut / FnOnce, move closures, disjoint captures, async closures (1.85). |
rust-syntax-smart-pointers |
Box / Rc / Arc / RefCell / Cell / OnceCell / OnceLock / LazyLock / Weak / Pin, reference counting, lazy globals, breaking cycles. |
rust-syntax-async-await |
async fn, .await, AFIT / RPITIT (1.75), async closures (1.85), Future contract, deep Pin/Unpin reference, Send across .await. |
rust-syntax-macros-declarative |
macro_rules!, fragment specifiers, repetition, hygiene, $crate, TT-munching recursion, edition-2024 expr widening. |
rust-syntax-macros-procedural |
Derive / attribute / function-like proc-macros, proc_macro + proc_macro2 + syn + quote, span-aware error reporting. |
rust-syntax-unsafe |
The 8 superpowers, undefined-behavior enumeration, strict provenance (1.84), unsafe_op_in_unsafe_fn (2024), // SAFETY: discipline, miri. |
rust-syntax-edition-2024 |
All 13 edition-2024 changes: RPIT lifetime capture, never-type fallback, unsafe extern, unsafe attributes, prelude, migration. |
| Skill | Description |
|---|---|
rust-impl-cargo-project |
New Cargo crate, Cargo.toml structure, dependencies, features (additive principle), profiles, [patch] / [replace], [lints], MSRV-aware resolver. |
rust-impl-workspaces |
Cargo workspaces, [workspace.dependencies] inheritance, member crates, resolver 2 vs 3, dependency-drift prevention. |
rust-impl-error-handling |
Result-returning APIs, Result vs panic, the ? operator + From conversion, custom error types, core::error::Error (1.81). |
rust-impl-async-tokio |
tokio runtime setup, task spawning, select!, timeouts, cancellation, JoinSet structured concurrency, runtime flavor choice. |
rust-impl-channels |
std::sync::mpsc, tokio::sync mpsc / oneshot / broadcast / watch, crossbeam-channel, flume, backpressure patterns. |
rust-impl-concurrency |
Mutex / RwLock / atomics, Arc<Mutex<T>> patterns, Mutex poisoning, scoped threads (1.63+), the Ordering enum. |
rust-impl-serde |
Serialize / Deserialize derives, custom impls, enum representations, flatten / with / rename_all, JSON / TOML / YAML / bincode. |
rust-impl-clap-cli |
CLIs with clap 4.x, derive Parser API and builder API, subcommands, custom value parsers, env-var fallback, shell completions. |
rust-impl-build-scripts |
build.rs, code generation into OUT_DIR, native library linking, cargo:rerun-if-changed, cargo:rustc-cfg, build-time detection. |
rust-impl-cross-compile |
Cross-compiling to other target triples, rustup target add, the cross crate, per-target linker config, cfg(target_os) guards. |
rust-impl-testing |
Unit / integration / doc tests, async tests, criterion benches, cargo nextest, #[should_panic]. |
rust-impl-ffi-bindgen |
C FFI both directions (bindgen, cbindgen), extern "C", #[repr(C)], opaque pointers, BorrowedFd / OwnedFd. |
rust-impl-no-std |
#![no_std], embedded targets, the alloc crate, #[panic_handler], #[global_allocator], hybrid std + no_std libraries. |
| Skill | Description |
|---|---|
rust-errors-borrow-checker |
Borrow-checker codes E0382 / E0502 / E0596 / E0499 / E0500 / E0716, move-after-use, conflicting borrows, fix recipes. |
rust-errors-lifetimes |
Lifetime codes E0106 / E0623 / E0495 / E0700 / E0759 / E0515, elision failures, the 2024 RPIT capture change. |
rust-errors-trait-bounds |
Trait codes E0277 / E0599 / E0220 / E0308 / E0282, "trait bound not satisfied", "method not found", the 1.84 next-gen trait solver. |
rust-errors-async |
"future is not Send", Pin/Unpin errors, lifetime errors in async fn, "cannot move out of pinned", AFIT dyn-dispatch limits. |
rust-errors-build-link |
Linker errors, "undefined reference", missing native libraries, duplicate symbols, MSRV mismatch, feature-unification surprises. |
rust-errors-runtime |
Runtime panics: index out of bounds, unwrap on None/Err, integer overflow, division by zero, unwind vs abort, catch_unwind. |
rust-errors-thiserror-anyhow |
Choosing an error crate: thiserror for structured library errors, anyhow for opaque application errors, combining and migrating. |
| Skill | Description |
|---|---|
rust-agents-orchestrator |
Routing table mapping a user prompt to the right rust-* skill, plus the cross-skill quality checklist run at task completion. |
rust-agents-code-reviewer |
Reviewing Rust code for quality: clippy lint categories, naming idioms, error-handling hygiene, async correctness, memory patterns. |
rust-agents-compile-fix |
Iterating on rustc compile errors: reading a diagnostic, fix order, apply-vs-inspect a suggestion, when to stop and ask. |
The skills are designed to be read in dependency order : core provides the conceptual base, syntax builds language mechanics on it, impl composes workflows, errors covers failure modes, and agents orchestrates the rest.
core -> syntax -> impl -> errors -> agents
rust-agents-orchestrator cross-references all 43 other skills as the routing entry point.
- Tauri-2-Claude-Skill-Package : desktop-app patterns built on the Rust language foundation here.
- Future : Axum / Actix (web), embedded-rust (HAL crates), WASM-specific packages.