skeletorflet/opencode-supreme-setup/zig
Claude Code and agent skill by skeletorflet/opencode-supreme-setup
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Zig systems programming skill covering comptime, allocators, cross-compilation, build system, and error unions. Use when building Zig applications.
Install
npx vskill@latest install skeletorflet/opencode-supreme-setup/zigSKILL.md
zig
Core Concepts
- Comptime: compile-time code execution, comptime parameters/values, inline for loops, compile-time reflection
- Allocators: explicit memory management — ArenaAllocator (batch free), page_allocator (OS pages), heap page allocator (general purpose), FixedBufferAllocator (fixed buffer)
- Error Union Types: !T syntax combining error set with value type, try/catch, error return traces
- Testing: test blocks inline with code, test runner, expect/expectEqual, memory leak detection
Build System
- build.zig: declarative build configuration, Build object with addExecutable/addLibrary, step dependencies
- Cross-compilation: target triple (arch-os-abi), built-in libc detection, no need for cross toolchains
- Zig vs C: no hidden control flow, no implicit allocations, first-class cross-compilation, @cImport for C interop
Common Patterns
- var vs const: explicit mutability, const pointer vs mutable pointer distinct
- Optionals: T? with orelse for defaults, unwrap by capture (?)
- Slices: []const T for read-only views, len + ptr primitive, slice syntax
- Standard library: std.fs (file system), std.net (networking), std.json (JSON parsing), std.ArrayList (growable arrays)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingconfig/skills/zig/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 2
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/skeletorflet/opencode-supreme-setup/zig)