CtrlK
BlogDocsLog inGet started
Tessl Logo

zig-best-practices

Provides Zig patterns for type-first development with tagged unions, explicit error sets, comptime validation, and memory management. Must use when reading or writing Zig files.

85

1.13x
Quality

80%

Does it follow best practices?

Impact

94%

1.13x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./data/skills-md/0xbigboss/claude-code/zig-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

76%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is a strong, mostly lean reference dominated by executable Zig examples with a clear type-first design workflow. Its main weakness is progressive disclosure: the Advanced Topics references point to GENERICS.md, C-INTEROP.md, and DEBUGGING.md, none of which are present in the bundle.

Suggestions

Create the referenced bundle files GENERICS.md, C-INTEROP.md, and DEBUGGING.md (or remove the dead 'Advanced Topics' links) so progressive disclosure points to real material.

Consolidate the repeated anyerror-vs-explicit-error-set guidance that appears in both 'Make Illegal States Unrepresentable', 'Error Handling Patterns', and 'Instructions' to tighten conciseness.

Add a brief feedback-loop (validate → fix → retry) example for a batch or destructive operation such as the arena batch processing to lift workflow clarity toward the 5-anchor.

DimensionReasoningScore

Conciseness

The body is largely efficient with executable Zig snippets and minimal concept re-explanation, but several sections restate guidance already covered elsewhere (e.g., 'Avoiding anytype' and 'Error Handling Patterns' repeat the anyerror/explicit-error-set point) and some 'Instructions' bullets echo per-section examples, leaving minor trim opportunities versus the lean 5-anchor.

4 / 5

Actionability

Quotes fully executable, copy-paste-ready Zig code throughout ('fn parse(input: []const u8) ParseError!Ast', 'var arena = std.heap.ArenaAllocator.init(...)') plus concrete directives like 'Use std.testing.allocator in tests for leak detection', covering common cases and matching the 5-anchor.

5 / 5

Workflow Clarity

The 'Type-First Development' workflow lists a clear numbered sequence (define data structures → function signatures → implement → 'Validate at comptime'), giving an explicit validation checkpoint, but it is a design workflow rather than a destructive/batch operation and later sections (Module Structure, Instructions) are lists rather than sequenced steps with feedback loops, so it sits just below the 5-anchor.

4 / 5

Progressive Disclosure

Structure is good with clear sections and a one-level 'Advanced Topics' reference list ('See GENERICS.md', 'C-INTEROP.md', 'DEBUGGING.md'), but those referenced files do not exist in the bundle (references/, scripts/, assets/ absent and no root .md files), so the navigation points to missing material, fitting the 3-anchor's 'references present but not clearly signaled / could be better organized'.

3 / 5

Total

16

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is strong: third-person voice, concrete capability list, and an explicit 'Must use when' trigger. It is comprehensive on completeness and distinctiveness, with minor room to add synonyms (e.g., '.zig', 'Zig code') in trigger terms and slightly more discrete action framing.

DimensionReasoningScore

Specificity

Quotes 'tagged unions, explicit error sets, comptime validation, and memory management' — names multiple specific concrete capabilities, though framed as domains/patterns rather than discrete actions, leaving minor coverage gaps versus the comprehensive 5-anchor.

4 / 5

Completeness

Clearly answers what ('Provides Zig patterns for type-first development with tagged unions, explicit error sets, comptime validation, and memory management') and when ('Must use when reading or writing Zig files') with a concrete trigger phrase, matching the 5-anchor.

5 / 5

Trigger Term Quality

Quotes 'reading or writing Zig files' and 'Zig patterns' — good natural keyword coverage with the file type, but missing common synonyms or extensions (e.g., '.zig', 'Zig code'), landing just above the 3-anchor.

4 / 5

Distinctiveness Conflict Risk

Zig-specific niche with distinct triggers ('reading or writing Zig files') and minimal conflict risk against non-Zig skills, matching the 5-anchor's clear-niche criterion.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 3 missing

Warning

Total

15

/

16

Passed

Repository
NeverSight/skills_feed
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.