Zig 0.16 idioms for Native SDK code, indexed by compile error. Load when zig build fails on std APIs with errors like "struct 'fs' has no member named 'cwd'", "struct 'array_list.Aligned(u8,null)' has no member named 'init'", "struct 'std' has no member named 'io'", "no member named 'GeneralPurposeAllocator'", "no member named 'getEnvMap'", or "invalid format string" - the signature of code written for Zig 0.15 or earlier. Covers main(std.process.Init), std.Io file IO and writers, ArrayList, process spawning, environment, clocks and sleep, sockets, custom formatting, and build.zig module shapes, each as this SDK writes them.
$npx -y skills add vercel-labs/native --skill zigInstalls into the current project.
Run `npx skills use "https://github.com/vercel-labs/native" --skill "vercel-labs/native/zig"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/vercel-labs/native" that are relevant to the current task. Run `npx skills add "https://github.com/vercel-labs/native"` and select the relevant skills, then follow their instructions.