zig-type-system
Installation
SKILL.md
Zig Type System
Use this skill when defining data structures, understanding type relationships, or working with Zig's aggregate types.
When to Use This Skill
- Defining structs, enums, unions, or opaque types
- Understanding packed and extern layout
- Using tuples and anonymous structs
- Working with type coercion rules
- Understanding zero-bit types
- Using tagged unions for sum types
struct
const Point = struct {
x: f32,
y: f32,