关于
This skill provides a structured framework for navigating Rust's complex ownership and resource management systems. It guides developers through the selection process for various smart pointers like Box, Rc, and Arc, helps resolve reference cycles with Weak pointers, and implements interior mutability patterns using RefCell or Cell. By applying a decision-tree approach to memory allocation and concurrency, it ensures that Claude assists in writing performant, leak-free, and thread-safe Rust code while avoiding common pitfalls like runtime panics and unnecessary atomic overhead.