nucliweb/webperf-snippets

webperf

Web performance measurement and debugging toolkit.

Ver código-fonte

Como usar

  1. Copie o comando e verifique o pacote antes de instalar no seu ambiente de agente.
  2. Consulte no original as ferramentas, credenciais e ambientes necessários.
  3. Descreva os dados de entrada e a entrega esperada; confira a saída com as fontes.
npx skills add https://github.com/nucliweb/webperf-snippets --skill webperf

Antes de começar

  • A instalação não inclui assinatura de modelo, franquia API ou acesso aos seus arquivos.
  • Estrelas e instalações indicam atividade, não um teste independente de qualidade ou segurança.
Documento original do Skill

Renderizado do repositório de origem, preservando títulos, exemplos, código, tabelas, links e imagens.

WebPerf Snippets Toolkit

A collection of 56 JavaScript snippets for measuring and debugging web performance in Chrome DevTools. Each snippet runs in the browser console and outputs structured, color-coded results.

Quick Reference

SkillSnippetsTrigger phrases
webperf-core-web-vitals7"debug LCP", "slow LCP", "CLS", "layout shifts", "INP", "interaction latency", "responsiveness"
webperf-loading34"TTFB", "slow server", "FCP", "render blocking", "font loading", "script loading", "resource hints", "service worker"
webperf-interaction10"jank", "scroll performance", "long tasks", "animation frames", "INP debug"
webperf-media4"image audit", "lazy loading", "image optimization", "video audit"
webperf-resources1"network quality", "bandwidth", "connection type", "save-data"

Workflow

  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:
  • mcp__chrome-devtools__navigate_page → navigate to target URL
  • mcp__chrome-devtools__evaluate_script → run the snippet
  • mcp__chrome-devtools__get_console_message → read results
  1. Interpret results using the thresholds defined in the skill
  2. Provide actionable recommendations based on findings

Relacionados por tarefa

do mesmo repositório

Mais Skills

Todos os Skills
nucliweb
Comunidade

webperf-core-web-vitals

Intelligent Core Web Vitals analysis with automated workflows and decision trees. Measures LCP, CLS, INP with guided debugging that automatically determines follow-up analysis based on results. Includes workflows for LCP deep dive (5 phases), CLS investigation (loading vs interaction), INP debugging (latency breakdown + attribution), and cross-skill integration with loading, interaction, and media skills. Use when the user asks about Core Web Vitals, LCP optimization, layout shifts, or interacti

instalações
1
GitHub Stars
1,4 mil
Atualizado
13 de out.
nucliweb
Comunidade

webperf-interaction

Intelligent interaction performance analysis with automated workflows for INP debugging, scroll jank investigation, and main thread blocking. Includes decision trees that automatically run script attribution when long frames detected, break down input latency phases, and correlate layout shifts with interactions. Features workflows for complete interaction audit, third-party script impact analysis, and animation performance debugging. Cross-skill integration with Core Web Vitals (INP/CLS correla

instalações
1
GitHub Stars
1,4 mil
Atualizado
13 de out.
nucliweb
Comunidade

webperf-media

Intelligent media optimization with automated workflows for images, videos, and SVGs. Includes decision trees that detect LCP images (triggers format/lazy-loading/priority analysis), identify layout shift risks (missing dimensions), and flag lazy loading issues (above-fold lazy or below-fold eager). Features workflows for complete media audit, LCP image investigation, video performance (poster optimization), and SVG embedded bitmap detection. Cross-skill integration with Core Web Vitals (LCP/CLS

instalações
1
GitHub Stars
1,4 mil
Atualizado
13 de out.