nvidia/test-ffi-surface
Build and test the NeMo Relay FFI surface; use this for crates/ffi changes, header generation, or ABI-facing validation
npx skills add https://github.com/NVIDIA/NeMo-Relay --skill test-ffi-surface
Use karpathy-guidelines alongside this skill for implementation or review
work. Keep changes scoped, surface assumptions, and define focused validation
before editing.
Use this skill when the change is primarily in crates/ffi, the generated
header, or ABI-facing behavior consumed by Go or external native callers.
in sync.
cargo fmt --all because FFI work is Rust work.just test-rust.cargo clippy --workspace --all-targets -- -D warnings.# Rebuild the shared library with the repo wrapper used by FFI consumers
just build-go
# Required Rust validation
cargo fmt --all
just test-rust
cargo test -p nemo-relay-ffi
cargo clippy --workspace --all-targets -- -D warnings
# Review header drift if the FFI surface changed
git diff -- crates/ffi/nemo_relay.h
test-go-binding.change, also use validate-change.
crates/ffi/Cargo.tomlcrates/ffi/build.rscrates/ffi/cbindgen.tomlcrates/ffi/nemo_relay.hjust build-go.pre-commit-config.yamlREADME.mdvalidate-changeTake nvidia/test-ffi-surface from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.