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.0 released 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

  1. Confirm the target Zig version before editing: check zig version, CI, Dockerfiles, build.zig.zon, README snippets, and download URLs.
  2. Default to stable docs and APIs when the repo does not pin a dev build.
  3. If the repo targets master, use the exact dev snapshot when possible; do not assume master APIs from memory.
  4. Match the repo's style, but prefer current non-deprecated APIs when the codebase is already on current Zig.
  5. Treat allocators, ownership, sentinels, alignment, and error sets as semantic design choices.
Installs
6
First Seen
Jun 4, 2026