Rust Ownership Borrowing
Design and review Rust ownership, borrowing, lifetimes, and interior mutability so data flow matches the domain model. Use when writing, refactoring, or reviewing Rust code that hits move, borrow checker, aliasing, Clone, Copy, Rc, Arc, RefCell, or lifetime problems.
Rustv0.1.0MITrustownershipborrowinglifetimesborrow-checker
Install
npx skills add LVTD-LLC/skills --skill rust-ownership-borrowingFrom `SKILL.md`
Use this skill to make ownership shape match the program's data flow. Treat borrow-checker errors as design feedback: decide who owns each value, how long access must last, and whether mutation needs exclusivity or a different data shape.