Skip to main content

zig-best-practices

Provides best practices for type-first development in Zig, focusing on tagged unions, error handling, and memory management.

Install this skill

or
89/100

Security score

The zig-best-practices skill was audited on Mar 1, 2026 and we found 7 security issues across 2 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 687

Access to hidden dotfiles in home directory

SourceSKILL.md
687Executable file: `ziglint` built at `$HOME/.local/bin/ziglint`. So it automatically added to the PATH, which is set in `~/.zshrc`. We can run `ziglint` directly from the terminal from now on.
low line 526

Access to .env file

SourceSKILL.md
526.env = std.posix.getenv("ENV") orelse "development",
low line 625

External URL reference

SourceSKILL.md
625const uri = try std.Uri.parse("https://example.com");
low line 760

External URL reference

SourceSKILL.md
760- Language Reference: <https://ziglang.org/documentation/0.15.2/>
low line 761

External URL reference

SourceSKILL.md
761- Standard Library: <https://ziglang.org/documentation/0.15.2/std/>
low line 762

External URL reference

SourceSKILL.md
762- Code Samples: <https://ziglang.org/learn/samples/>
low line 763

External URL reference

SourceSKILL.md
763- Zig Guide: <https://zig.guide/>
Scanned on Mar 1, 2026
View Security Dashboard