"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 绑定, 未定义行为"
8.6
Rating
0
Installs
Security
Category
Excellent unsafe Rust review skill with comprehensive coverage. The Description is rich with keywords (unsafe, FFI, transmute, etc.) making it highly discoverable. SKILL.md provides an outstanding quick reference with tables for valid use cases, safety requirements, common errors, and deprecated patterns. The structure is exemplary: concise overview in SKILL.md with 40+ detailed rule files organized by category (ffi-, mem-, ptr-, safety-, etc.). Task knowledge is comprehensive, covering when unsafe is valid, required documentation patterns, safety requirements per operation, and practical FFI tooling. Novelty is strong—unsafe code review requires deep expertise in soundness, UB, and memory safety that would consume many tokens for a CLI agent to reason through correctly. The skill meaningfully reduces cost by codifying domain expertise into reusable checklists and rules. Minor improvement: could explicitly state in SKILL.md how to invoke the detailed rules (though the organized rules/ directory implies this).
Loading SKILL.md…