What problem does it solve?
Rust-Skills gives an AI assistant a dense, battle-tested set of rules for writing and reviewing Rust code, reducing ownership mistakes, brittle error handling, async deadlocks, and inconsistent API design.
Core Features & Use Cases
- Idiomatic Rust guidance: Covers ownership, borrowing, error handling, async patterns, memory optimization, performance, naming, type safety, testing, documentation, project structure, linting, and anti-patterns.
- Code review support: Helps spot excessive cloning, improper use of Result and panic, lock handling across await points, and missing docs or lints.
- Design and refactoring help: Useful when creating builders, newtypes, sealed traits, typestate APIs, or cleaner module boundaries in libraries and applications.
- Performance and reliability focus: Reinforces practical patterns for Tokio, channel selection, allocation reduction, profiling-first optimization, and production-safe Rust workflows.
Quick Start
Ask the assistant to review, refactor, or generate Rust code using the rust-skills guidelines for ownership, errors, async behavior, and API design.