/zig:zigfrom zig
Guides Zig development: writing code, setting up projects, and migrating between pre-1.0 versions. Tracks breaking changes across Zig 0.14.x-0.16.0 with version-aware references.
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.
Entry point for Zig development. Provides an overview, version awareness, and routes to focused skills.
This skill follows core:anti-fabrication. Zig is pre-1.0 with every minor release
breaking std and build APIs, so version-migration claims are the highest-risk content
in this plugin. Verified against zig 0.16.0 (locally installed, claude-skills-204) by
compiling the documented snippets: references/migration-0.16.md's claim that
std.c.arc4random_buf is BSD/Darwin-only was refuted by its own citation (lib/std/c.zig
covers Linux/Android too) and corrected to a compile-probed target table, and
references/version-history.md's listing of fmt.bufPrintZ under "Renamed" was
corrected — it is still present, deprecated in favor of bufPrintSentinel. Re-verify
against a locally installed zig version before asserting a std API claim this skill
doesn't cover — see plugins/languages/zig/skills/sources.md for the full per-claim
record.
This plugin provides focused skills for specific Zig topics:
Zig is pre-1.0: every minor release carries breaking changes. Run zig version
first and match guidance to the installed toolchain. This plugin documents
0.16.0 (current stable, released 2026-04-13); 0.15.x and 0.14.x notes are
retained for migration. Check https://ziglang.org/download/index.json for the
release list — GitHub tags lag behind (they stop at 0.15.2).
When borrowing an upstream example, compare it with that project's source and
compiler manifest at a pinned commit. Report any disagreement with general or
official documentation and follow the consuming project's existing pin; do not
silently change its toolchain. For example, Ghostty commit
44f2a44
records Zig 0.16.0 even when Ghostty's official build documentation still
describes 0.15.2.
| Version | Template | Highlights |
|---|---|---|
| 0.16.0 | templates/0.16.0/mise.toml | std.Io async architecture (all blocking ops take io, io.async/Future, Io.Threaded), @cImport deprecated for b.addTranslateC(), @Type replaced by dedicated builtins, "juicy main" main(init: std.process.Init), sync primitives moved to std.Io.* |
| 0.15.2 | templates/0.15.2/mise.toml | std.Io Reader/Writer redesign ("Writergate"), unmanaged std.ArrayList default, usingnamespace and async/await removed, top-level root_source_file removed from build options, {f} format specifier, self-hosted x86_64 Debug backend |
| 0.14.1 | templates/0.14.1/mise.toml | Managed std.ArrayList, root_module introduced (old fields deprecated), build.zig.zon fingerprint + enum-literal name |
The full breaking-change tables and 0.14 → 0.15 migration checklist live in
references/version-history.md. For concrete 0.15 → 0.16 before/after code
snippets (sync primitives, Reader API, ArrayList, ordered maps, C interop,
process API, macOS 26 build) see references/migration-0.16.md.
# Install via mise (pin the exact version)
mise use [email protected]
# Create a new project
mkdir myproject && cd myproject
zig init # add --minimal for just a build.zig.zon stub (0.15+)
Copy templates/0.16.0/mise.toml into the project for build/test/fmt/watch
tasks. Projects pinned to older toolchains use templates/0.15.2/mise.toml or
templates/0.14.1/mise.toml.
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./c-interopGuide 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.2 plugins in one repository ship this exact skill · first indexed Oct 8, 2026
Other plugins' skills for the same job