CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

language-detector-api

Implements and debugs browser Language Detector API integrations in JavaScript or TypeScript web apps. Use when adding LanguageDetector support checks, availability and model download flows, session creation, detect() calls, input-usage measurement, permissions-policy handling, or compatibility fallbacks for built-in language detection. Don't use for server-side language detection SDKs, cloud translation services, or generic NLP pipelines.

75

Quality

94%

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

92%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.

An exemplary instruction-only skill body: lean imperative procedures with explicit stop conditions, a full validation phase, error-feedback loops, and cleanly disclosed one-level-deep bundle files that all exist. The only minor gap is that the core session-wrapper code lives entirely in the template asset rather than being at least sketched inline.

DimensionReasoningScore

Conciseness

The body is purely imperative directives with zero concept explanation and no padding — every line instructs ('Gate session creation behind LanguageDetector.availability()...', 'Use AbortController for cancelable create(), detect()... calls'), assuming Claude's competence, which matches the 'lean and efficient; every token earns its place' anchor.

5 / 5

Actionability

Concrete guidance throughout: an executable command ('node scripts/find-language-detector-targets.mjs .'), exact API surfaces (availability(), create(), detect(), measureInputUsage(), destroy()), and named exceptions (NotAllowedError, InvalidStateError, QuotaExceededError) with responses. However, the actual wrapper implementation is delegated to assets/language-detector-session.template.ts rather than shown, leaving minor gaps versus fully copy-paste-ready code.

4 / 5

Workflow Clarity

Five clearly sequenced steps culminate in a dedicated validation phase (Step 5: re-run the inventory script, test create()+detect() flows, confirm abort/destroy semantics, run build/typecheck/tests), and the Error Handling section provides feedback loops for each named failure — matching the 'explicit validation steps; feedback loops for error recovery' anchor.

5 / 5

Progressive Disclosure

The body is a concise procedural overview with conditional, well-signaled one-level-deep references ('Read references/examples.md when the feature needs a session wrapper, download-progress UI...'), and all referenced bundle files (4 references, 1 script, 1 asset template) exist with no nested reference chains, matching the top anchor.

5 / 5

Total

19

/

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.

A strong description: third-person, concise, with an explicit what/when pair and concrete API-level trigger terms plus explicit anti-triggers that sharply delimit the skill's niche. The only weakness is slightly incomplete coverage of natural-language synonyms users might say, such as 'identify the language of text'.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'support checks, availability and model download flows, session creation, detect() calls, input-usage measurement, permissions-policy handling, or compatibility fallbacks' — covering the domain comprehensively, matching the top anchor rather than the 'minor gaps' of a 4.

5 / 5

Completeness

It explicitly answers both what ('Implements and debugs browser Language Detector API integrations in JavaScript or TypeScript web apps') and when ('Use when adding LanguageDetector support checks, availability and model download flows...') with concrete trigger phrases, plus an explicit don't-use clause, matching the top anchor.

5 / 5

Trigger Term Quality

Good keyword coverage including 'Language Detector API', 'LanguageDetector', 'language detection', 'permissions-policy', and 'compatibility fallbacks', but common natural phrasings such as 'identify the language of text' or 'language identification' are missing, so it falls just short of the comprehensive synonym coverage of a 5.

4 / 5

Distinctiveness Conflict Risk

A clear niche (built-in browser Language Detector API) is reinforced by explicit exclusions — 'Don't use for server-side language detection SDKs, cloud translation services, or generic NLP pipelines' — minimizing conflict with adjacent Translator/NLP skills, which fits the 'clear niche with distinct triggers' anchor.

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.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

webmaxru/web-ai-agent-skills

Path

skills/language-detector-api/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.