
Webperf Loading
A comprehensive loading performance toolkit that runs diagnostic JavaScript snippets directly in Chrome DevTools to pinpoint what's slowing down your page. It shines with its automated decision trees that chain diagnostics intelligently: slow TTFB triggers sub-part breakdowns, render-blocking detection flows into CSS and script audits, and third-party script analysis follows timing investigations. The 30+ snippets cover everything from TTFB sub-parts (DNS, connection, server) to font optimization, resource hints validation, and SSR hydration overhead. Created by Joan Leon, this is genuinely useful for methodical performance work where you need data-driven answers about what's actually blocking your renders or why your server response is sluggish.
- skills.sh installs
- 267
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add nucliweb/webperf-snippets --skill webperf-loading --agent claude-codeInstalls into .claude/skills of the current project.
Files
WebPerf: Loading Performance
JavaScript snippets for measuring web performance in Chrome DevTools.
Running a script
- Run the script with
mcp__chrome-devtools__evaluate_script, passing the file instead of its code:sourcePathwith the absolute path ofscripts/<Name>.jsin this skill, andformat: "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,statusand the metric data (value,rating,details,items,issues), as described inreferences/schema.md. - When
statusis"tracking", the script keeps observing the page. After the interactions, call the function named ingetDataFnwith anothermcp__chrome-devtools__evaluate_scriptcall, as an arrow function infunction, for example() => getINP(), and read the object it returns. - When
statusis"error"or"unsupported", readerror: the page may not have loaded yet, or the browser lacks the API.
Sponsors
Details
- Repository
- github.com/nucliweb/webperf-snippets
- Categories
- Backend & APIs, AI & Agent Building, Debugging, Productivity & Planning, Automation & Workflows, Design & UI/UX
- First seen
- Jun 3, 2026