nucliweb avatar

Webperf Core Web Vitals

This is a diagnostic powerhouse for Core Web Vitals. It doesn't just measure LCP, CLS, and INP, it actually walks you through what to do next based on the results. If LCP is over 2.5s, it automatically suggests running subparts analysis. If you've got layout shifts, it knows to check lazy-loaded images and font swaps. The decision trees are the real value here: run one script, get a specific next step based on thresholds. It's built for Chrome DevTools MCP and integrates with companion skills for loading, interaction, and media when you need to dig deeper. From Joan Leon's webperf-snippets collection, so the scripts themselves are battle-tested in production debugging.

skills.sh installs
295
GitHub stars
1.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add nucliweb/webperf-snippets --skill webperf-core-web-vitals --agent claude-code

Installs into .claude/skills of the current project.

Files

WebPerf: Core Web Vitals

JavaScript snippets for measuring web performance in Chrome DevTools.

Running a script

  1. Run the script with mcp__chrome-devtools__evaluate_script, passing the file instead of its code: sourcePath with the absolute path of scripts/<Name>.js in this skill, and format: "script", since a script runs by itself and is not a function. Read the object it returns. The scripts have no console output, so the returned object is the result: script, status and the metric data (value, rating, details, items, issues), as described in references/schema.md.
  2. When status is "tracking", the script keeps observing the page. After the interactions, call the function named in getDataFn with another mcp__chrome-devtools__evaluate_script call, as an arrow function in function, for example () => getINP(), and read the object it returns.
  3. When status is "error" or "unsupported", read error: the page may not have loaded yet, or the browser lacks the API.

Sponsors

Details

Repository
github.com/nucliweb/webperf-snippets
Categories
Frontend Development, AI & Agent Building, Debugging, Productivity & Planning, Automation & Workflows, Marketing & SEO, Sales & Marketing, Design & UI/UX
First seen
Jun 3, 2026

More from nucliweb/webperf-snippets

All 6
1secondsky avatarneon-vercel-postgressecondsky/claude-skillsNeon + Vercel serverless Postgres for edge and serverless environments. Use for Cloudflare Workers, Vercel Edge, Next.js apps with HTTP/WebSocket connections, d294skills.sh installs
2nicepkg avatarlegacy-to-ai-readynicepkg/ai-workflowTransform legacy codebases into AI-ready projects with Claude Code configurations. Use when (1) analyzing old projects to generate AI coding configurations, (2)293skills.sh installs
3pproenca avatarrails-devpproenca/dot-skillsRuby on Rails performance and maintainability optimization guidelines for building backend APIs and frontend web applications. This skill should be used when wr293skills.sh installs
4autobyteus avatarinfographic-powerpoint-deckautobyteus/autobyteus-skillsCreate image-based PowerPoint decks by (1) turning raw article content or notes into a detailed per-slide message plan when needed, (2) turning that message pla292skills.sh installs
5pbnicad avatartelegram-bot-grammypbnicad/telegram-bot-grammy-skillTelegram Bot development skill using grammY framework, TypeScript, Drizzle ORM, Vitest testing, Biome linting, deployed to Cloudflare Workers with D1 database. 292skills.sh installs
6postplusai avatarvisual-hookpostplusai/postplus-skillsDesign and critique TikTok/Reels visual hooks for short-form slideshow or video production. Use this when discussing how to make the first image, first frame, o287skills.sh installs