zig-project
Installation
SKILL.md
Zig Project Architecture
Core Principles
- No hidden behavior — No hidden allocations, no hidden control flow, no macros
- Explicit allocators — Pass allocator as parameter, never use global allocator
- Comptime over macros — Use comptime for generics and metaprogramming
- Error unions — Use
!Tfor explicit error handling, avoidanyerror - defer/errdefer — Resource cleanup at scope exit
- No backwards compatibility — Delete, don't deprecate. Change directly
- LiteLLM for LLM APIs — Use LiteLLM proxy for all LLM integrations
No Backwards Compatibility
Delete unused code. Change directly. No compatibility layers.