Covers the full spectrum of Zig's C interop, from importing C headers with @cImport to exporting Zig functions back to C. The translate-c walkthrough is genuinely useful since it's Zig's answer to bindgen and most people don't realize you can pipe it to grep for quick type lookups. Good coverage of the tricky bits like extern struct versus packed struct, null-terminated string handling, and opaque types for forward declarations. The C type mapping table alone will save you from guessing whether to use c_int or i32. Activate this when you're wrapping a C library, building mixed codebases, or debugging ABI mismatches between C and Zig structs.
npx -y skills add mohitmishra786/low-level-dev-skills --skill zig-cinterop --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills