CtrlK
BlogDocsLog inGet started
Tessl Logo

type-level-error-messages

Make compile-time errors readable by branding constraint-violation types as template literal messages with a U+200B zero-width-space suffix. Use when writing helper functions that constrain object keys, string shapes, or other literal-type inputs and you want the TypeScript error tooltip to read as an English sentence pointing at the offending value.

77

Quality

96%

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

SKILL.md
Quality
Evals
Security

Quality

Content

100%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 an exemplar of a focused code skill: executable examples, no fluff, and clear sectioning that handles alternatives and pitfalls concretely. Structure and progressive disclosure are clean for a self-contained reference.

DimensionReasoningScore

Conciseness

Lean and efficient throughout: code-first examples with no padding, assumes Claude's TypeScript competence, and every explanatory section (the U+200B rationale, the arkregex/never/unique-symbol comparisons) earns its place with concrete justification.

5 / 5

Actionability

Fully executable, copy-paste-ready code for the predicate, branded error type, helper, and runtime-checked variant, plus four concrete mistakes with fixes — covering the common cases completely.

5 / 5

Workflow Clarity

As a single-purpose pattern reference the application is unambiguous, and the 'Where to put the runtime check' section pairs the type-level check with a concrete runtime validation path and enumerates the bypass cases.

5 / 5

Progressive Disclosure

Well-signaled, one-level-deep structure (pattern, why-the-suffix, anatomy, alternatives, pitfalls, reference) with a final Reference block pointing to concrete file paths; no bundle files exist, so the self-contained body is appropriately organized.

5 / 5

Total

20

/

20

Passed

Description

92%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 specific, complete, and distinctive, clearly stating both the capability and a concrete 'Use when...' trigger. The only soft spot is trigger-term breadth, where a few more natural synonyms would round it out.

Suggestions

Add a couple of natural-language synonyms to the trigger clause (e.g. 'TypeScript type errors', 'compile-time error messages', 'literal-type constraints') so users phrasing the need differently still match.

Consider naming the file-extension or ecosystem cue (e.g. '.ts helper functions') to broaden the keyword surface without losing specificity.

DimensionReasoningScore

Specificity

Names multiple concrete actions (branding constraint-violation types as template literal messages, appending a U+200B zero-width-space suffix) with comprehensive coverage of the technique, matching the 'lists multiple specific concrete actions' anchor.

5 / 5

Completeness

Explicitly answers both what ('Make compile-time errors readable by branding...') and when ('Use when writing helper functions that constrain object keys...') with concrete trigger phrases, matching the 'clearly and explicitly answers both what AND when' anchor.

5 / 5

Trigger Term Quality

Good keyword coverage ('helper functions that constrain object keys, string shapes, or other literal-type inputs', 'TypeScript error tooltip'), but lacks the breadth of synonyms and varied natural phrasings that would mark it comprehensive.

4 / 5

Distinctiveness Conflict Risk

Targets a clear niche (type-level branded template-literal error messages in TypeScript) with distinct triggers and minimal overlap risk with other skills.

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
EpicenterHQ/epicenter
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.