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★ 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), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…