vbinupx/upx-cli/zig-docs
Claude Code and agent skill by vbinupx/upx-cli
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install vbinupx/upx-cli/zig-docsSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry/zig-docs.
Zig Documentation Fetching
Instructions
- Use raw Codeberg sources for std lib documentation (most reliable)
- Use pandoc for language reference from ziglang.org (works for prose content)
- The std lib HTML docs at ziglang.org are JavaScript-rendered and return empty content; avoid them
- Zig source files contain doc comments (
//!for module docs,///for item docs) that serve as authoritative documentation
Quick Reference
Fetch Standard Library Source (Recommended)
Standard library modules are self-documenting. Fetch source directly:
Fetch Allocator Interface
Fetch Language Reference (Prose)
List Standard Library Contents
Fetch zig.guide Content
Documentation Sources
| Source | URL Pattern | Notes | |
|---|---|---|---|
| Std lib source | codeberg.org/ziglang/zig/raw/branch/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 | |
| Codeberg API | codeberg.org/api/v1/repos/ziglang/zig/contents/lib/std | List directory contents |
Common Module Paths
| 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 |
Version-Specific Documentation
Replace master with version tag for stable releases:
Searching Documentation
Search for specific function/type in std lib
Extract doc comments
Troubleshooting
Empty content from ziglang.org/documentation/master/std/:
- The std lib HTML docs are JavaScript-rendered; use raw Codeberg instead
pandoc fails:
- Some pages require JavaScript; fall back to curl + raw Codeberg
- Check URL is correct (no trailing slash issues)
Rate limiting on Codeberg API:
- Use codeberg.org raw URLs directly instead of API
- Cache frequently accessed content locally
References
- Language Reference: https://ziglang.org/documentation/master/
- Standard Library Source: https://codeberg.org/ziglang/zig/src/branch/master/lib/std
- Zig Guide: https://zig.guide/
- Release Tags: https://codeberg.org/ziglang/zig/tags
Security
- Security scanPassed, 90 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 repositoryCheckingskills/zig-docs/SKILL.md
Popularity
- 7-day trend score
- 0
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/vbinupx/upx-cli/zig-docs)