zig-0.15
✓此技能提供 Zig 0.15.x API 指導,應在編寫或審查 Zig 程式碼時使用。它確保 Zig 0.15 API 的正確使用,防止使用過時的 0.11/0.12/0.13/0.14 模式而出現常見錯誤。對於 ArrayList、std.Io.Writer/Reader (Writergate)、HTTP 用戶端、Ed25519、JSON 和類型自省 API 至關重要。
SKILL.md
Version Scope: This skill is pinned to Zig 0.15.x (specifically 0.15.2). For master/nightly builds, APIs may differ. Always check official docs for your version.
This skill ensures correct Zig 0.15.x API usage. Many LLMs have outdated Zig knowledge (0.11-0.14), causing compilation errors.
| append | try list.append(item) | try list.append(allocator, item) | | appendSlice | try list.appendSlice(items) | try list.appendSlice(allocator, items) | | addOne | try list.addOne() | try list.addOne(allocator) | | ensureTotalCapacity | try list.ensureTotalCapacity(n) | try list.ensureTotalCapacity(allocator, n) |
此技能提供 Zig 0.15.x API 指導,應在編寫或審查 Zig 程式碼時使用。它確保 Zig 0.15 API 的正確使用,防止使用過時的 0.11/0.12/0.13/0.14 模式而出現常見錯誤。對於 ArrayList、std.Io.Writer/Reader (Writergate)、HTTP 用戶端、Ed25519、JSON 和類型自省 API 至關重要。 來源:zigcc/skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/zigcc/skills --skill zig-0.15- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-12
- 更新時間
- 2026-02-18
快速解答
什麼是 zig-0.15?
此技能提供 Zig 0.15.x API 指導,應在編寫或審查 Zig 程式碼時使用。它確保 Zig 0.15 API 的正確使用,防止使用過時的 0.11/0.12/0.13/0.14 模式而出現常見錯誤。對於 ArrayList、std.Io.Writer/Reader (Writergate)、HTTP 用戶端、Ed25519、JSON 和類型自省 API 至關重要。 來源:zigcc/skills。
如何安裝 zig-0.15?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/zigcc/skills --skill zig-0.15 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/zigcc/skills