"Use when reviewing unsafe code or writing FFI. Keywords: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, MaybeUninit, NonNull, PhantomData, Send, Sync, SAFETY comment, soundness, undefined behavior, UB, how to call C functions, safe wrapper for unsafe code, when is unsafe necessary, memory layout, bindgen, cbindgen, CString, CStr, invariant, 安全抽象, 裸指针, 外部函数接口, 内存布局, 不安全代码, FFI 绑定, 未定义行为"
5.5
Rating
0
Installs
Security
Category
Strong reference skill for unsafe Rust and FFI with clear quick-reference tables covering valid use cases, safety requirements, common errors, and deprecated patterns. The description effectively signals when to invoke it. The tabular format provides actionable guidance that would help an agent or developer quickly verify unsafe code patterns. Novelty is moderate since while the skill organizes information well, much of this guidance could be retrieved through documentation queries, though the consolidated checklist format does reduce review overhead for complex unsafe code audits.
Loading SKILL.md…