CtrlK
BlogDocsLog inGet started
Tessl Logo

const-let

Use when reviewing scripts, client components, bundles, or runtime behavior related to Prefer const and let over var. Inspect both source code and the browser execution path so fixes target the real bottleneck or bug.

56

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/const-let/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

53%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 skill is well-structured with clear sections and a real, well-signaled reference file, but it re-explains basic JS scoping concepts, provides no executable code or commands, and lacks a validation checkpoint for its batch 'flag every var' operation.

Suggestions

Remove or compress the opening paragraph that re-explains var hoisting and const semantics — Claude already knows this.

Add an executable command for finding var usages, e.g. `grep -rn '\bvar\b' .` or an AST-based snippet, so the guidance is copy-paste ready.

Insert a validation checkpoint after the Fix step, e.g. re-scan to confirm zero var occurrences remain before declaring the review complete.

DimensionReasoningScore

Conciseness

The body re-explains concepts Claude already knows — 'var's function scope and hoisting behavior regularly causes bugs' and 'const signals that a binding should not be reassigned' — which is padding; the rest is reasonably efficient.

3 / 5

Actionability

Instructions like 'Scan this JavaScript file for any use of var and flag every occurrence with line numbers' are concrete but contain no executable code or commands; for a code skill the absence of any example grep/sed/AST command leaves it incomplete.

3 / 5

Workflow Clarity

Check → Fix → Explain → Code Review gives a rough sequence, but 'flag every occurrence' is a batch operation with no validation step to confirm all instances were found and fixed, capping workflow clarity at 3.

3 / 5

Progressive Disclosure

A single one-level-deep reference to references/rule.md is clearly signaled ('see references/rule.md') and the file exists; the body is well-sectioned, though the reference is a plain path rather than a navigable markdown link.

4 / 5

Total

13

/

20

Passed

Description

76%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 on completeness with an explicit 'Use when...' trigger and concrete what/when guidance. Trigger-term coverage is the weakest area, missing natural phrases like 'var' or 'block scope' that a user would actually say.

Suggestions

Add natural trigger phrases users would say, e.g. 'Use when the user mentions var, var vs let, or block-scoped declarations'.

Trim 'browser execution path' specificity unless it is a core differentiator; it slightly dilutes the primary const/let trigger.

DimensionReasoningScore

Specificity

Lists several concrete actions — 'reviewing scripts, client components, bundles, or runtime behavior' and 'Inspect both source code and the browser execution path' — with only minor coverage gaps (no mention of specific outputs like a diff or report).

4 / 5

Completeness

Explicitly answers both what (review const/let usage, inspect source and browser execution path) and when ('Use when reviewing scripts, client components, bundles, or runtime behavior related to Prefer const and let over var') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes relevant terms ('scripts', 'client components', 'bundles', 'runtime behavior', 'var', 'const and let') but is missing common natural variations users would say (e.g., 'var', 'var vs let', 'block scope') phrased as user-facing triggers.

3 / 5

Distinctiveness Conflict Risk

The combination of 'const and let over var' with 'browser execution path' and 'client components' is fairly distinct from other JavaScript skills, with only minor overlap risk with general linting/review skills.

4 / 5

Total

16

/

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

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
thedaviddias/Front-End-Checklist
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.