discover-zig — Claude Code skill: Zig skill discovery
The discover-zig skill detects Zig development work and points the agent to relevant guides. Use it when you need help with build setup, memory management, or C interop.
MIT 108 installs ★ 193 updated 2026-02-28
npx skills add rand/cc-polymath --skill discover-zig -a claude-codeWhat discover-zig does
discover-zig activates for Zig tasks, including work involving comptime, allocators, build.zig, package management, and systems programming. It acts as a directory for six focused skills covering builds, C interop, memory management, packages, project setup, and testing.
Ask the agent to read ../zig/INDEX.md for the category overview, descriptions, and workflows. To focus on one subject, load a file such as ../zig/zig-memory-management.md or ../zig/zig-build-system.md. This is a gateway skill, so the detailed guidance lives in those files; the agent needs to load the relevant one for a specific topic.
What it helps with
- find a skill for building a Zig project
- open guidance on Zig memory management
- look up Zig and C interop instructions
- browse skills for testing Zig code
Example prompts for the agent
- Find guidance for setting up the build in my Zig project.
- Read
../zig/INDEX.mdand identify the skill for working with allocators. - Open
../zig/zig-c-interop.mdand help me call C from Zig.
How to install discover-zig
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-zig -a claude-code2Manually: put the files in place
~/.claude/skills/discover-zig/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/discover-zig/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-zig -a codex2Manually: put the files in place
.agents/skills/discover-zig/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-zig -a cursor2Manually: put the files in place
.cursor/skills/discover-zig/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rand/cc-polymath skills/discover-zig2Manually: put the files in place
.github/skills/discover-zig/SKILL.md1Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-zig -a gemini-cli2Platform CLI
gemini skills install https://github.com/rand/cc-polymath --path skills/discover-zigManually: put the files in place
.devin/skills/discover-zig/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rand/cc-polymath --skill discover-zig -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about discover-zig
How do I install discover-zig in Claude Code?
Run npx skills add rand/cc-polymath --skill discover-zig -a claude-code. The skill file is at ~/.claude/skills/discover-zig/SKILL.md.
What does discover-zig do?
It activates during Zig development and directs the agent to focused skills for topics such as builds, memory, packages, and testing.
How can I browse the Zig skill collection?
Ask the agent to read ../zig/INDEX.md for the category overview. Load a file from ../zig/ to focus on a specific subject.
Source text
SKILL.md · MIT
--- name: discover-zig description: Automatically discover Zig programming skills when working with Zig, comptime, allocators, build.zig, safety, C interop, memory management, or systems programming. Activates for Zig development tasks. license: MIT metadata: author: rand version: "4.0" compatibility: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format. --- # Zig Skills Discovery Provides automatic access to comprehensive zig skills. ## When This Skill Activates This skill auto-activates when you're working with: - Zig - systems programming - comptime - allocators - C interop - build.zig - zon package manager ## Available Skills ### Quick Reference The Zig category contains 6 skills: 1. **zig-build-system** 2. **zig-c-interop** 3. **zig-memory-management** 4. **zig-package-management** 5. **zig-project-setup** 6. **zig-testing** ### Load Full Category Details For complete descriptions and workflows: Read ../zig/INDEX.md This loads the full Zig category index with: - Detailed skill descriptions - Usage triggers for each skill - Common workflow combinations - Cross-references to related skills ### Load Specific Skills Load individual skills as needed: Read ../zig/zig-build-system.md Read ../zig/zig-c-interop.md Read ../zig/zig-memory-management.md ## Progressive Loading This gateway skill enables progressive loading: - **Level 1**: Gateway loads automatically (you're here now) - **Level 2**: Load category INDEX.md for full overview - **Level 3**: Load specific skills as needed ## Usage Instructions 1. **Auto-activation**: This skill loads automatically when Claude Code detects zig work 2. **Browse skills**: Run `Read ../zig/INDEX.md` for full category overview 3. **Load specific skills**: Use bash commands above to load individual skills **Next Steps**: Run `Read ../zig/INDEX.md` to see full category details.
© rand · MIT · rand/cc-polymath