Skip to content
Back to skills

Web Vitals

ASecurity

Optimize loading, interactivity and layout stability for real users.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
developmentjavascriptjavaperformance

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add Andersseen/agentyx --skill web-vitals --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Vitals?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Vitals
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andersseen-web-vitals/badge)](https://www.skillsdirectory.com/skills/andersseen-web-vitals)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: web-vitals
description: Optimize loading, interactivity and layout stability for real users.
---

# Web performance

Perceived speed is decided by what the user sees and can do, not by total bytes.

## Protect the critical path

Identify what must load before the page is useful and defer everything else. Render-blocking scripts
and stylesheets delay first paint more than their size suggests.

## Ship less JavaScript

Split by route, load heavy features on demand, and remove unused dependencies. JavaScript costs
twice: once to download and again to parse and execute, and the second cost dominates on low-end
devices.

## Reserve space for content

Give images, embeds and injected banners explicit dimensions so later loads do not move what is
already visible. Layout shift is most damaging exactly when the user is about to act.

## Keep interactions responsive

Break long tasks, move heavy work off the main thread, and give immediate feedback to input. A
response that is visibly acknowledged tolerates far more latency than one that appears frozen.

## Measure real users

Field data from actual devices and networks decides whether the site is fast. Lab measurements are
for diagnosis, not for judging success.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…