In short.
duplicate-js is an assistant skill for front-end developers investigating duplicate JavaScript libraries, but its suggested dependency changes require evidence from the delivered application and compatibility checks. It combines package-manager queries, bundle inspection, third-party script review and browser measurements. Its strongest feature is the requirement to confirm the bottleneck before recommending changes. Its examples are introductory: dependency-tree duplicates and a single global jQuery version cannot establish everything a page loads. No execution results or measured performance gains are supplied.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied skills/duplicate-js folder: SKILL.md and references/rule.md, plus the repository-root LICENSE supplied as the related notice. Other repository skills and the contents of linked websites and tools are outside this scope. No commands, dependency changes, assistant loading or browser audits were executed. Runtime behavior, host compatibility, detection coverage and performance improvements remain unverified.
The overview
Identity
duplicate-js belongs to the thedaviddias/Front-End-Checklist repository. Its selected folder contains SKILL.md and references/rule.md, both focused on removing duplicate JavaScript libraries. SKILL.md supplies assistant instructions and points to the reference for implementation guidance.
The resource is a skill expressed as Markdown instructions. The supplied folder contains no executable duplicate scanner. Its rule page is [https://frontendchecklist.io/rules/performance/duplicate-js].
Assessment
The skill is useful as a focused audit guide when repeated dependencies may contribute to slow loading or excess JavaScript work. It asks for exact files, requests or rendering steps and a measurement method that confirms the issue.
The reference provides a practical starting point, but application-specific judgment remains necessary. Multiple installed versions do not establish that multiple copies reach the same page, and forcing a shared version requires checking whether dependent packages support it.
Users
The guidance suits front-end developers, performance reviewers and coding assistants examining heavy bundles, repeated libraries or third-party scripts. Beginners get concrete commands and a check, fix and explain structure; experienced developers get a reminder to connect dependency findings to actual delivery and execution costs.
The source labels the task intermediate difficulty and medium priority. It assumes enough project knowledge to interpret dependency relationships, inspect build output and assess changes to package versions.
Capabilities
The skill guides an assistant through finding repeated libraries, considering consolidation, explaining download and runtime costs, and reviewing affected routes and assets. The reference covers npm and pnpm inspection, package overrides, deduplication commands, peer dependencies and scripts that bring their own dependencies.
It also requests verification through Lighthouse, PageSpeed Insights or DevTools, including network or performance inspection and a throttled mobile profile. These are instructions to use external tools; the supplied files do not perform those operations themselves.
Using it
Requirements
Following the examples requires access to the application's dependency information and the relevant npm or pnpm environment. Confirming whether duplicates affect users requires access to delivered assets, a suitable bundle analyzer and browser measurements for the affected page or flow.
The files do not specify supported assistant hosts, installation directories, Node.js versions, package-manager versions or analyzer versions. Compatibility with a particular assistant or build system is unknown.
Mechanism
SKILL.md directs the assistant to verify a bottleneck, identify duplicate libraries, propose consolidation and explain the performance or stability implications. Its code-review instruction asks the assistant to name the affected files, requests or rendering steps and describe how the problem was measured.
The reference connects dependency-tree inspection with bundle visualization, package overrides or deduplication, third-party script review and subsequent browser measurements. The practical inference is that a dependency-tree finding needs confirmation in delivered assets before choosing a fix.
Setup
Preserve SKILL.md and references/rule.md in their existing relationship so the relative reference remains usable. Loading the folder requires the chosen assistant's documented skill mechanism; these files provide no host-specific installation procedure.
For an application investigation, prepare access to the dependency tree, relevant build output and the affected browser route. The source names webpack-bundle-analyzer and rollup-plugin-visualizer as bundle inspection options, but supplies no integration configuration.
Example
For a Lodash investigation, the reference gives npm ls lodash and pnpm why lodash as dependency queries. If they reveal multiple versions, the next useful step is to inspect the affected bundle and page to establish which copies are delivered and whether they contribute material cost.
The included package.json illustration sets overrides.lodash to ^4.17.21. This is an example from the source; its suitability for a particular application's dependent packages is unknown. Any chosen consolidation should be followed by behavior checks and comparable browser measurements. No command output or before-and-after result is supplied.
Assessment & evidence
Limitations
The browser example reads window.jQuery?.fn?.jquery, which reports the version exposed through that global. It does not enumerate every bundled or aliased jQuery copy. Likewise, package-manager queries describe dependency relationships without proving what a specific page downloads.
The source describes Lighthouse duplicate-module detection and JSHint collision checks, but provides no output demonstrating their coverage. Bundlephobia is presented as a dependency-cost aid; the supplied text does not show it inspecting an application's complete bundle.
Although SKILL.md points to framework-specific guidance, the supplied reference contains generic examples. There are no framework-specific implementations, compatibility results or measured savings. Its broad single-version goal needs qualification wherever dependent packages require incompatible APIs.
Reasoning
The source's rationale is that repeated library code can add download, parsing, compilation, execution and memory costs, while different versions can introduce API or global-state conflicts. It recommends prioritizing a duplicated heavyweight dependency over indiscriminate cleanup of shared utilities.
The expected benefit therefore depends on the application actually delivering redundant code and that code contributing meaningful cost. The evidence supports investigating this mechanism, but establishes no particular application's savings.
Alternatives
For a one-off investigation, developers can use the named package-manager queries, bundle analyzers and browser tools directly. Webpack Bundle Analyzer is linked at [https://github.com/webpack-contrib/webpack-bundle-analyzer], while the reference also names rollup-plugin-visualizer.
Bundlephobia [https://bundlephobia.com/] serves the narrower package-cost question. Lighthouse [https://developer.chrome.com/docs/lighthouse/overview/] and DevTools support the browser-measurement part of the investigation. The supplied evidence contains no comparison with other assistant skills or measured comparison among these tools.
Evidence
The primary instruction file is [https://raw.githubusercontent.com/thedaviddias/Front-End-Checklist/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/duplicate-js/SKILL.md]. The implementation reference is [https://raw.githubusercontent.com/thedaviddias/Front-End-Checklist/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/skills/duplicate-js/references/rule.md].
The accompanying licence is [https://raw.githubusercontent.com/thedaviddias/Front-End-Checklist/e8d14d049010e2ce25afcd5e8609dfcbbe63e47e/LICENSE]. These files establish the instructions, examples and redistribution terms. They contain no application traces, execution logs, compatibility results or performance benchmarks.
Access & freshness
Costs
The MIT licence grants permission to use and redistribute the supplied material free of charge. The files do not establish assistant-host fees, model usage charges or external-service pricing, so total operating cost is unknown.
The source's 15-minute estimate is an unvalidated effort estimate. It does not establish how long a real investigation, dependency migration or regression check will take.
Rights
The supplied repository-root MIT licence names David Dias as copyright holder for 2017–2026. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions.
The material is supplied without warranty. Redistribution of the captured skill files should retain the supplied licence notice. Rights for the external tools and websites mentioned in the reference are not established by this licence.
Freshness
The supplied source version is repository commit e8d14d049010e2ce25afcd5e8609dfcbbe63e47e, captured on 2026-11-17 at 03:50:28.437 UTC. This identifies the snapshot represented by the report.
The capture time does not establish when the skill was last edited. Later repository changes, current tool behavior and the continued suitability of the example dependency range are unknown.
Actions
Begin with a measured slow page or flow. Inspect its delivered bundles and third-party requests, then use dependency queries to trace a confirmed duplicate to its source. Check dependent packages' supported versions before choosing an override or consolidation.
After a change, compare the same route under comparable conditions, inspect the network or performance timeline and verify behavior on a throttled mobile profile. Evaluate any applicable performance budget or Web Vital threshold. Expected savings remain unknown until those measurements exist.
