zig
Installation
SKILL.md
Zig
Use current official Zig sources, not stale model memory.
This skill snapshot is written against Zig sources current on 2026-04-15:
- latest stable:
0.16.0released 2026-04-14 - current
master: use the download page for the exact current dev snapshot
Default to stable 0.16.0 unless the repo clearly pins master or a specific dev snapshot.
Start Here
- Confirm the target Zig version before editing: check
zig version, CI, Dockerfiles,build.zig.zon, README snippets, and download URLs. - Default to stable docs and APIs when the repo does not pin a dev build.
- If the repo targets
master, use the exact dev snapshot when possible; do not assumemasterAPIs from memory. - Match the repo's style, but prefer current non-deprecated APIs when the codebase is already on current Zig.
- Treat allocators, ownership, sentinels, alignment, and error sets as semantic design choices.