By nzrsky
Up-to-date Zig programming language patterns for version 0.16.0. Prevents LLMs from generating code with deprecated or removed APIs from outdated training data.
AI coding assistant skills providing verified, version-specific Zig API documentation and best practices. Prevents LLMs from generating code with deprecated or removed APIs.
| Skill | Description | Target Version |
|---|---|---|
| zig | Zig language API guide with 57 reference files | Zig 0.16.0 |
Most LLM training data contains outdated Zig patterns (0.11-0.14 era) that cause compilation errors on modern Zig. Common mistakes include:
std.net instead of std.Io.net (0.16 — networking requires Io instance)std.time.timestamp() instead of std.c.clock_gettime (0.16 — removed)std.Thread.Mutex/Condition/sleep instead of POSIX pthreads (0.16 — removed)std.crypto.random instead of arc4random_buf (0.16 — removed)lib.addIncludePath(...) instead of lib.root_module.addIncludePath(...) (0.16 — moved)root_source_file instead of root_module in build.zig (0.15)std.io.getStdOut().writer()) instead of new buffered writer pattern (0.15)std.ArrayList without passing allocator to every method (now unmanaged by default)@typeInfo fields (.Struct) instead of lowercase (.@"struct")async/await, usingnamespace, BoundedArrayThis skill catches all of these and dozens more breaking changes.
SKILL.md)std.Io.net), time, threading, crypto, debug, build systemCompile.* → Module.* for 0.16).empty/.init)references/)| Directory | IDE | Format |
|---|---|---|
skills/zig/ | Canonical source | SKILL.md + references/ |
.agent/skills/zig/ | Agent | SKILL.md + references/ |
.cursor/skills/zig/ | Cursor | SKILL.md + references/ |
.opencode/skills/zig/ | OpenCode | SKILL.md + references/ |
.codex/skills/zig/ | Codex | SKILL.md + references/ |
.gemini/skills/zig/ | Gemini CLI | SKILL.md + references/ |
.continue/skills/zig/ | Continue | SKILL.md + references/ |
.kilocode/skills/zig/ | Kilocode | SKILL.md + references/ |
.factory/skills/zig/ | Factory AI | SKILL.md + references/ |
.adal/skills/zig/ | AdaL CLI (Sylph AI) | SKILL.md + references/ |
.codebuddy/skills/zig/ | CodeBuddy | SKILL.md + references/ |
.openclaw/skills/zig/ | OpenClaw | SKILL.md + references/ |
.pi/skills/zig/ | Pi Agent | SKILL.md + references/ |
.kiro/steering/ | Kiro | zig-skill.md (steering file) |
# Install globally via npx skills
npx -y skills add https://github.com/nzrsky/zig-skills --skill zig --yes --global --agent claude-code
Or manually:
git clone https://github.com/nzrsky/zig-skills.git /tmp/zig-skills
cp -r /tmp/zig-skills/skills/zig ~/.claude/skills/zig
rm -rf /tmp/zig-skills
git clone https://github.com/nzrsky/zig-skills.git /tmp/zig-skills
cp -r /tmp/zig-skills/.cursor/skills your-project/.cursor/skills
rm -rf /tmp/zig-skills
Copy the matching IDE directory into your project root:
git clone https://github.com/nzrsky/zig-skills.git /tmp/zig-skills
# Replace .codex with your IDE's directory name
cp -r /tmp/zig-skills/.codex your-project/.codex
rm -rf /tmp/zig-skills
git clone https://github.com/nzrsky/zig-skills.git /tmp/zig-skills
mkdir -p your-project/.kiro/steering
cp /tmp/zig-skills/.kiro/steering/zig-skill.md your-project/.kiro/steering/
rm -rf /tmp/zig-skills
Add to your project's CLAUDE.md:
When writing Zig code, load and follow the patterns in `skills/zig/SKILL.md`.
After editing files in skills/zig/, run:
bash scripts/sync-ide-folders.sh
To verify all directories match:
bash scripts/sync-ide-folders.sh --verify
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub nzrsky/zig-skillsZig changes since training cutoff (latest: 0.14.0) — labeled switch, decl literals, @branchHint, DebugAllocator, unmanaged containers, root_module build API. Load before working with Zig.
Zig language server
Enhances code agents with Go best practices covering performance, modern syntax, generics, patterns, testing, error handling, and concurrency.
Comprehensive Rust development assistant with meta-question routing, coding guidelines, version queries, and ecosystem support
Rust code review and development skills covering ownership, lifetimes, error handling, async/tokio, serde, sqlx, axum, macros, FFI, unsafe, concurrency, and testing patterns.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.