CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

js-file-size

Use when auditing slow page loads, heavy assets, or rendering delays related to Optimize JavaScript bundle size. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

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/js-file-size/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.

The body is a concise, well-structured overview with a sensible Check/Fix/Explain workflow and excellent progressive disclosure into a single verified reference file. Its main weakness is actionability: the check and fix steps name techniques and a threshold but give no executable measurement or implementation commands, deferring all specifics to the reference.

Suggestions

Add one or two executable measurement commands to the Check section (e.g. a webpack-bundle-analyzer or source-map-explorer invocation) so the audit can be run directly from SKILL.md.

Add a post-fix validation step (re-measure bundle sizes and confirm files are under 200KB) to close the feedback loop in the Check → Fix workflow.

Trim the intro sentence explaining how excessive JavaScript affects devices, since it restates knowledge Claude already has and duplicates the Explain section.

DimensionReasoningScore

Conciseness

Lean ~30-line body with concrete thresholds ("under 200KB (compressed)") and no padding; the only trimmable over-explanation is the intro sentence "Excessive JavaScript increases parse and execution time, especially on low-end devices", which restates knowledge Claude already has. Not 5 because that intro and the Explain section restate well-known concepts; not 3 because the body is otherwise tight and every section carries instructions.

4 / 5

Actionability

Concrete guidance exists — the 200KB Gzip/Brotli threshold and named techniques ("code-splitting, tree-shaking, and dependency audits") — but no executable commands or measurement steps (no bundle-analyzer, webpack stats, or DevTools instructions). Not 4 because "Review the JavaScript bundle sizes" and "Implement code-splitting" are high-level directions missing the specific steps to execute; not 2 because the threshold and named techniques are more than minimal hints.

3 / 5

Workflow Clarity

Clear Check → Fix → Explain → Code Review sequence, with a measurement checkpoint in Code Review ("describe the measurement method used to confirm the issue") and the verify-before-recommending caution carried from the description. Not 5 because there is no post-fix re-measure or feedback loop; not 3 because the sequence is explicit and measurement confirmation is required.

4 / 5

Progressive Disclosure

The body is a well-organized overview and implementation details are cleanly split into a verified, one-level-deep reference: "For full implementation details, code examples, and framework-specific guidance, see `references/rule.md`" — the reference exists, is clearly signaled, and states its purpose. Matches the 5 anchor for clear overview with well-signaled one-level-deep references.

5 / 5

Total

16

/

20

Passed

Description

57%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, natural trigger clause and names concrete verification tools, but it inverts the completeness pattern: a strong 'when' with only a weakly implied 'what'. Embedding the rule title mid-sentence also hurts specificity and reads awkwardly.

Suggestions

State the 'what' explicitly, e.g. "Audits JavaScript bundles, flags files exceeding 200KB compressed, and recommends code-splitting and dependency pruning" before the Use-when clause.

Replace the mid-sentence rule title with natural phrasing ("related to JavaScript bundle size") and add common synonyms like "large JS bundles", "bundle bloat", or "time to interactive".

Narrow the trigger terms to JS-specific signals (e.g. "large JS files", "slow Time to Interactive") to reduce overlap with other performance skills like image optimization.

DimensionReasoningScore

Specificity

Names the domain ("Optimize JavaScript bundle size") and 1-2 concrete actions ("auditing slow page loads" and "Verify the actual bottleneck in DevTools, Lighthouse, or field data"), but coverage is not comprehensive and the embedded rule title reads as padding rather than an action. Not 4 because only two real actions are listed; not 2 because the domain and actions are concrete, not generic.

3 / 5

Completeness

The 'when' is explicit ("Use when auditing slow page loads, heavy assets, or rendering delays") but the 'what' is only weakly implied through the embedded rule title; the description never states what the skill actually does. Not 4, which requires both what and when; not 2, because the when-clause clearly conveys the domain even without a separate what.

3 / 5

Trigger Term Quality

Good natural keyword coverage: "slow page loads", "heavy assets", "rendering delays", "bundle size", plus tool names (DevTools, Lighthouse). Not 5 because common variations like "large bundle", "JS bloat", "time to interactive", or file extensions are missing.

4 / 5

Distinctiveness Conflict Risk

The JS bundle size niche is specific, but generic performance triggers like "slow page loads, heavy assets, or rendering delays" could overlap with sibling performance skills such as image optimization or lazy loading. Not 4 because the broad trigger phrases create real overlap risk with closely related performance 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/js-file-size/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.