Zig Skills
Four Zig skills: API guidance for 0.15, 0.16 and 0.17 plus TigerStyle, so an agent avoids outdated examples.
- 54 ★ on the repository
- Last commit
Minimal access
Why this level
- The skills contain instructions and helper scripts that check the compiler version.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/zig-skillsDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewMinimal accessThe tool runs nothing and makes no network calls.
- The skills contain instructions and helper scripts that check the compiler version.
This is third-party code. Review the repository files before installing.
What it does
A set of version-specific skills for AI assistants that write Zig. The language changes its API quickly and models often reproduce examples from older releases. The `zig-0-15`, `zig-0-16` and `zig-0-17` skills describe the API and migration notes for the right branch, while `zig-tiger-style` provides code rules and TigerStyle practices for any version. The version folders include `check-zig-version.sh` scripts. To keep the agent from picking the wrong version, pin the project in `CLAUDE.md` or `AGENTS.md` with a line like "for Zig 0.17 follow `.claude/skills/zig-0-17/SKILL.md`". In OpenCode a skill is called with `/skill zig-0-17`, while in Claude Code it is detected automatically or by mention in the prompt.
Who it is for. Zig developers whose agents substitute code for an outdated API and break the build on a newer compiler.
Good fit when
- An agent writes code for Zig 0.17 but substitutes calls from 0.14.
- A project migrates from 0.15 to 0.16 and needs notes on changed APIs.
- Code is reviewed under TigerStyle rules: safety, performance, readability.
- The Zig version is pinned in `AGENTS.md` for the whole team.
Not a fit when
- Your Zig is older than 0.15, since the skills cover 0.15, 0.16 and 0.17.
- The task concerns a specific third-party library, while the skills describe only the language.
- The agent needs ready projects rather than an API reference.
Example request
Use the zig-0-17 skill to check this code for outdated calls and then propose fixes for the new API.Limitations
Only Zig 0.15.x, 0.16.0 and 0.17.0 are covered, and for other versions only `zig-tiger-style` is useful. The skill must be attached to the project explicitly, or the agent will pick the wrong version. The authors encode versions in folder names, so a new release brings new skills while old ones stay. The `check-zig-version.sh` scripts run in the shell and check the installed compiler version. GitHub metadata shows no license for the repository, so check the terms of use.
How to disable. Delete the `zig-0-15`, `zig-0-16`, `zig-0-17` and `zig-tiger-style` folders from the agent skills directory and their lines from `CLAUDE.md` or `AGENTS.md`.
FAQ
Which Zig versions are covered?
0.15.x, 0.16.0 and 0.17.0, each in its own skill. The `zig-tiger-style` skill is version independent.
How do I pin a version?
Add a line to `CLAUDE.md` or `AGENTS.md` pointing to the right `SKILL.md`, for example `.claude/skills/zig-0-17/SKILL.md` for 0.17.
How do I install by hand?
Copy the chosen skill folder into the agent skills folder: `.claude/skills/` for Claude Code or `.opencode/skill/` for OpenCode.
What is TigerStyle?
A set of rules for Zig code with guidance on a safe and readable style. The skill applies them to any language version.
How do I call it in OpenCode?
With `/skill zig-0-17`. In Claude Code the skill is detected automatically or by mention in the prompt.
Discussion
No questions or reviews yet.
Related
SkillsSkill Zoo finds, installs, updates and audits skills for Claude Code, Codex, Cursor and other agents in a window and a CLI.
A library of 30-plus instruction skills for coding agents: planning, building, testing, hallucination guards and shipping
Seven Go skills from the creator of Cobra and Hugo: idiomatic style, CLI design, releases, Wails, file operations and afero tests
Nine personal engineering skills: an idea-to-PR chain, standards search, a sandboxed review loop and wizard pages for changes
Over twenty skills for coding agents: MCP and hooks, plan mode, a bug-fix protocol, prompting and a bash safety hook
A CLI that scaffolds Claude skills, validates their size and structure, packages them for Claude.ai and adds activation hooks
README in short
The README lists available skills with versions, two install routes, pinning a version in project rules and direct invocation in OpenCode and Claude Code.