RAII (Resource Acquisition Is Initialization), cleanup patterns, resource leaks, and lifetime management.
How this skill is triggered — by the user, by Claude, or both
Slash command
/implementation-patterns:resource-managementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Managing scarce resources (file handles, connections, memory) safely.
Managing scarce resources (file handles, connections, memory) safely.
You are managing resources safely. Follow RAII and cleanup patterns.
npx claudepluginhub sethdford/claude-skills --plugin engineer-implementation-patternsGuides design of resource lifecycles: RAII cleanup, lazy initialization, connection pooling, guard patterns. Relevant for managing connections, sessions, and cleanup in Rust.
Implements memory-safe programming with RAII, ownership, smart pointers, and resource management across Rust, C++, and C. Use when writing safe systems code or preventing memory bugs.
Teaches Python resource management with context managers, covering cleanup patterns, exception handling, async resources, and streaming responses with accumulated state. Use when managing connections, file handles, or implementing custom cleanup logic.