본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2826

duplicate-js

하는 일

이 스킬은 같은 도구의 두 가지 버전처럼 중복된 자바스크립트 라이브러리가 있는지 웹사이트에서 확인합니다. 더 빠르고 안정적인 페이지를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓페이지가 같은 라이브러리를 두 번 내려받을 때.
  • ✓번들 감사에서 여러 페이지에 걸쳐 큰 라이브러리가 반복될 때.
  • ✓서드파티 스크립트가 공통 코드의 자체 복사본을 가져올 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/duplicate-js/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/duplicate-js/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 사이트가 같은 자바스크립트 라이브러리를 두 번 이상 로드하는지 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트가 로드된 코드에서 같은 라이브러리의 여러 버전이나 복사본을 찾고, 하나의 버전으로 통합하도록 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Remove duplicate JavaScript libraries

Duplicate libraries increase bundle size and memory usage, and can lead to unexpected behavior or conflicts between different versions of the same code.

Quick Reference

  • Detect and remove multiple versions of the same library
  • Use a single version across the entire application
  • Audit third-party scripts for bundled dependencies

Check

Identify duplicate JavaScript libraries or multiple versions of the same library being loaded using Lighthouse or bundle analysis tools.

Fix

Consolidate dependencies to use a single version and ensure third-party scripts don't bring in redundant libraries.

Explain

Explain the risks of loading duplicate JavaScript libraries and how it impacts performance and stability.

Code Review

Review the routes, assets, and loading behavior that affect Remove duplicate JavaScript libraries. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/duplicate-js

자주 묻는 질문

중복 라이브러리는 왜 문제인가요?

다운로드 크기가 커지고 메모리를 더 쓰며, 서로 다른 버전이 충돌할 수 있다고 스킬은 설명합니다.

어떻게 찾나요?

Lighthouse나 번들 분석 도구를 쓴다고 스킬은 제안합니다.

서드파티 스크립트도 확인하나요?

네. 서드파티 스크립트가 추가 복사본을 가져오지 않는지 확인하라고 스킬은 말합니다.

상세 정보

작성자의 원본 설명

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

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2826
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬