UniFFI by Mozilla — generates idiomatic Kotlin, Swift, Python, and Ruby bindings
from a Rust crate.
“编程与软件开发”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
UniFFI by Mozilla — generates idiomatic Kotlin, Swift, Python, and Ruby bindings
from a Rust crate. Covers UDL definition, proc-macro mode, async support, callback
interfaces, error handling, custom types, and the Kotlin Multiplatform fork
(uniffi-kotlin-multiplatform-bindings) used by BDK, Breez SDK, CDK, LWK.
USE WHEN: user mentions "UniFFI", "Rust to Kotlin", "Rust to Swift", "FFI bindings",
"uniffi-rs", "UDL file", "uniffi-bindgen", "BDK bindings", "Breez SDK bindings",
"kotlin-multiplatform-bindings", "Mozilla UniFFI"
DO NOT USE FOR: Raw C FFI - use `languages/swift` interop quick-ref + Rust core
DO NOT USE FOR: WebAssembly bindings - use wasm-bindgen
DO NOT USE FOR: Flutter/Rust bridge - use `flutter_rust_bridge` skill if exists
DO NOT USE FOR: React Native - use `uniffi-bindgen-react-native` (out of scope here)