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

cumulative-layout-shift

하는 일

이 스킬은 이미지나 광고가 텍스트를 밀어내는 등 로딩 중에 움직이는 요소를 찾습니다. 안정적이고 예측 가능한 페이지를 원하는 웹 제작자를 위한 스킬입니다.

사용하는 경우

  • ✓방문자가 클릭하기 직전에 버튼이 움직인다고 불평할 때.
  • ✓이미지나 광고가 나타난 뒤 페이지의 텍스트가 아래로 밀릴 때.
  • ✓Google 페이지 속도 검사에서 더 좋은 점수를 원할 때.

스킬 링크

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cumulative-layout-shift/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cumulative-layout-shift/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에서 그대로 가져왔습니다.

Minimize cumulative layout shift

Layout shifts cause accidental clicks, reading disruption, and user frustration—a good CLS score ensures content stays where users expect it.

Quick Reference

  • CLS measures visual stability—target score below 0.1
  • Always set width/height on images and embeds
  • Reserve space for ads, banners, and dynamic content
  • Use transform animations instead of layout-changing properties

Check

Measure CLS using Lighthouse or PageSpeed Insights. Verify score is below 0.1 for good visual stability.

Fix

Reserve space for images/embeds with dimensions, use font-display strategies, and avoid injecting content above existing content.

Explain

Explain how CLS measures visual stability and why unexpected layout shifts frustrate users and cause accidental clicks.

Code Review

Review the routes, assets, and loading behavior that affect Minimize cumulative layout shift. 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/cumulative-layout-shift

자주 묻는 질문

레이아웃 이동(layout shift)은 무엇인가요?

화면에 이미 나타난 콘텐츠가 이후에 움직이는 현상입니다. 방문자가 잘못된 것을 클릭하게 만들 수 있습니다.

문제는 어떻게 측정하나요?

Lighthouse나 PageSpeed Insights를 쓰고, 0.1보다 낮은 점수를 목표로 하라고 스킬은 제안합니다.

이 스킬은 느린 로딩도 고치나요?

아니요. 전체 속도보다는 로딩 중에 움직이는 현상에 초점을 맞춥니다.

상세 정보

작성자의 원본 설명

Use when auditing slow page loads, heavy assets, or rendering delays related to Minimize cumulative layout shift. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬