Finishing a Development Branch
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
Up-to-date Zig programming language patterns for version 0.15.x.
$ npx skills add simoarpe/ziggity --skill zig -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install simoarpe/ziggity zig --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/simoarpe/ziggity.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/zig .claude/skills/zig && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "zig" agent skill from https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zig into .claude/skills/zig/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "zig", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zigType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add simoarpe/ziggity --skill zig -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install simoarpe/ziggity zig --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simoarpe/ziggity.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/zig .agents/skills/zig && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "zig" agent skill from https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zig into .agents/skills/zig/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "zig", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add simoarpe/ziggity --skill zig -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install simoarpe/ziggity zig --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simoarpe/ziggity.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/zig .cursor/skills/zig && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "zig" agent skill from https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zig into .cursor/skills/zig/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "zig", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/simoarpe/ziggity.git --path .claude/skills/zig--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add simoarpe/ziggity --skill zig -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install simoarpe/ziggity zig --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simoarpe/ziggity.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/zig .gemini/skills/zig && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "zig" agent skill from https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zig into .gemini/skills/zig/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "zig", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install simoarpe/ziggity zigInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add simoarpe/ziggity --skill zig -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/simoarpe/ziggity.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/zig .github/skills/zig && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "zig" agent skill from https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zig into .github/skills/zig/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "zig", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add simoarpe/ziggity --skill zig -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install simoarpe/ziggity zig --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/simoarpe/ziggity.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/zig .opencode/skills/zig && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "zig" agent skill from https://github.com/simoarpe/ziggity/tree/main/.claude/skills/zig into .opencode/skills/zig/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "zig", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
zigUp-to-date Zig programming language patterns for version 0.15.x.
Zig is an agent skill from simoarpe/ziggity. Up-to-date Zig programming language patterns for version 0.15.x. Use when writing, reviewing, or debugging Zig code, working with build.zig and build.zig.zon files, or using comptime metaprogramming. Critical for avoiding outdated patterns from training data - especially build system APIs (rootmodule instead of rootsourcefile), I/O APIs (buffered writer pattern), container initialization (.empty/.init), allocator selection (DebugAllocator), and removed language features (async/await, usingnamespace).
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 57 other files, including reference files (for example `references/builtins.md`, `references/c-interop.md` and `references/code-review.md`).
It sits in Development, covering Async programming. It works with Git. The repository describes itself as: ⚡️ Ziggity an ultra fast, keyboard driven terminal UI for Git, written in Zig. The licence is MIT.
Read from SKILL.md and the folder at commit 3075fba. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are zig).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Zig loads about 4.1k tokens when it runs, and up to ~163k if it reads all its reference files. Until then it costs about 128 tokens; SKILL.md has 1,084 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from simoarpe/ziggity at commit 3075fba, republished under its MIT licence (© simoarpe). 1,084 words, ~4,142 tokens.
.claude/skills/zig/SKILL.md (or your agent's skills folder). This skill also uses 56 other files; get the full folder from GitHub.Zig evolves rapidly. Training data contains outdated patterns that cause compilation errors. This skill documents breaking changes and correct modern patterns.
usingnamespace - REMOVED// WRONG - compile error
pub usingnamespace @import("other.zig");
// CORRECT - explicit re-export
const other = @import("other.zig");
pub const foo = other.foo;async/await - REMOVEDKeywords removed from language. Async I/O support is planned for future releases.
The entire std.io API changed. New std.Io.Writer and std.Io.Reader are non-generic with buffer in the interface.
// WRONG - old API
const stdout = std.io.getStdOut().writer();
try stdout.print("Hello\n", .{});
// CORRECT - new API: provide buffer, access .interface, flush
var buf: [4096]u8 = undefined;
var stdout_writer = std.fs.File.stdout().writer(&buf);
const stdout = &stdout_writer.interface;
try stdout.print("Hello\n", .{});
try stdout.flush(); // REQUIRED!// Reading from file
var buf: [4096]u8 = undefined;
var file_reader = file.reader(&buf);
const r = &file_reader.interface;
// Read line by line (takeDelimiter returns null at EOF)
while (try r.takeDelimiter('\n')) |line| {
// process line (doesn't include '\n')
}
// Read binary data
const header = try r.takeStruct(Header, .little);
const value = try r.takeInt(u32, .big);var buf: [256]u8 = undefined;
var w: std.Io.Writer = .fixed(&buf);
try w.print("Hello {s}", .{"world"});
const result = w.buffered(); // "Hello world"var r: std.Io.Reader = .fixed("hello\nworld");
const line = (try r.takeDelimiter('\n')).?; // "hello" (returns null at EOF)Deprecated: BufferedWriter, CountingWriter, std.io.bufferedWriter()
Deprecated: GenericWriter, GenericReader, AnyWriter, AnyReader, FixedBufferStream
New: std.Io.Writer, std.Io.Reader - non-generic, buffer in interface
Replacements:
CountingWriter → std.Io.Writer.Discarding (has .fullCount())BufferedWriter → buffer provided to .writer(&buf) callstd.Io.Writer.Allocatingroot_source_file is REMOVED from addExecutable/addLibrary/addTest. Use root_module:
// WRONG - removed field
b.addExecutable(.{
.name = "app",
.root_source_file = b.path("src/main.zig"), // ERROR
.target = target,
});
// CORRECT
b.addExecutable(.{
.name = "app",
.root_module = b.createModule(.{
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
}),
});Module imports changed:
// WRONG (old API)
exe.addModule("helper", helper_mod);
// CORRECT
exe.root_module.addImport("helper", helper_mod);Adding dependency modules:
const dep = b.dependency("lib", .{ .target = target, .optimize = optimize });
exe.root_module.addImport("lib", dep.module("lib"));Compile-level methods deprecated: exe.linkSystemLibrary(), exe.addCSourceFiles(),
exe.addIncludePath(), exe.linkLibC() are deprecated — use exe.root_module.* equivalents instead.
See std.Build reference for complete build system documentation.
Never use .{} for containers. Use .empty or .init:
// WRONG - deprecated
var list: std.ArrayList(u32) = .{};
var gpa: std.heap.DebugAllocator(.{}) = .{};
// CORRECT - use .empty for empty collections
var list: std.ArrayList(u32) = .empty;
var map: std.AutoHashMapUnmanaged(u32, u32) = .empty;
// CORRECT - use .init for stateful types with internal config
var gpa: std.heap.DebugAllocator(.{}) = .init;
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);std.ArrayListUnmanaged → std.ArrayList (Unmanaged is now default, old name deprecated)std.heap.GeneralPurposeAllocator → std.heap.DebugAllocator (GPA alias still works)std.BoundedArray - REMOVED. Use:
var buffer: [8]i32 = undefined;
var stack = std.ArrayList(i32).initBuffer(&buffer);{f} required to call format methods:
// WRONG - ambiguous error
std.debug.print("{}", .{std.zig.fmtId("x")});
// CORRECT
std.debug.print("{f}", .{std.zig.fmtId("x")});Format method signature changed:
// OLD - wrong
pub fn format(self: @This(), comptime fmt: []const u8, opts: std.fmt.FormatOptions, writer: anytype) !void
// NEW - correct
pub fn format(self: @This(), writer: *std.Io.Writer) std.Io.Writer.Error!void@branchHint replaces @setCold// WRONG
@setCold(true);
// CORRECT
@branchHint(.cold); // Must be first statement in block@export takes pointer// WRONG
@export(foo, .{ .name = "bar" });
// CORRECT
@export(&foo, .{ .name = "bar" });// WRONG
: "rcx", "r11"
// CORRECT
: .{ .rcx = true, .r11 = true }@fence - REMOVEDUse stronger atomic orderings or RMW operations instead.
.identifier syntax works for declarations:
const S = struct {
x: u32,
const default: S = .{ .x = 0 };
fn init(v: u32) S { return .{ .x = v }; }
};
const a: S = .default; // S.default
const b: S = .init(42); // S.init(42)
const c: S = try .init(1); // works with tryState machines use continue :label:
state: switch (initial) {
.idle => continue :state .running,
.running => if (done) break :state result else continue :state .running,
.error => return error.Failed,
}Can mix explicit tags with _ and else:
switch (value) {
.a, .b => {},
else => {}, // other named tags
_ => {}, // unnamed integer values
}| Error | Fix |
|---|---|
no field 'root_source_file' | Use root_module = b.createModule(.{...}) |
use of undefined value | Arithmetic on undefined is now illegal |
type 'f32' cannot represent integer | Use float literal: 123_456_789.0 not 123_456_789 |
ambiguous format string | Use {f} for format methods |
sanitize_c = true | Type changed to ?std.zig.SanitizeC — use .full, .trap, or .off |
std.fifo.LinearFifo | Removed — use std.Io.Reader/Writer patterns |
posix.sendfile | Removed — use std.fs.File writer .sendFileAll() |
std.fmt.Formatter | Deprecated — renamed to std.fmt.Alt |
fmtSliceEscapeLower/Upper | Use std.ascii.hexEscape(bytes, .lower/.upper) |
Load these references when working with core language features:
zig fmt@ built-ins: type casts (@intCast, @bitCast, @ptrCast), arithmetic (@addWithOverflow, @divExact), bit ops (@clz, @popCount), memory (@memcpy, @sizeOf), atomics (@atomicRmw, @cmpxchgWeak), introspection (@typeInfo, @TypeOf, @hasDecl), SIMD (@Vector, @splat, @reduce), C interop (@cImport, @export)Load these references when working with specific modules:
{f} specifier (0.15.x)@typeInfo/@Type/@TypeOf), loop variants (comptime for vs inline for), branch elimination, type generation, comptime limitationsexport fn, C calling convention, building static/dynamic libraries, creating headers, macOS universal binaries, XCFramework for Swift/Xcode, module maps© simoarpe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 56 other files (references) in .claude/skills/zig of simoarpe/ziggity.
Open the folder on GitHubat commit 3075fba
Zig next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Zig this skillsimoarpe/ziggity | 284 | — | ~4.1k | Automated safety check: Pass | MIT | |
| Finishing a Development Branchobra/superpowers | 296k | 5 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything | 86k | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Code Design Rationale Investigatorcursor/plugins | 10k | 9 repos | ~2.6k | Automated safety check: Pass | None | |
| Understand Diff AnalysisEgonex-AI/Understand-Anything | 86k | 1 repos | ~1.4k | Automated safety check: Pass | MIT |
obra/superpowers
Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
Egonex-AI/Understand-Anything
Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.
cursor/plugins
Digs into why code is shaped the way it is by checking git history, pull requests and connected tools in parallel, then reporting a cited read on the tradeoffs.
Egonex-AI/Understand-Anything
Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.
Egonex-AI/Understand-Anything
Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.
Works with
Categories
Up-to-date Zig programming language patterns for version 0.15.x. Zig is an agent skill from simoarpe/ziggity.x.
Zig fits situations like: debugging Zig code; working with build.zig and build.zig.zon files; using comptime metaprogramming.
Run `npx skills add simoarpe/ziggity --skill zig -a claude-code`. Or copy the skill folder (.claude/skills/zig in simoarpe/ziggity) into .claude/skills/zig in your project. Claude Code loads it when a task matches its description.
Run `npx skills add simoarpe/ziggity --skill zig -a codex`. Or copy the skill folder (.claude/skills/zig in simoarpe/ziggity) into .agents/skills/zig in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add simoarpe/ziggity --skill zig -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/zig, .gemini/skills/zig, .github/skills/zig and .opencode/skills/zig in your project.
SKILL.md names no scripts, command-line tools or credentials: Zig is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Zig is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 159k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Zig: Finishing a Development Branch (obra/superpowers, 296k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars) and Code Design Rationale Investigator (cursor/plugins, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
simoarpe (a GitHub user) maintains it in simoarpe/ziggity, which has 284 GitHub stars. The repository was last updated on October 5, 2026.
Source: simoarpe/ziggity on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.