Version-specific Zig skills for AI tools. These skills help assistants generate correct code for modern Zig instead of outdated examples from older releases.
| Skill | Purpose | Target |
|---|---|---|
| zig-0.15 | Zig 0.15 API guidance | Zig 0.15.x |
| zig-0.16 | Zig 0.16 API guidance and migration notes | Zig 0.16.0 |
| zig-0.17 | Zig 0.17 API guidance and migration notes | Zig 0.17.0 |
| zig-tiger-style | TigerStyle Zig coding guidelines and best practices | All Zig versions |
# Interactive selection (choose which skills and agents to install)
npx skills add zigcc/skills
# Or install a specific version directly
npx skills add zigcc/skills --skill zig-0.17Copy the target skill directory to your AI tool's skill directory:
# OpenCode (project local)
mkdir -p .opencode/skill && cp -r zig-0.17 .opencode/skill/
# OpenCode (global)
mkdir -p ~/.config/opencode/skill && cp -r zig-0.17 ~/.config/opencode/skill/
# Claude Code
mkdir -p .claude/skills && cp -r zig-0.17 .claude/skills/Pin your project to a specific Zig version in CLAUDE.md or AGENTS.md so the AI assistant always follows the correct APIs:
# Zig Guidelines
- For Zig 0.17.x, follow `.claude/skills/zig-0.17/SKILL.md` (or `.opencode/skill/zig-0.17/SKILL.md`)
- For Zig 0.16.0, follow `.claude/skills/zig-0.16/SKILL.md` (or `.opencode/skill/zig-0.16/SKILL.md`)
- For Zig 0.15.x, follow `.claude/skills/zig-0.15/SKILL.md` (or `.opencode/skill/zig-0.15/SKILL.md`)- OpenCode: Use the slash command:
/skill zig-0.17 - Claude Code: The skill is detected automatically, or mention it in your prompt:
Please use the zig-0.17 skill to review this code. - Prompt reference (any tool supporting file context):
@file .claude/skills/zig-0.17/SKILL.md