Command Palette

Search for a command to run...

Назад к скиллам
скилл № 01646

c-interop

Guide for Zig and C interoperability. Use when importing C headers with @cImport, exporting Zig functions to C, mapping C types, using translate-c, or linking…

БесплатноБез исполняемых скриптов
vinnie357от vinnie357★ 30 звёзд на GitHub

Установить c-interop в Claude Code и Claude Desktop

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

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

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

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

Zig C Interop

Importing C libraries, exporting Zig to C, type mappings, and translate-c.

For type mappings, linking patterns, and string interop examples, see references/c-interop.md.

Anti-fabrication

This skill follows core:anti-fabrication. Verified against zig 0.16.0 (locally installed, claude-skills-204): references/c-interop.md's type mappings and linking snippets compile as documented — no corrections needed here. A related claim, that @cImport emits a deprecation warning, was found wrong and corrected, but that claim lived in the troubleshooting skill's compiler-error catalog, not in this file. Re-verify against a locally installed zig build-exe with a real C header before asserting a type mapping this skill doesn't cover — Zig is pre-1.0 and translate-c behavior has changed across minor releases.

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

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

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

Вложенные файлы

  • references/c-interop.md

FAQ

Что делает скилл c-interop?

Guide for Zig and C interoperability. Use when importing C headers with @cImport, exporting Zig functions to C, mapping C types, using translate-c, or linking C libraries.

Как установить скилл c-interop?

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

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

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

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

Сравнить c-interop с