소개
This skill provides Claude with expert-level guidance on architecting resource lifecycles within Rust applications, focusing on efficiency and safety. It enables the implementation of core patterns such as Resource Acquisition Is Initialization (RAII) via the Drop trait, thread-safe lazy initialization using OnceLock and LazyLock, and robust connection pooling. By applying these patterns, developers can ensure that files, database connections, and memory allocations are handled with deterministic cleanup, preventing leaks and race conditions while optimizing application performance through deferred creation and resource reuse.