CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

modern-array-methods

Use when reviewing scripts, client components, bundles, or runtime behavior related to Use modern array and object methods. Inspect both source code and the browser execution path so fixes target the real bottleneck or bug.

Quality

68%

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-array-methods/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

63%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 a clean Check/Fix/Explain flow and exemplary one-level-deep reference handling, but it opens with known-concept justification Claude doesn't need and delegates all code examples to the reference file, leaving the Fix step itself vague. Tightening the intro and adding one inline before/after loop-to-method example would raise both conciseness and actionability.

Suggestions

Cut or compress the opening justification paragraph ("well-optimized by JavaScript engines", "self-documents") — Claude already knows why declarative methods are preferred.

Include one small inline before/after example (a for loop next to its filter/map equivalent) so the Fix step is executable without opening the reference.

Add a brief verification note in Fix, e.g. confirm the refactored expression produces the same result as the original loop.

DimensionReasoningScore

Conciseness

The opening paragraph ("a filter() call self-documents that you're selecting items... well-optimized by JavaScript engines and support chaining") justifies why modern methods are preferred — a concept Claude already knows — while the rest of the body (Quick Reference, Check, Fix, Explain, Code Review) is appropriately lean.

3 / 5

Actionability

Concrete direction exists ("Find loops in this file that could be replaced with modern array methods like map, filter, reduce, find, or flatMap"; "Use structuredClone() for deep copying instead of JSON.parse(JSON.stringify())"), but the body contains no executable code example and "Replace manual for/while loops with appropriate array methods" leaves the actual transformation unspecified.

3 / 5

Workflow Clarity

The Check → Fix → Explain → Code Review sections give a clear, unambiguous sequence for a simple, non-destructive task. Not a 5 because there is no verification checkpoint that the refactor preserves behavior (e.g., confirming equivalent output after replacing a loop).

4 / 5

Progressive Disclosure

The body is a short, well-sectioned overview, and the single reference — "For full implementation details, code examples, and framework-specific guidance, see `references/rule.md`" — is clearly signaled and one level deep (verified: references/rule.md exists, 115 lines, containing the code examples and framework guidance).

5 / 5

Total

15

/

20

Passed

Description

58%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 an explicit 'Use when' clause and partial capability framing, but the action verbs are generic review boilerplate rather than capability-specific, and it lacks the natural trigger terms (specific method names, 'loops') users would say. The awkward embedded phrase "related to Use modern array and object methods" further blurs what the skill actually does.

Suggestions

State the core capability as an action, e.g. "Replace manual for/while loops with map, filter, reduce, find, and flatMap, and use Object.entries/structuredClone for object transforms and deep copies."

Add natural trigger terms users would say: "map", "filter", "reduce", "for loop", "forEach", "refactor loops", "declarative".

Rewrite the broken clause "related to Use modern array and object methods" into grammatical prose so the topic reads as a capability, not a pasted rule title.

DimensionReasoningScore

Specificity

Names the domain ("modern array and object methods") and a couple of concrete actions ("reviewing scripts, client components, bundles, or runtime behavior", "Inspect both source code and the browser execution path"), but the actions are generic review/inspect verbs and the actual capability — replacing loops with specific array methods — is never stated as an action.

3 / 5

Completeness

Has an explicit 'when' ("Use when reviewing scripts, client components, bundles, or runtime behavior...") and a partial 'what' ("Inspect both source code and the browser execution path so fixes target the real bottleneck or bug"). Not a 5 because the 'what' never states the core capability — replacing manual loops with modern methods — as a concrete action.

4 / 5

Trigger Term Quality

Includes some relevant keywords ("scripts", "client components", "bundles", "browser execution path", "modern array and object methods") but misses the natural phrases a user would actually say, such as "map", "filter", "reduce", "for loop", or "refactor loops".

3 / 5

Distinctiveness Conflict Risk

The phrase "related to Use modern array and object methods" narrows the topic, but the trigger set "reviewing scripts, client components, bundles, or runtime behavior" is boilerplate shared with other frontend review skills, so it could still overlap with similar skills.

3 / 5

Total

13

/

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/modern-array-methods/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.