Hub
rules-zig
rules-zig
v4 public VerifiedZig
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. These rules govern memory management safety and coding best practices for AI agents.
Severity
9 error
23 warn
2 info
demo.cast
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software. These rules govern memory management safety and coding best practices for AI agents.
Rules index
34 governance rules
Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.
zig
zig-aligncast-unverified
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-build-zig-command-execution
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-build-zon-minimum-zig-version
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-catch-unreachable
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-concurrency-thread-safe-allocator
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-create-missing-destroy
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-crypto-default-prng-risk
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-deprecated-arrayhashmap-managed
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-deprecated-childprocess
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-deprecated-io-writergate
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-deprecated-mem-copy
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-deprecated-mem-set
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-fixed-buffer-allocator-untrusted
info
log
Rule source requires an active
Pro or Enterprise subscription.
zig-fs-open-absolute
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-global-mutable-state-lib
info
log
Rule source requires an active
Pro or Enterprise subscription.
zig-mem-eql-timing-attack
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-memcpy-raw-ptr-no-bounds
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-path-traversal-cwd-open-file
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-process-exec-unvalidated
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-ptrfromint-banned
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-tls-insecure-client
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-truncate-unchecked
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-warn-http-server-production
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-warn-ignore-errors
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-warn-page-allocator
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-warn-release-fast
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-warn-undefined-memory
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-weak-hash-md5-sha1
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-alloc-missing-defer
zig-alloc-missing-defer
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-extern-ffi-no-bounds
zig-extern-ffi-no-bounds
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-intcast-unchecked
zig-intcast-unchecked
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-inttoptr-banned
zig-inttoptr-banned
error
block
Rule source requires an active
Pro or Enterprise subscription.
zig-ptrcast-unjustified
zig-ptrcast-unjustified
warning
log
Rule source requires an active
Pro or Enterprise subscription.
zig-unreachable-in-lib
zig-unreachable-in-lib
warning
log
Rule source requires an active
Pro or Enterprise subscription.
Version metadata
Published metadata
The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.
- Version
- v4
- Published
- Apr 8, 2026
- Source commits
- 0
- Synced
- Oct 11, 2026
- Hash
9878c40e233110be9365445e99e2cf321a283cc130c4eb0ac0844e6b2e922099- Signature
- Verified (publisher key)
- Tested with
- claude-code@current
- Plan
- Starter (free)
- Visibility
- Public
Source history
Recent commits
Latest commits touching rulesets/rules-zig/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-zig. The published version only bumps when a maintainer resyncs.
No commit history available.