core-web-vitals

Diagnose and optimize LCP, INP, and CLS using web-vitals.

1|1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/gmagnenat/focus-flow-app --skill core-web-vitals-gmagnenat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: core-web-vitals
Source: https://github.com/gmagnenat/focus-flow-app/tree/main/skills/core-web-vitals
Command: npx skills add https://github.com/gmagnenat/focus-flow-app --skill core-web-vitals-gmagnenat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Core Web Vitals optimization targets LCP, INP, and CLS to improve user experience and search rankings by diagnosing and applying precise performance improvements.

Core Features & Use Cases

  • LCP optimization: reduce time to largest content render through server and image optimization.
  • INP reduction: minimize input and processing delays for snappy interactions.
  • CLS stabilization: prevent layout shifts by reserving space and font handling.
  • Use Cases: when you need to speed up a homepage, landing page, or app with dynamic content.

Quick Start

Optimize loading and rendering by measuring LCP, INP, and CLS and applying the recommended best practices.

Frequently Asked Questions about core-web-vitals

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Core Web Vitals for dynamic content in modern web apps?

Optimize Core Web Vitals by measuring LCP, INP, and CLS metrics with web-vitals, then applying server-side rendering optimizations, asset delivery improvements, and safe defaults to enhance user experience and search rankings.

What is the best way to reduce LCP and speed up largest contentful paint?

Reduce LCP by optimizing server response times and image delivery. This involves applying server and asset optimizations specifically targeting the largest content render to speed up page loading for modern web pages.

How do I fix layout shifts and stabilize CLS for fonts and dynamic content?

Stabilize CLS by preventing layout shifts through reserving space for dynamic content and applying proper font handling. This ensures visual stability during page rendering and loading.

How can I reduce INP to minimize input delays and improve interaction responsiveness?

Reduce INP by minimizing input and processing delays. This optimization targets snappy interactions by addressing processing bottlenecks that cause delayed responses to user input on web pages.

Does Core Web Vitals optimization work with both SSR and CSR setups?

Core Web Vitals optimization applies to modern web apps across both server-side rendering (SSR) and client-side rendering (CSR) setups. It handles dynamic content, images, fonts, and third-party scripts in either environment.

How do I integrate performance budgets when optimizing web vitals metrics?

Integrate performance budgets by measuring LCP, INP, and CLS metrics with web-vitals, then applying server and asset optimizations alongside safe defaults to enforce loading and rendering thresholds.