What problem does it solve? Rust code often compiles in one configuration while hiding real defects: values lost on async cancellation, unsound safe wrappers over raw pointers, and crates that only build because a workspace sibling enables a missing feature. This Skill provides contract-driven workflows to find and fix those boundary failures instead of papering over compiler errors. ## Core Features & Use Cases - Ownership and error contracts: Design signatures around explicit owner, borrower, and destruction points, with error types that preserve retryable inputs and recovery identity. - Async lifecycle diagnosis: Trace Tokio cancellation, task supervision, Send/Sync bounds, and lock lifetimes to fix lost work, stalls, and detached tasks. - Unsafe and FFI proof review: Audit safe wrappers, raw-slice construction, foreign callbacks, and allocator pairing against documented validity obligations. - Cargo compatibility repair: Fix feature unification defects with isolated consumer builds and verify edition, resolver, and MSRV promises on the declared toolchain. - Use Case: A queue-admission helper silently drops a non-cloneable job when cancellation races a full channel; the Skill guides restructuring the API around Sender::reserve so the original value is returned on cancellation, with tests proving it. ## Quick Start Ask the agent to review your Rust file for cancellation safety, unsafe soundness, or Cargo feature issues, for example: review this Tokio enqueue function and make sure cancellation returns the unsent job to the caller.