webperf-core-web-vital…
Intelligent Core Web Vitals analysis with automated workflows and decision trees. Measures LCP, CLS, INP with guided debugging…
Web performance measurement and debugging toolkit. Use when the user asks about web performance, wants to audit a page, or says "analyze performance", "debug lcp", "check ttfb", "measure core web vitals", "audit images", or similar.
Claude Code
$ npx -y skills add nucliweb/webperf-snippets --skill webperf --agent claude-code
Codex
$ npx skills add nucliweb/webperf-snippets --skill webperf -a codex -y
Cursor
$ npx skills add nucliweb/webperf-snippets --skill webperf -a cursor -y
Gemini CLI
$ npx skills add nucliweb/webperf-snippets --skill webperf -a gemini-cli -y
GitHub Copilot
$ npx skills add nucliweb/webperf-snippets --skill webperf -a github-copilot -y
OpenCode
$ npx skills add nucliweb/webperf-snippets --skill webperf -a opencode -y
Windsurf
$ npx skills add nucliweb/webperf-snippets --skill webperf -a windsurf -y
name: webperf description: Web performance measurement and debugging toolkit. Use when the user asks about web performance, wants to audit a page, or says "analyze performance", "debug lcp", "check ttfb", "measure core web vitals", "audit images", or similar. license: MIT metadata: author: Joan Leon | @nucliweb version: 2.6.3 mcp-server: chrome-devtools category: web-performance repository: https://github.com/nucliweb/webperf-snippets
A collection of 57 JavaScript snippets for measuring and debugging web performance in Chrome DevTools. Each snippet runs in the page and returns a structured result object.
| Skill | Snippets | Trigger phrases | |-------|----------|-----------------| | webperf-core-web-vitals | 7 | "debug LCP", "slow LCP", "CLS", "layout shifts", "INP", "interaction latency", "responsiveness" | | webperf-loading | 35 | "TTFB", "slow server", "FCP", "render blocking", "font loading", "script loading", "resource hints", "service worker" | | webperf-interaction | 10 | "jank", "scroll performance", "long tasks", "animation frames", "INP debug" | | webperf-media | 4 | "image audit", "lazy loading", "image optimization", "video audit" | | webperf-resources | 1 | "network quality", "bandwidth", "connection type", "save-data" |
1. Identify the relevant skill based on the user's question (see Quick Reference above) 2. Load the skill's SKILL.md to see available snippets and thresholds 3. Execute with Chrome DevTools MCP:
4. Interpret results using the thresholds defined in the skill 5. Provide actionable recommendations based on findings
Tested JavaScript snippets that measure and debug web performance. Your AI agent runs them for you, or you run them yourself in DevTools: the same code every time.
Intelligent Core Web Vitals analysis with automated workflows and decision trees. Measures LCP, CLS, INP with guided debugging…
Intelligent interaction performance analysis with automated workflows for INP debugging, scroll jank investigation, and main…
Intelligent loading performance analysis with automated workflows for TTFB investigation (DNS/connection/server breakdown),…
Intelligent media optimization with automated workflows for images, videos, and SVGs. Includes decision trees that detect LCP…
Intelligent network quality analysis with adaptive loading strategies. Detects connection type (2g/3g/4g), bandwidth, RTT, and…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.