Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fetches Zig language and standard library documentation via CLI. Activates when needing Zig API details, std lib function signatures, or language reference content that isn't covered in zig-best-practices.
.claude/skills/aiskillstore-zig-docs/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 30% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 54% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 34% | 0% |
| case-21 | ✓→✓ | = Same ✓ | 77% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 37% | 0% |
//! for module docs, /// for item docs) that serve as authoritative documentationStandard library modules are self-documenting. Fetch source directly:
bash# Module source with doc comments curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/<module>.zig" # Common modules: curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/log.zig" curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/mem.zig" curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/fs.zig" curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/heap.zig" curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/debug.zig" curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/testing.zig"
bashcurl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/mem/Allocator.zig"
bash# Full language reference (large, ~500KB of text) pandoc -f html -t plain "https://ziglang.org/documentation/master/" # Pipe to head for specific sections pandoc -f html -t plain "https://ziglang.org/documentation/master/" | head -200
bash# List all std lib modules via GitHub API curl -sL "https://api.github.com/repos/ziglang/zig/contents/lib/std" | jq -r '.[].name' # List subdirectory contents curl -sL "https://api.github.com/repos/ziglang/zig/contents/lib/std/mem" | jq -r '.[].name'
bash# Landing page and navigation pandoc -f html -t plain "https://zig.guide/"
| Source | URL Pattern | Notes | |--------|-------------|-------| | Std lib source | raw.githubusercontent.com/ziglang/zig/master/lib/std/<path> | Most reliable; includes doc comments | | Language reference | ziglang.org/documentation/master/ | Use pandoc; prose content | | zig.guide | zig.guide/ | Beginner-friendly; use pandoc | | GitHub API | api.github.com/repos/ziglang/zig/contents/lib/std | List directory contents |
| Module | Path | |--------|------| | Allocator | lib/std/mem/Allocator.zig | | ArrayList | lib/std/array_list.zig | | HashMap | lib/std/hash_map.zig | | StringHashMap | lib/std/hash/map.zig | | File System | lib/std/fs.zig | | File | lib/std/fs/File.zig | | IO | lib/std/Io.zig | | Logging | lib/std/log.zig | | Testing | lib/std/testing.zig | | Debug | lib/std/debug.zig | | Heap | lib/std/heap.zig | | Build System | lib/std/Build.zig | | JSON | lib/std/json.zig | | HTTP | lib/std/http.zig | | Thread | lib/std/Thread.zig | | Process | lib/std/process.zig |
Replace master with version tag for stable releases:
bash# 0.14.0 release curl -sL "https://raw.githubusercontent.com/ziglang/zig/0.14.0/lib/std/log.zig" # Language reference for specific version pandoc -f html -t plain "https://ziglang.org/documentation/0.14.0/"
bash# Search for function name across std lib curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/<module>.zig" | grep -A5 "pub fn <name>" # Example: find allocator.create curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/mem/Allocator.zig" | grep -A10 "pub fn create"
bash# Module-level docs (//!) curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/log.zig" | grep "^//!" # Function/type docs (///) curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/mem/Allocator.zig" | grep -B1 "pub fn" | grep "///"
Empty content from ziglang.org/documentation/master/std/:
pandoc fails:
Rate limiting on GitHub API:
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-21 | pass→pass | 8,511 | 6,734 | -21% | 1 | 1 | 0% | 1,459 | 2,583 | +77% | 0 | 0 | — |
case-01 | fail→pass | 9,294 | 3,716 | -60% | 1 | 1 | 0% | 1,650 | 2,142 | +30% | 0 | 0 | — |
case-02 | pass→pass | 12,198 | 6,878 | -44% | 1 | 1 | 0% | 2,019 | 2,759 | +37% | 0 | 0 | — |
case-03 | pass→pass | 3,571 | 2,393 | -33% | 1 | 1 | 0% | 624 | 1,823 | +192% | 0 | 0 | — |
case-04 | fail→fail | 4,899 | 3,708 | -24% | 1 | 1 | 0% | 853 | 2,028 | +138% | 0 | 0 | — |
case-05 | fail→pass | 7,187 | 3,109 | -57% | 1 | 1 | 0% | 1,314 | 2,029 | +54% | 0 | 0 | — |
case-06 | pass→pass | 4,193 | 2,333 | -44% | 1 | 1 | 0% | 652 | 1,807 | +177% | 0 | 0 | — |
case-07 | pass→pass | 3,914 | 2,889 | -26% | 1 | 1 | 0% | 696 | 1,868 | +168% | 0 | 0 | — |
case-08 | pass→pass | 5,908 | 2,496 | -58% | 1 | 1 | 0% | 1,052 | 1,903 | +81% | 0 | 0 | — |
case-09 | pass→pass | 10,390 | 3,496 | -66% | 1 | 1 | 0% | 1,781 | 2,068 | +16% | 0 | 0 | — |
case-10 | pass→pass | 4,890 | 1,769 | -64% | 1 | 1 | 0% | 776 | 1,731 | +123% | 0 | 0 | — |
case-11 | pass→pass | 5,856 | 3,032 | -48% | 1 | 1 | 0% | 1,000 | 1,965 | +97% | 0 | 0 | — |
case-12 | pass→pass | 5,879 | 2,241 | -62% | 1 | 1 | 0% | 919 | 1,867 | +103% | 0 | 0 | — |
case-22 | pass→pass | 8,531 | 6,984 | -18% | 1 | 1 | 0% | 1,477 | 2,605 | +76% | 0 | 0 | — |
case-13 | fail→fail | 9,395 | 6,455 | -31% | 1 | 1 | 0% | 1,627 | 2,632 | +62% | 0 | 0 | — |
case-14 | pass→pass | 19,376 | 9,926 | -49% | 1 | 1 | 0% | 1,503 | 2,802 | +86% | 0 | 0 | — |
case-15 | pass→pass | 8,766 | 3,213 | -63% | 1 | 1 | 0% | 1,592 | 2,007 | +26% | 0 | 0 | — |
case-16 | pass→pass | 6,440 | 3,415 | -47% | 1 | 1 | 0% | 1,193 | 2,082 | +75% | 0 | 0 | — |
case-17 | pass→pass | 9,808 | 4,430 | -55% | 1 | 1 | 0% | 1,748 | 2,264 | +30% | 0 | 0 | — |
case-18 | fail→pass | 13,315 | 7,440 | -44% | 1 | 1 | 0% | 2,122 | 2,844 | +34% | 0 | 0 | — |
case-19 | pass→pass | 4,957 | 3,092 | -38% | 1 | 1 | 0% | 852 | 1,973 | +132% | 0 | 0 | — |
case-20 | pass→pass | 2,957 | 1,800 | -39% | 1 | 1 | 0% | 487 | 1,744 | +258% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +14 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.