Registry / ferroxlabs

ferroxlabs/wayland/rust-ffi-patterns

Guides advanced Rust FFI design: C interop with extern, unsafe patterns, bindgen for header generation, cross-language memory management, and safe wrapper design. Use when the user asks about Rust FFI, extern C, unsafe, bindgen, cbindgen, cross-language memory, safe wrappers. Do NOT use when the user asks about Rust ownership (use `rust-ownership-patterns`), Rust performance (use `rust-performance`), Rust project setup (use `rust-project-setup`).

Agent skill · version 0.13.2 · from FerroxLabs/wayland

Install

npx yarkr-cli add skill:ferroxlabs/wayland/rust-ffi-patterns

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:ferroxlabs/wayland/rust-ffi-patterns
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:ferroxlabs/wayland/rust-ffi-patterns

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:ferroxlabs/wayland/rust-ffi-patterns

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.