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 |
- Use
zig-0.15for Zig 0.15.x projects. - Use
zig-0.16for Zig 0.16.0 projects or 0.15 -> 0.16 migration work.
mkdir -p .opencode/skill
cp -r zig-0.15 .opencode/skill/zig-0.15
cp -r zig-0.16 .opencode/skill/zig-0.16mkdir -p ~/.config/opencode/skill
cp -r zig-0.15 ~/.config/opencode/skill/zig-0.15
cp -r zig-0.16 ~/.config/opencode/skill/zig-0.16mkdir -p .claude/skills
cp -r zig-0.15 .claude/skills/zig-0.15
cp -r zig-0.16 .claude/skills/zig-0.16git submodule add https://github.com/zigcc/skills.git skills
git submodule update --remoteAdd the relevant skill to CLAUDE.md:
# Zig
- For Zig 0.15.x, read `skills/zig-0.15/SKILL.md`
- For Zig 0.16.0, read `skills/zig-0.16/SKILL.md`Or load a skill directly in a conversation:
@file .opencode/skill/zig-0.16/SKILL.md
Help me migrate a Zig 0.15 project to 0.16 with minimal changes.
If your setup supports named skills:
{
"permission": {
"skill": {
"zig-0.15": "ask",
"zig-0.16": "ask"
}
}
}Then load the version you need:
/skill zig-0.15
You can point Codex at this repository and ask it to install the skills:
read https://github.com/zigcc/skills
@install-skills
zig-skills/
|- zig-0.15/
| `- SKILL.md
`- zig-0.16/
`- SKILL.md
- Each skill is intentionally version-specific.
- Always match the skill to the Zig version used by the project.
- For detailed guidance, open the
SKILL.mdinside the target skill directory.