zig fmt.
Verify canonical Zig formatting
Use the formatter shipped with the project's compiler. Check the source tree in CI so contributors and automation agree on layout.
Zig
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedZig's formatter defines conformity by comparing a source file with its own canonical formatting. The historical release notes document the check-mode contract.
Measurement
Verifiedzig fmt --check lists paths that would change, retains their contents and exits with an error when the list is nonempty.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
VerifiedThe published Zig compiler build wires a formatting check over selected source paths into the aggregate test step with check mode enabled.
Getting started
UnknownNo reviewed evidence is recorded for this dimension.
Can a newcomer complete a first run? Contribute evidence ↗
Real-world adoption
UnknownNo reviewed evidence is recorded for this dimension.
Has another team put it to work? Contribute evidence ↗
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Run the check with the tool installed and configured for your project.
zig fmt --check .
Agent prompt
Use zig fmt in this repository to meet this standard: Verify canonical Zig formatting. Use the formatter shipped with the project's compiler. Check the source tree in CI so contributors and automation agree on layout. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.