zig-docs

Solid

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.

Data & Documents 400 stars 39 forks Updated today

Install

View on GitHub

Quality Score: 79/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
0
Description 5%
100

Skill Content

# Zig Documentation Fetching ## Instructions - Use raw GitHub 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: ```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" ``` ### Fetch Allocator Interface ```bash curl -sL "https://raw.githubusercontent.com/ziglang/zig/master/lib/std/mem/Allocator.zig" ``` ### Fetch Language Reference (Prose) ```bash # Full language reference (large, ~500KB of text) pandoc -f html -t plain "https://ziglang.org/documentation/master/" # P...

Details

Author
aiskillstore
Repository
aiskillstore/marketplace
Created
7 months ago
Last Updated
today
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category