I wrote a blog post about creating a zig library. Feedback welcome :)