zig
Installation
SKILL.md
Zig Development Skill
Zig is a systems programming language emphasizing explicit memory management, compile-time evaluation, and C interoperability. This skill enables effective Zig development by encoding patterns that LLMs commonly get wrong.
Core Philosophy
Zig's design principles that must inform all code generation:
- No hidden control flow - No operator overloading, no hidden allocations
- No hidden memory allocations - Allocators are explicit parameters
- Explicit is better than implicit - Side effects are visible at call sites
- Errors are values - Error unions, not exceptions
- Comptime over runtime - Move work to compile time when possible