zig-programming
Installation
SKILL.md
Zig 0.15.x Programming
Version scope: Pinned to Zig 0.15.x (specifically 0.15.2). For master/nightly, APIs may differ. Always check official docs for the target version.
Many LLMs have outdated Zig knowledge (0.11-0.14) that causes compilation errors. This skill ensures correct 0.15.x API usage.
Official Documentation
- Language Reference: https://ziglang.org/documentation/0.15.2/
- Standard Library: https://ziglang.org/documentation/0.15.2/std/
- Release Notes: https://ziglang.org/download/0.15.1/release-notes.html
- Build System: https://ziglang.org/learn/build-system/
- Source: https://codeberg.org/ziglang/zig
Critical API Changes in 0.15
ArrayList -- Allocator Now Required
All mutating methods require an explicit allocator parameter. AssumeCapacity variants do not.