Skill Wiki v0.1.0
metric @community/metric-cls-cumulative-layout-shift

Cls Cumulative Layout Shift

CLS is one of Google's three Core Web Vitals (alongside LCP and INP). It measures the visual stability of a page by summing the impact-fraction × distance-fraction of every unexpected layout shift during the page's lifet…

Skill
@community
Domain
frontend-engineering
Version
1.0.0
Quality
4.0
Edges
4 out · 10 in
Tokens
134/693/1253
$ prime install @community/metric-cls-cumulative-layout-shift

Projection

Always in _index.xml · the agent never has to ask for this.

Cumulative Layout Shift (CLS) [metric] v1.0.0

CLS is one of Google's three Core Web Vitals (alongside LCP and INP). It measures the visual stability of a page by summing the impact-fraction × distance-fraction of every unexpected layout shift during the page's lifetime. A 'shift' is any visible element that moves position between two rendered frames without the user initiating it. High CLS makes pages feel unstable and causes mis-clicks (e.g. user taps an ad that just appeared where a button was).

Source

prime-system/examples/frontend-design/primes/compiled/@community/metric-cls-cumulative-layout-shift/atom.yaml

Compiled at 2026-05-07