zig-knowledge-patch

Identify Zig 0.13-0.14 breaking changes and API updates for migration.

22|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Nevaberry/nevaberry-plugins --skill zig-knowledge-patch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zig-knowledge-patch
Source: https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/zig-knowledge-patch/skills/zig-knowledge-patch
Command: npx skills add https://github.com/Nevaberry/nevaberry-plugins --skill zig-knowledge-patch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Keeps AI-assisted development and code generation aligned with Zig language and standard library changes introduced in 0.13.0 and 0.14.0, preventing outdated API usage, compilation errors, and deprecated patterns from being produced.

Core Features & Use Cases

  • Breaking change reference: Enumerates language-level changes such as labeled switch, decl literals, @branchHint, removed @fence, calling convention overhaul, and anon-struct removals.
  • Stdlib and allocator updates: Documents DebugAllocator, unmanaged containers, remap API, runtime page size, and API renames like StaticStringMap and ArrayListUnmanaged.
  • Build system guidance: Covers root_module API, --watch behavior, package hash format, and other build.zig changes useful when migrating projects or generating build scripts.
  • Use case: Load this patch before editing or generating Zig code to find and fix callsites that use renamed types, deprecated functions, or old build APIs.

Quick Start

Load the zig-knowledge-patch and list every location in my project that must change to be compatible with Zig 0.14.0.

Frequently Asked Questions about zig-knowledge-patch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate my Zig project to 0.14.0 and fix breaking changes?

Zig 0.14 migration requires updating deprecated symbols, renamed types like StaticStringMap, and old build system APIs. Apply changes to project code, build scripts, and stdlib usage to ensure compatibility with 0.13-0.14 updates.

What are the Zig 0.14 stdlib and allocator updates I need to know?

Zig 0.14 stdlib updates include DebugAllocator, unmanaged containers, and remap API changes. Update code using renamed types like ArrayListUnmanaged and adjust runtime page size handling for compatibility.

Why does my build.zig script fail after upgrading to Zig 0.14?

Your build.zig script fails because Zig 0.14 introduced build system changes like the root_module API and updated --watch behavior. Update build scripts to use root_module usage and the new package hash format.

Can AI code generation automatically handle Zig 0.14 breaking changes?

AI code generation can handle Zig 0.14 breaking changes by loading a knowledge patch. This provides the AI with up-to-date API updates, preventing outdated usage and compilation errors during code generation.

What language-level modifications were introduced in Zig 0.13.0 and 0.14.0?

Language-level modifications in Zig 0.13.0 and 0.14.0 include labeled switches, decl literals, @branchHint, removed @fence, calling convention overhauls, and anon-struct removals. Update code using these features.