Provides comprehensive best practices and implementation patterns for writing production-grade Rust code based on industry standards.
This skill equips Claude with specialized knowledge of Microsoft's Pragmatic Rust Guidelines and community-proven patterns for ownership, type-driven design, and error handling. It helps developers navigate complex Rust concepts like lifetimes, smart pointers, and trait objects while enforcing consistent naming, documentation, and module visibility standards. Whether refactoring legacy code or architecting new systems, this skill ensures Rust projects are safe, idiomatic, and maintainable by providing structured guidance on everything from crate organization to resource lifecycle management (RAII).
主な機能
01In-depth guidance on ownership, lifetimes, and smart pointer selection
020 GitHub stars
03Standardized error handling strategies using thiserror and anyhow
04API design principles for robust and ergonomic Rust libraries
05Advanced type-driven design patterns like Type State and Newtype
06Standardized documentation and naming conventions for Rust crates
ユースケース
01Refactoring existing Rust code to follow idiomatic community patterns
02Architecting new Rust APIs using type-driven design to prevent runtime errors
03Onboarding teams to standardized Rust coding and error handling styles