CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

modern-javascript-patterns

Master ES6+ features including async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators, and functional programming patterns for writing clean, efficient JavaScript code. Use when refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications.

56

Quality

71%

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/modern-javascript-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

43%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 lean and well-sectioned but nearly empty of substance: every instruction is generic filler, there is no executable example of any of the advertised patterns, and its one external reference points to a file that does not exist in the bundle. As shipped, the skill gives Claude trigger conditions but no actionable guidance.

Suggestions

Add 2-3 executable code examples for the highest-value patterns directly in SKILL.md (e.g., callback-to-async/await refactor, destructured function parameters) so the body delivers on the description's promises.

Replace the abstract instruction bullets with a concrete ordered workflow and an explicit validation checkpoint, e.g. "1. Identify the legacy pattern in the code 2. Apply the modern equivalent from the playbook 3. Run the refactored code / lint to verify behavior is unchanged".

Fix the dangling reference: resources/implementation-playbook.md does not exist in the bundle. Either create the playbook under references/ and update the path, or remove the pointer until the file exists.

DimensionReasoningScore

Conciseness

The body is short and assumes Claude's competence — no explanations of what ES6 or promises are. However, the two tautological "Do not use this skill when" bullets ("The task is unrelated to modern javascript patterns") and an intro sentence that restates the frontmatter description are tokens that could be trimmed, stopping short of the lean anchor.

4 / 5

Actionability

The Instructions section is abstract — "Apply relevant best practices and validate outcomes", "Provide actionable steps and verification" — with no code examples, commands, or named patterns anywhere in the body. The only concrete pointer is "open resources/implementation-playbook.md", and that file does not exist in the bundle, leaving minimal usable guidance; not score 1 because trigger conditions and the file pointer are at least specific.

2 / 5

Workflow Clarity

The instruction bullets form only a rough, generic sequence (clarify goals → apply best practices → validate) whose steps are poorly defined — "apply relevant best practices" is not operational — and validation is mentioned only vacuously with no checkpoint. Far more abstract than the anchor-3 example of concrete listed steps with an implicit test step.

2 / 5

Progressive Disclosure

Sections are well organized and the single external reference is clearly signaled (inline instruction plus a Resources section), but the referenced file resources/implementation-playbook.md does not exist — no references/, scripts/, or assets/ directories are present — so the disclosure path is broken and the detail layer is entirely missing.

3 / 5

Total

11

/

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.

A strong description: it names a comprehensive set of concrete ES6+ features, includes an explicit and specific 'Use when' trigger clause, and maintains appropriate voice. The only weaknesses are the topic-oriented verb 'Master' instead of concrete actions and slightly broad optimization/clean-code phrases that risk overlap with general code-quality skills.

DimensionReasoningScore

Specificity

Lists many concrete features — "async/await, destructuring, spread operators, arrow functions, promises, modules, iterators, generators" — but the framing verb "Master ... features" describes a topic rather than concrete actions like extract/fill/merge, leaving minor gaps versus the comprehensive anchor.

4 / 5

Completeness

Explicitly answers both: what ("Master ES6+ features including async/await, destructuring ... functional programming patterns") and when ("Use when refactoring legacy code, implementing modern patterns, or optimizing JavaScript applications") with concrete trigger phrases. Anchor 4 would require the 'when' to be less explicit, which it is not.

5 / 5

Trigger Term Quality

Good natural-keyword coverage: "refactoring legacy code", "optimizing JavaScript applications", "async/await", "promises" are phrases users would plausibly say. Missing a few common variations and synonyms (e.g., "ES6", "modern JS", "callbacks to promises"), so it falls just short of the comprehensive anchor.

4 / 5

Distinctiveness Conflict Risk

Mostly distinct — ES6+ syntax modernization with triggers like "refactoring legacy code" and "migrating from callbacks" carves a clear niche, but broad phrases like "optimizing JavaScript applications" and "writing clean, efficient JavaScript code" create minor overlap risk with general code-quality or debugging skills.

4 / 5

Total

17

/

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

rmyndharis/antigravity-skills

Path

skills/modern-javascript-patterns/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.