<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
moeryomenko/dotfiles/rust
──Details
PublishedOctober 23, 2026 at 07:30 AM
Content Hashsha256:a64c3e1ba32aa09b...
Git SHAe33f15d964e4
──Files
Files (1 file, 3.7 KB)
SKILL.md3.7 KBactive
SKILL.md · 56 lines · 3.7 KB

version: "1.0.0" name: rust description: Use for Rust implementation, review, API design, async/concurrency, Cargo, testing, performance, unsafe code, or Rust domain work. Select only the guidance relevant to the target crate and decision. invocation_policy: automatic


Rust Skill Router

Before proposing Rust code, inspect the target crate's Cargo.toml, workspace configuration, rust-version, edition, selected toolchain, enabled dependency features, and relevant runtime or framework. Treat local compiler availability as distinct from the crate's MSRV. Mark nightly-only, version-sensitive, and crate-specific guidance explicitly.

Use repository conventions when they are compatible with Rust's safety and correctness requirements. Preserve public API and serialized-data compatibility unless a breaking change is intended. Prefer a small, sound change over a generic abstraction or performance optimization that has not been justified by the workload.

Load by decision

WorkLoad
Ownership, borrowing, interior mutability, Copy/Clonefeatures/ownership.md
Result, Option, error types, propagation, contextfeatures/error-handling.md
Resource acquisition, Drop, guards, pools, transactionsfeatures/lifecycle.md
Unsafe, FFI, raw pointers, MaybeUninit, Send/Syncfeatures/unsafe.md
Public APIs, builders, compatibility, #[must_use]features/api-design.md
Traits, generics, dispatch, dyn compatibilityfeatures/traits.md, features/zero-cost.md
Type-state, newtypes, invariants, PhantomDatafeatures/type-safety.md, features/type-driven.md
Async runtime, cancellation, channels, spawningfeatures/async.md
Threads, locks, atomics, parallelismfeatures/concurrency.md
Errors across boundaries, retries, resiliencefeatures/domain-error.md
Numeric representation, overflow, floatsfeatures/numeric.md
Serialization and deserializationfeatures/serde.md
Tests, property tests, concurrency testsfeatures/testing.md
Documentation and doctestsfeatures/documentation.md
Macrosfeatures/macros.md
Const evaluation and const genericsfeatures/const-compiletime.md
Conversionsfeatures/conversions.md
Pattern matchingfeatures/patterns.md
Collections and memory layout/allocationfeatures/collections.md, features/memory.md
Measured runtime or build optimizationfeatures/performance.md, features/optimization.md
Lints, modules, dependencies, Cargo/workspacesfeatures/linting.md, features/project-structure.md, features/ecosystem.md
Logging, tracing, diagnosticsfeatures/observability.md
Domain modelsfeatures/domain-modeling.md
Common review risksfeatures/anti-patterns.md

Domain guidance

Load a domain skill alongside the feature guidance that governs the concrete decision:

DomainLoadAlso consider
HTTP services and clientsdomain-web/SKILL.mdasync, concurrency, error handling, observability
Command-line applicationsdomain-cli/SKILL.mderror handling, project structure, async when applicable
Financial systemsdomain-fintech/SKILL.mdnumeric, domain modeling, error handling, observability

Shared boundary model

At external boundaries, validate and convert untrusted data into domain types. Add error context at meaningful semantic or ownership transitions, propagate errors until a deliberate handling boundary, and report or log there without duplicating the same failure at every layer. Select synchronization, representation, dependencies, and optimization from the required semantics and measured workload rather than from a universal default.

All versions