zig-tiger-style
Installation
SKILL.md
TigerStyle: Zig Coding Guidelines
Distilled from TigerBeetle's TIGER_STYLE.md. Design goal priority: Safety > Performance > Developer Experience.
1. Safety
Control Flow
-
Use only simple, explicit control flow. No recursion unless provably bounded.
-
Split compound conditions into nested
if/elsebranches — ensure both the positive and negative spaces are handled or asserted. -
State invariants positively:
// preferred if (index < length) { ... } else { ... }