본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

debounce-throttle

스크롤이나 문자 입력 때 반복되는 JavaScript 처리를 점검합니다. 디바운스와 스로틀을 구분해 적용하여 화면 끊김과 과도한 API 호출을 개선합니다.

원문원문 설명 보기

Use when reviewing scripts, client components, bundles, or runtime behavior related to Debounce and throttle event handlers. Inspect both source code and the browser execution path so fixes target the real bottleneck or bug.

AI 평가90점/ 100설치 방법 보기

이럴 때 유용합니다

  • 검색 입력에 따른 API 호출 줄이기
  • 스크롤과 창 크기 변경 부하 점검
  • 디바운스와 스로틀의 적용 구분
  • 이벤트 리스너 정리 확인

한국어 소개

할 수 있는 일

스크롤, 창 크기 변경, 문자 입력, 마우스 이동 때 자주 실행되는 JavaScript 처리를 점검합니다. 동작이 멈출 때까지 기다리는 디바운스와 실행 빈도를 제한하는 스로틀을 구분해 적용합니다. 화면 끊김이나 과도한 API 호출을 일으키는 처리를 개선합니다. 소스 코드와 브라우저 실행 경로를 확인하고, 문제가 있는 이벤트 처리와 수정 후 검증 방법을 제시합니다.

이럴 때 유용합니다

검색창에 입력할 때마다 요청이 전송되거나 스크롤 중 화면이 느려질 때 유용합니다. 메모리 누수를 막기 위한 이벤트 리스너 정리도 확인합니다. 입력은 150~300ms, 스크롤과 창 크기 변경은 100ms라는 기준을 참고해 실행 간격을 검토할 수 있습니다.

사용 예시

  • “검색창의 API 호출을 확인하고 디바운스를 추가해 주세요.”
  • “스크롤 처리에 스로틀이 필요한지 조사하고 브라우저 확인 방법도 알려 주세요.”

주의 사항

소스 코드와 브라우저 동작을 함께 확인합니다. 구현 세부 사항과 프레임워크별 설명은 함께 제공되는 references/rule.md를 참조하는 구성입니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

객관 평가

AI가 SKILL.md의 내용만을 근거로 4가지 관점에서 판정했습니다. 스타 수나 인기도는 판정에 넣지 않았습니다.

지시의 명확성언제 쓰고 무엇을 하는지 알 수 있는가
A양호빈번한 이벤트를 점검하고 디바운스나 스로틀을 추가하는 용도가 명확합니다.
절차의 구체성절차·입출력·예시가 구체적으로 적혀 있는가
B일부 부족대상 이벤트와 시간 기준은 제시하지만 구체적인 구현 절차는 참조 파일로 안내합니다.
안전성전송·삭제·명령 실행 등을 명시하고 있는가
A양호이벤트 처리 점검과 수정이 대상이며 파일 삭제나 인증 정보 읽기 지시는 없습니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
A양호JavaScript와 브라우저 검증을 다루며 추가 라이브러리나 API 키를 요구하지 않습니다.

총점은 각 항목을 A=25점, B=15점, C=5점으로 더한 값입니다. 2026년 10월 23일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(2)

  • SKILL.md1.8 KB
  • references/rule.md3.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Debounce and throttle event handlers

High-frequency events fire hundreds of times per second, causing UI jank, excessive API calls, and poor Interaction to Next Paint (INP) scores.

Quick Reference

  • Debounce: delays execution until activity stops (search inputs, form validation)
  • Throttle: limits execution rate (scroll, resize handlers)
  • Use 150-300ms delay for user input, 100ms for scroll/resize
  • Clean up event listeners to prevent memory leaks

Check

Review this JavaScript code for scroll, resize, input, mousemove, or other high-frequency event handlers that should use debounce or throttle.

Fix

Add debounce or throttle to high-frequency event handlers to limit execution rate and improve performance.

Explain

Explain the difference between debounce and throttle, and when to use each pattern for optimal performance.

Code Review

Review scripts, client components, and browser execution paths related to Debounce and throttle event handlers. Flag exact imports, event handlers, runtime side effects, or blocking operations that violate the rule, and state how the change should be verified in the browser.


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

Rule page: https://frontendchecklist.io/rules/javascript/debounce-throttle

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

404-page

무료

Create and review custom 404 pages that help visitors recover from broken or moved links through search and navigation. Check the rendered page and HTTP response so missing content returns a proper 404 status.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Creating a helpful custom 404 page
  • Adding search and navigation for broken links
  • Checking missing pages that return HTTP 200
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

Audit or create a dedicated About page that explains a website’s purpose and identifies its people or organization. Review the rendered output and supporting information, including expertise and contact details, to find gaps.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing a website’s About page
  • Creating a page about the organization and its mission
  • Checking how operator information appears in rendered output
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

accessibility-testing

무료요약 있음AI 평가 80점

페이지와 공통 컴포넌트에 자동 접근성 테스트를 추가하고 검사 누락을 찾습니다. 지속적 통합에 검사를 연결해 구조·속성 문제와 변경으로 생긴 오류를 확인합니다.

  • 공통 컴포넌트의 테스트 범위 검토
  • 페이지 조작 테스트에 접근성 검사 추가
  • 지속적 통합에서 접근성 검사 실행
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

accessible-authentication

무료요약 있음AI 평가 90점

로그인부터 다단계 인증과 계정 복구까지 점검하고, 붙여넣기 차단이나 인증 코드 수동 입력처럼 이용을 방해하는 인증 절차의 개선을 돕습니다.

  • 전체 로그인 과정의 접근성을 점검합니다
  • 인증 코드 붙여넣기와 자동 완성을 확인합니다
  • 비밀번호 재설정과 계정 복구를 점검합니다
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

Review form errors, success messages, and live updates so screen reader users receive important notifications. Check the HTML delivered to the browser, announcement settings, display duration, and dismissal controls, then identify specific elements that need changes.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing form error announcements
  • Checking success message display duration
  • Auditing live update notifications
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

Review HTML tables so screen reader users can understand how headers and data relate. Check header markup, table descriptions, and merged cells, then identify specific fixes and ways to verify them.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing tables for screen reader accessibility
  • Checking header relationships in tables with merged cells
  • Reviewing table patterns in a design system
thedaviddias/Front-End-Checklist7.5만2026년 10월 6일 업데이트

thedaviddias의 스킬 모두 보기

이 스킬의 문제 신고