CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

runtime-validation

Use when reviewing code that calls fetch(), reads from localStorage, accesses process.env, or processes form submissions without explicitly validating the incoming data shape.

Quality

64%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./skills/runtime-validation/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

65%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 body is well structured with excellent progressive disclosure — a lean overview that defers complete, executable examples to a real, verified reference file. Its weaknesses are redundancy (a concept Claude already knows, stated three times, plus a duplicated Check/Code Review section) and a workflow whose four sections overlap enough to blur what sequence to follow.

Suggestions

Cut the opening paragraph and the two Quick Reference bullets that restate 'TypeScript types are erased at runtime' — Claude already knows this; keep only the trust-boundary guidance bullet.

Merge 'Check' and 'Code Review' into a single review step (or explicitly mark them as alternative modes), so the Check → Fix → Explain sequence is unambiguous.

Add one minimal inline example in Fix (a small z.object schema plus a .safeParse() boundary call) so the body is self-sufficient without opening the reference.

DimensionReasoningScore

Conciseness

The opening paragraph ('TypeScript gives you confidence at compile time, but data from the network, user input, and storage arrives at runtime as raw, untyped values') explains a concept Claude already knows, and two Quick Reference bullets restate it ('TypeScript types are compile-time only — they are completely erased at runtime'; 'API responses can differ from their declared types without causing a compile error'), while 'Check' and 'Code Review' duplicate each other. It is not 2 because the body is short and each section's wording is terse, and not 4 because the redundant conceptual paragraph is more than a minor instance.

3 / 5

Actionability

The Fix section names the concrete mechanics ('Add Zod schemas', 'where to call .parse() or .safeParse()', 'the validated type inference') and the entry points are enumerated ('fetch calls, localStorage reads, env variable access, form submissions'). Per the rubric's instruction-skill note, absent inline code is not penalized since the guidance is actionable and complete examples are one clearly-signaled reference away; it is not 5 because the body itself contains no copy-paste example.

4 / 5

Workflow Clarity

Check → Fix → Explain forms a recognizable review sequence, but the 'Code Review' section ('Review all external data entry points in this file... Flag any location where data is cast to a TypeScript type without a preceding runtime validation step') largely restates 'Check', leaving it ambiguous whether the four sections are sequential steps or alternative modes, and no validation checkpoints appear. It is not 4 because of this duplicated directive and absent checkpoints, and not 2 because a coherent sequence is present.

3 / 5

Progressive Disclosure

The body is a concise, well-sectioned overview that clearly signals its one-level-deep reference ('For full implementation details, code examples, and framework-specific guidance, see references/rule.md'), and that file exists with substantial, matching content (complete Zod/Valibot examples, verification steps) and no further nested skill references. This matches the anchor for a clear overview with well-signaled one-level-deep references.

5 / 5

Total

15

/

20

Passed

Description

47%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 has strong, natural trigger terms and low conflict risk, but it is purely a 'when' clause: it never states what the skill does (validate external data with a schema library, e.g. Zod), which caps both completeness and specificity. Adding a one-clause capability statement would move it into the good-example range.

Suggestions

State the capability explicitly, e.g. 'Validates external data at runtime with Zod schemas (fetch responses, localStorage reads, process.env, form input). Use when reviewing code that calls fetch(), reads from localStorage, accesses process.env, or processes form submissions without validating the incoming data shape.'

Broaden trigger coverage with natural synonyms users say: 'API responses', 'user input', 'request bodies', 'runtime validation', and 'Zod', so the skill also surfaces for those phrasings.

Name the concrete outputs (report unvalidated entry points, provide the schema definition and .parse()/.safeParse() call sites) so the 'what' is specific rather than implied.

DimensionReasoningScore

Specificity

The trigger conditions are concrete ('calls fetch(), reads from localStorage, accesses process.env, or processes form submissions') but the description never states what the skill does — the only action, 'reviewing code', is the user's activity, not a capability like 'add Zod schema validation'. It is not 3 because that anchor requires 1-2 concrete capability actions, and not 1 because the language is specific rather than vague.

2 / 5

Completeness

This is an explicit, detailed 'when' ('Use when reviewing code that calls fetch()... without explicitly validating the incoming data shape') with no 'what' at all — exactly anchor 2's 'only when is present without what'. It is not 3 because that anchor requires a clear 'what', and not 1 because the 'when' is neither missing nor extremely vague.

2 / 5

Trigger Term Quality

Natural terms a user would actually say are present ('fetch()', 'localStorage', 'process.env', 'form submissions', 'validating the incoming data shape'), giving good keyword coverage. It is not 5 because common synonyms and variations ('API responses', 'user input', 'Zod', 'runtime validation') are missing, and clearly above 3's partial coverage.

4 / 5

Distinctiveness Conflict Risk

The narrow JavaScript-specific triggers (fetch(), localStorage, process.env, form submissions without validation) make it mostly distinct with only minor overlap risk against generic code-review or security-audit skills. It is not 5 because a general code-review skill could plausibly trigger on the same code, and not 3 because the conditions are far more specific than 'works with document files'.

4 / 5

Total

12

/

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

thedaviddias/Front-End-Checklist

Path

skills/runtime-validation/SKILL.md

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.