AGENT SKILL

lang-zig

Zig development standards and tooling.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
lang-zig
description
Zig development standards and tooling.

03 SKILL.md 正文

ZIG Standards

  • Style: Zig Style Guide.
  • Tooling: zig fmt, zig test.
  • Memory: Explicit allocators passed as the first parameter. GeneralPurposeAllocator in debug.
  • Safety: Use defer and errdefer for resource cleanup.
  • Errors: Utilize Error Unions (!T).
  • Meta: Use comptime for compile-time execution and generic programming.

Always load clean-code alongside this skill.

04 同仓库更多 Skills