rust-best-practice
"""Best practices and patterns for writing idiomatic Rust code.
When & Why to Use This Skill
This Claude skill provides comprehensive guidance on writing idiomatic Rust code, focusing on industry best practices, design patterns, and the selection of top-tier third-party crates from lib.rs to ensure code quality, safety, and maintainability.
Use Cases
- Refactoring existing Rust projects to align with modern idiomatic standards and performance optimizations.
- Performing automated code reviews to detect non-idiomatic patterns, memory safety risks, and common anti-patterns.
- Evaluating and selecting the most reliable third-party crates by analyzing download trends and maintenance status via lib.rs integration.
- Assisting developers in implementing complex Rust patterns such as ownership, borrowing, and trait-based generics correctly.
| name | rust-best-practice |
|---|
Third party crates
Fetch https://lib.rs/ for popular and well-maintained crates. Prefer crates with high download counts and recent updates.