Core Web Vitals
Measure and hold a real performance budget on a web page — LCP, INP, CLS, bundle weight, font and image loading. Use when a change touches images, fonts, above-the-fold markup, client components, third-party scripts, or any list that can grow; when a page feels slow; or before shipping a new landing page or hero. Produces measured numbers from Lighthouse or the build output, never estimates. Also states honestly when measurement is impossible in the current environment instead of guessing.
Install
/plugin marketplace add frankxai/claude-skills-libraryThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add frankxai/claude-skills-library --skill core-web-vitalsgit clone --depth 1 https://github.com/frankxai/claude-skills-library.git /tmp/claude-skills-library
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills-library/packs/web-excellence/skills/core-web-vitals ~/.claude/skills/core-web-vitalsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Core Web Vitals The rule: **report measurements or report that you could not measure.** A performance claim with no number attached is noise, and a number you did not observe is worse than no number. ## Targets Field thresholds (what Google grades on, 75th percentile of real users): | Metric | Good | Needs work | Poor | |---|---|---|---| | LCP — Largest Contentful Paint | ≤ 2.5s | 2.5–4.0s | > 4.0s | | INP — Interaction to Next Paint | ≤ 200ms | 200–500ms | > 500ms | | CLS — Cumulative Layout Shift | ≤ 0.1 | 0.1–0.25 | > 0.25 | Lab numbers from Lighthouse on a dev build run hotter than field numbers. Treat a lab pass as necessary, not sufficient, and say which kind you measured. Budget for a marketing or landing page, on top of the metrics: - First-load JS for the route: **≤ 200 kB gzipped**. Next.js prints this per route in the build output — that is a free measurement, always take it. - Hero image: served in AVIF or WebP, sized to its container, `priority` set. - Web fonts: at most two families, `font-display: swap`, preloaded if above the fold, subset to the characters actually used. ## How to measure Cheapest first. Stop when you have a number. **1. Build output (always available, zero setup).** ```bash # Next.js — the per-route First Load JS table is the budget check npm run build 2>&1 | tail -40 ``` Flag any route whose First Load JS grew in this change, and by how much. **2. Lighthouse against a running server.**
Details
- Skill name
core-web-vitals- Repository
- frankxai/claude-skills-library
- Path
packs/web-excellence/skills/core-web-vitals/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Core Web Vitals skill do?
Measure and hold a real performance budget on a web page — LCP, INP, CLS, bundle weight, font and image loading. Use when a change touches images, fonts, above-the-fold markup, client components, third-party scripts, or any list that can grow; when a page feels slow; or before shipping a new landing page or hero. Produces measured numbers from Lighthouse or the build output, never estimates. Also states honestly when measurement is impossible in the current environment instead of guessing.
How do I install the Core Web Vitals skill?
Claude Code plugin: /plugin marketplace add frankxai/claude-skills-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Core Web Vitals popular?
It lives in frankxai/claude-skills-library, which has 48 GitHub stars and 6 forks.
Related skills
Acos Meta
48frankxai/claude-skills-library
ACOS self-description and configuration skill. Documents how ACOS works, how to extend it, how to add new skills/commands/agents, and how to debug the hook system. Use when building new ACOS capabilities, understanding the system architecture, or onboarding to ACOS for the first time.
Acos Visual Gen
48frankxai/claude-skills-library
Generate research-grounded visuals using the InfoGenius pipeline. Use when creating infographics, diagrams, educational visuals, or any image that benefits from factual accuracy. Supports 8 visual styles (3D, technical, minimalist, photorealistic, futuristic, vintage, cartoon, standard) and 4 audience levels.
Agent Harness Construction
48frankxai/claude-skills-library
Shape an agent's tools, observations, and recovery without adding a second coordinator. Use when defining a tool, a skill, a hook, or a worktree lane.
CSS Animations
48frankxai/claude-skills-library
CSS animation adapter patterns for HyperFrames. Use when authoring CSS keyframes, animation-delay based timing, animation-fill-mode, animation-play-state, or CSS-only motion that HyperFrames must seek deterministically during preview and rendering.
Arcanea Infogenius
48frankxai/claude-skills-library
Visual intelligence system for generating on-brand infographics, diagrams, and imagery with the Arcanea Gates color and composition framework. Use when creating branded infographics, explainer visuals, or diagrams that must follow the Arcanea visual system.
Design Review Checklist
430xranx/agentbrief
When reviewing UI/UX for quality, consistency, and polish. Use when the user says 'review the design,' 'check the UI,' 'does this look good,' 'design audit,' 'UX review,' or 'polish the frontend.' Also use after implementing any user-facing feature to catch visual and interaction issues before shipping.
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.