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-code

Installs into .claude/skills of the current project.

Files

WebPerf: Loading Performance

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
Backend & APIs, AI & Agent Building, Debugging, Productivity & Planning, Automation & Workflows, Design & UI/UX
First seen
Jun 3, 2026

More from nucliweb/webperf-snippets

All 6
1cinience avataralicloud-compute-swas-opencinience/alicloud-skillsManage Alibaba Cloud Simple Application Server (SWAS OpenAPI 2020-06-01) resources end-to-end. Use for querying instances, starting/stopping/rebooting, executin265skills.sh installs
2martinholovsky avatarfastapi-expertmartinholovsky/claude-skills-generatorExpert FastAPI developer specializing in production-ready async REST APIs with Pydantic v2, SQLAlchemy 2.0, OAuth2/JWT authentication, and comprehensive securit265skills.sh installs
3martinholovsky avatarfastapimartinholovsky/claude-skills-generatorREST API and WebSocket development with FastAPI emphasizing security, performance, and async patterns264skills.sh installs
4patricio0312rev avatarintegration-test-builderpatricio0312rev/skillsCreates integration tests for API endpoints with database flows, including test harness setup, fixtures, setup/teardown, database seeding, and CI-friendly strat263skills.sh installs
5patricio0312rev avatarcaching-cdn-strategy-plannerpatricio0312rev/skillsDesigns multi-layer caching strategy with edge CDN, server-side caching, cache invalidation, and CDN configuration. Use for "caching strategy", "CDN setup", "ca258skills.sh installs
6personamanagmentlayer avatarsql-expertpersonamanagmentlayer/pclExpert-level SQL database design, querying, optimization, and administration across PostgreSQL, MySQL, and SQL Server257skills.sh installs