Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ffi-and-language-interop

БесплатноБез исполняемых скриптовНе проверен

FFI boundaries: single pointer ownership, opaque handles, null checks, allocate/free pairs, generated C headers, stable ABI and struct layouts, error and…

Goldziherот Goldziher★ 182 звезды на GitHub

Об этом скилле

  • Every pointer has one owner, documented with SAFETY comments or host-language ownership docs.
  • Use opaque handles across native boundaries. Do not expose Rust, C++, or host-runtime internals directly.
  • Check all nullable pointers before use and return explicit errors for invalid handles or null inputs.
  • Provide allocate/free pairs for every caller-owned allocation and document which side frees each value.
  • Every unsafe block must state the invariant, why it holds, and what would make it invalid.
  • Generate C headers or native declarations from source when possible, and make CI verify generated files are current.
  • Treat the C ABI or equivalent native ABI as the stable contract for downstream bindings.
  • Freeze native struct layouts across compatible releases, and version breaking ABI changes deliberately.
  • Convert native errors to host exceptions, result objects, or idiomatic error values at every boundary.
  • Preserve diagnostic context across boundaries: message, numeric code when available, source operation, and cause chain.

Установить ffi-and-language-interop в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ffi-and-language-interop?

FFI boundaries: single pointer ownership, opaque handles, null checks, allocate/free pairs, generated C headers, stable ABI and struct layouts, error and context conversion. Use when writing or reviewing native interop.

Как установить скилл ffi-and-language-interop?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ffi-and-language-interop запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ffi-and-language-interop с