unsafe-checker
๐ฏSkillfrom goooice/rust-skills
Identifies and reviews unsafe Rust code patterns, FFI risks, and potential memory unsafety in Rust projects.
Part of
goooice/rust-skills(35 items)
Installation
/plugin marketplace add ZhangHanDong/rust-skills/plugin install rust-skills@rust-skillsnpx skills add ZhangHanDong/rust-skillsgit clone https://github.com/ZhangHanDong/rust-skills.gitSkill Details
"CRITICAL: Use for unsafe Rust code review and FFI. Triggers on: unsafe, raw pointer, FFI, extern, transmute, *mut, *const, union, #[repr(C)], libc, std::ffi, MaybeUninit, NonNull, SAFETY comment, soundness, undefined behavior, UB, safe wrapper, memory layout, bindgen, cbindgen, CString, CStr, ๅฎๅ จๆฝ่ฑก, ่ฃธๆ้, ๅค้จๅฝๆฐๆฅๅฃ, ๅ ๅญๅธๅฑ, ไธๅฎๅ จไปฃ็ , FFI ็ปๅฎ, ๆชๅฎไน่กไธบ"
More from this repository10
Applies the M14 mental model framework to enhance decision-making and strategic thinking through structured cognitive analysis.
Guides developers in choosing zero-cost abstractions by analyzing type system constraints and performance trade-offs in Rust generics and traits.
Optimizes code performance by identifying bottlenecks, measuring impact, and guiding strategic improvements across algorithm, data structure, and memory efficiency.
Performs parallel three-layer meta-cognitive analysis by forking subagents to simultaneously analyze language mechanics, design choices, and domain constraints, then synthesizing results.
Dynamically generates Claude skills for Rust crates, standard library modules, and documentation by extracting and processing technical details from specified URLs.
Provides comprehensive Rust coding guidelines covering naming conventions, best practices, error handling, memory management, concurrency, and code style recommendations.
Performs safe Rust refactoring by analyzing symbol references, checking conflicts, and applying changes across project files using LSP.
Diagnoses and guides resolution of Rust mutability and borrowing conflicts by analyzing ownership, mutation patterns, and thread-safety requirements.
Enables building robust, efficient IoT applications with offline-first design, power-aware networking, and secure device communication using Rust.
Explores and demonstrates type-driven development techniques in Rust, showcasing advanced type system features and pattern matching strategies.