Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents Zig comment conventions, supported tags, and validation steps so ZINC's API docs export cleanly to HTML, JSON, text, and llms.
27% 91%+64 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use this when you touch src/**/*.zig and the public surface should stay extractable by site/src/lib/zig-api-loader.ts.
Every documentable module starts with //! comments.
Required shape:
//! @section ... lineEvery public symbol gets a /// doc block immediately above it.
Include:
@param name ... for meaningful parameters@returns ... when the return value matters@note ... for operational caveatsEvery pub fn inside an exported struct, enum, or union also gets a /// doc block.
Keep public API extraction simple. The generator supports:
pub const, pub fn, pub varpub fn methods inside exported containersDo not rely on nested public declarations other than methods. Example:
pub const Nested = struct {} inside another exported struct is not part of the generated docs today.Reuse the existing section names unless you are intentionally changing the docs taxonomy.
Current sections (must match SECTION_META slugs in site/src/lib/zig-api-loader.ts):
CLI & EntrypointsModel Format & LoadingTokenizationDecode PlanningInference RuntimeSamplingNext to this one in the catalogue, plus more from the same author.