Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

chainsafe-zig-developer

النجوم٦
التفرعات١
آخر تحديث٢٠ يوليو ٢٠٢٦ في ١١:٤٤

Idiomatic Zig development at ChainSafe — implementation-level guidance for writing Zig in lodestar-z (SSZ, Merkleization, hashing, consensus types) and other Zig libraries. Use this skill whenever the user is writing Zig, asking how to do something in Zig, debugging Zig, picking between Zig patterns, passing allocators, using defer/errdefer, handling error unions with try/catch, writing comptime generics, dealing with integer overflow or undefined behavior, using the build system (build.zig / build.zig.zon), writing tests with std.testing, fuzzing, or building C-ABI bindings. EVEN IF the user does not explicitly say "Zig" but the file is .zig. Triggers on "write a Zig function", "implement in Zig", "fix this Zig", "how do I X in Zig", "allocator parameter", "defer vs errdefer", "try and catch", "error set", "comptime", "optional ?T", "tagged union", "zig build test", "build.zig.zon", "std.testing.allocator", "zig fmt", "export fn callconv(.C)", "@cImport", "integer overflow", "@setRuntimeSafety". Do NOT use f

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly