Zig Best Practices Follows type-first, functional, and error handling patterns from CLAUDE.md. This skill covers Zig-specific idioms only. Type System Patterns Tagged unions for mutually exclusive states — prevents invalid combinations that a struct with multiple nullable fields would allow: Explicit error sets — documents exactly what can fail; hides failure modes: Distinct types for domain IDs — compiler prevents mixing up different ID types: Comptime validation — catch invalid configurations at compile time, not runtime: Memory Management - Pass allocators explicitly to every function that…