/zig:c-interopfrom zig
Guides Zig and C interoperability, covering @cImport, exporting Zig to C, type mappings, translate-c, and linking C libraries.
Ships in zig. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub vinnie357/claude-skills --plugin zig7 skills in this plugin
/allocatorsGuide for Zig memory management and allocators. Use when choosing allocators, managing memory lifecycle, debugging leaks, or understanding arena vs page vs fixed-buffer allocation patterns./buildGuide for the Zig build system and CI integration. Use when configuring build.zig, adding build steps, cross-compiling, managing dependencies, or setting up CI pipelines./languageGuide for Zig core language features. Use when writing Zig code with comptime, error handling, data types, slices, optionals, defer, or following Zig idioms.2 plugins in one repository ship this exact skill · first indexed Aug 22, 2026
Other plugins' skills for the same job