rustler-bindings
БесплатноБез исполняемых скриптовНе проверенRustler NIFs for Elixir: rustler::nif, tagged tuples, dirty schedulers for long work, ResourceArc state, NifStruct types, no panics. Use when writing or…
от Goldziher★ 182 звезды на GitHubОб этом скилле
- Use
#[rustler::nif]for Elixir NIF functions. Use#[module = "Elixir.ModuleName"]for module naming. - Return tagged tuples:
{:ok, value}/{:error, reason}. Use Rustler encoders/decoders for type mapping. - Use
rustler::Errorfor NIF error handling. Map Rust errors to descriptive Elixir error tuples. - Keep NIF functions fast (<1ms) to avoid scheduler issues. Use
#[rustler::nif(schedule = "DirtyCpu")]for long operations. - Build with
mix compile(Rustler compiler). Test from Elixir using ExUnit. - Use
ResourceArc<T>for sharing Rust state across NIF calls. ImplementDropfor cleanup. - Use
#[derive(NifStruct)]and#[derive(NifUnitEnum)]for Elixir-compatible types. - Keep Elixir NIF wrapper thin — business logic in Rust, Elixir provides functional API.
- Handle binary data with
BinaryandOwnedBinarytypes. - Anti-patterns: no panics in NIFs (crashes the BEAM VM), no blocking the scheduler, no I/O in NIFs.
Установить rustler-bindings в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл rustler-bindings?
Rustler NIFs for Elixir: rustler::nif, tagged tuples, dirty schedulers for long work, ResourceArc state, NifStruct types, no panics. Use when writing or reviewing Rustler bindings.
Как установить скилл rustler-bindings?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rustler-bindings запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic