CtrlK
BlogDocsLog inGet started
Tessl Logo

dom-performance

Use when reviewing scripts, client components, bundles, or runtime behavior related to Minimize costly DOM read/write operations. Inspect both source code and the browser execution path so fixes target the real bottleneck or bug. In React, repeated requestAnimationFrame-driven state updates across multiple mounted components are a valid performance smell when visible in the source.

60

Quality

70%

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/dom-performance/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

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

A well-structured, brief rule skill with a clean task-mode layout and exemplary progressive disclosure to a real references/rule.md containing executable code. Its main cost is the opening paragraph re-teaching layout thrashing to Claude, and its task sections describe what to do without an explicit ordered fix-then-verify loop.

Suggestions

Cut or compress the introductory explanation of reflow/layout thrashing to one sentence; Claude already knows the concept and the details live in references/rule.md.

Add a short ordered fix workflow in the Fix section (batch reads -> batch writes -> mark listeners passive -> re-measure in DevTools) with a re-check step after changes.

DimensionReasoningScore

Conciseness

The opening paragraph re-explains forced synchronous layout and layout thrashing — concepts Claude already knows well — which the guidelines explicitly penalize ("Doing this in a loop... can freeze the page for hundreds of milliseconds"). The Quick Reference and task sections are lean, so overall it is 'mostly efficient but includes some unnecessary explanation', not the noticeably-verbose level 2 or the fully-lean level 4.

3 / 5

Actionability

The Quick Reference gives concrete, API-specific directives — "Never interleave DOM reads (offsetHeight, getBoundingClientRect) with DOM writes", "Use passive listeners for scroll, touch, and wheel" — and the Check/Fix/Code Review sections give unambiguous instructions. As an instruction-plus-reference skill the code examples live in references/rule.md (which exists and contains executable JavaScript), so the absence of inline code is a minor gap, matching 'mostly executable guidance with minor gaps' rather than the copy-paste-ready anchor at 5.

4 / 5

Workflow Clarity

The four task modes (Check, Fix, Explain, Code Review) are each unambiguous, and the Code Review mode embeds a verification checkpoint ("state how the change should be verified in the browser"). No destructive or batch operations are involved, so no validation cap applies. It falls short of the explicit sequence-with-feedback-loop anchor at 5 because the review/fix workflow has no ordered steps or re-check loop after a fix.

4 / 5

Progressive Disclosure

The body is a concise overview with clear sections and a single, well-signaled, one-level-deep pointer — "For full implementation details, code examples, and framework-specific guidance, see references/rule.md" — and the referenced file exists with no further nesting. This matches the 'clear overview with well-signaled one-level-deep references' anchor exactly.

5 / 5

Total

16

/

20

Passed

Description

70%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 solid description with an explicit 'Use when...' clause, natural frontend trigger terms, and a distinguishable performance niche. Its main weaknesses are a 'what' that leans on the embedded rule title rather than enumerating concrete capabilities, and the absence of the most colloquial trigger synonyms (reflow, layout thrashing, jank).

Suggestions

Replace the embedded rule title with a concrete capability list, e.g. 'Detects and fixes layout thrashing by batching DOM reads and writes, marks scroll/touch/wheel listeners passive, and eliminates per-frame React state updates.'

Add natural trigger synonyms users actually say: 'layout thrashing', 'reflow', 'janky animations', 'slow renders'.

Trim the React-specific sentence from the description; it narrows the trigger surface and duplicates detail better kept in the body or references.

DimensionReasoningScore

Specificity

The description names the domain ("DOM read/write operations", "browser execution path") and one or two concrete actions ("Inspect both source code and the browser execution path so fixes target the real bottleneck or bug"), but does not comprehensively enumerate what the skill does — the 'what' leans on the embedded rule title. It lists several specific actions like flagging imports and handlers, but only in the body, not the description, keeping this at the '1-2 concrete actions, not comprehensive' anchor rather than 4.

3 / 5

Completeness

Both 'what' (review/inspect source and browser execution path for DOM read/write issues) and 'when' (explicit "Use when reviewing scripts, client components, bundles, or runtime behavior...") are present. The 'when' could be more specific — it lacks trigger phrases like 'the page is janky' or 'layout thrashing' — so it matches the 'both present, when could be more explicit' anchor rather than the fully concrete anchor at 5.

4 / 5

Trigger Term Quality

Good natural keyword coverage: "scripts", "client components", "bundles", "runtime behavior", "React", "requestAnimationFrame-driven state updates" are phrases a frontend developer would plausibly say. A few commonly used synonyms are missing — "layout thrashing", "reflow", "jank", "passive listeners" — which keeps it below the comprehensive anchor at 5 but noticeably above the 'missing common variations' midpoint at 3.

4 / 5

Distinctiveness Conflict Risk

The niche is clear — DOM read/write performance review in browser/React code — with distinct triggers like requestAnimationFrame state updates. Minor overlap risk with generic code-review or performance skills, matching the 'mostly distinct; minor overlap risk' anchor rather than the minimal-conflict anchor at 5.

4 / 5

Total

15

/

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