What problem does it solve? Writing reliable tests in Zig requires knowing the built-in test framework, allocator-based leak detection, comptime evaluation, and build.zig test configuration. This Skill guides an agent through a structured five-phase workflow to design, generate, and verify Zig tests without external frameworks. ## Core Features & Use Cases - Structured Test Generation: Follows a phased protocol (context analysis, strategy selection, test design, code generation, verification) to produce unit, integration, comptime, snapshot, and property-based tests. - Failure Diagnosis & Coverage: Provides commands for filtering failing tests, detecting memory leaks with testing.allocator, and measuring coverage with kcov or zcoverage. - Use Case: You have a Zig module with allocator-dependent code and no tests. Ask the agent to add tests, and it will generate test blocks using testing.allocator with defer-based cleanup, plus the build.zig test step and CI workflow. ## Quick Start Ask the agent to write unit tests with leak detection for a specific Zig source file such as src/user_store.zig.