
Web Perf
Skill排查网页加载与交互性能问题:优先用 Chrome DevTools 的性能跟踪与网络记录,没有时退回已有的 trace、Lighthouse 结果或源码,沿着瓶颈定位到具体请求、元素或代码,区分实测值、工具估算与未经测量的推测,修复后在同等条件下复测。不包含无障碍审计。
name: web-perf
description: Diagnose page-load and interaction performance using browser traces, network evidence, and source code. Use for site-speed, Lighthouse, Core Web Vitals, or layout-shift investigations; a general accessibility audit is separate.
Web performance investigation
Identify the target page, reported symptom, and relevant device conditions. For audit requests, report findings. For optimization or fix requests, implement the supported changes and validate their effect within the requested scope.
Choose the evidence path
Inspect the available browser and profiling tools before calling them. Prefer Chrome DevTools traces when available; read references/devtools.md for trace and network investigation. Use the installed tool schemas rather than assuming example parameters match the current version.
If that MCP server is unavailable, use existing trace or Lighthouse artifacts, another available profiler, or relevant source code. Complete the analysis those sources support and state what could not be measured. Missing profiling tools do not justify stopping source inspection or forcing an MCP installation.
Diagnose
Record the page/build, viewport, device or emulation, network/CPU throttling, cache state, and interactions relevant to the result. Reloading alone does not establish a cold cache. Keep mobile and desktop observations distinct.
Separate field Core Web Vitals from laboratory measurements. A load-only trace does not establish INP; TBT is a diagnostic lab metric, not a substitute INP measurement. Use the current metric definitions when assigning ratings, and label missing measurements as unavailable.
Follow the bottleneck from trace insight to request, element, or source path. Inspect the relevant LCP phases, layout-shift participants, long tasks, late resource discovery, or cache headers. Confirm ownership and use before recommending removal, especially for third-party scripts or resources used only in later interactions. Zero estimated savings is not evidence of a material problem, but one trace cannot prove a resource is never useful.
Validate and report
Prioritize findings by observed user impact and confidence. Distinguish measured values, tool estimates, and unmeasured hypotheses; avoid promising additive savings from overlapping insights.
For a fix, compare the affected behavior under equivalent conditions. Repeat measurements when variance or the size of the claimed improvement warrants it. Broaden testing only for an unresolved regression risk or a project gate, then finish.
Report the measured symptom, its supported cause, the concrete fix or recommendation, and the relevant verification limit. Add a metric table when several measurements help comparison. Do not expand a performance request into a mandatory accessibility or whole-codebase audit.
相關資源

Chrome DevTools
Skill教 agent 高效使用 Chrome DevTools MCP:先取快照拿元素 uid 再交互、按需截图、用分页与过滤压缩大输出、查看 CSS 样式、测试浏览器扩展。需先配置 chrome-devtools-mcp 服务,Chrome DevTools 团队官方维护。
ChromeDevTools/chrome-devtools-mcp53.8k
Web Quality Skills
Skill以实测为先审计并优化网页质量:结合 Lighthouse、Chrome DevTools 性能追踪与 CrUX 数据,覆盖 Core Web Vitals、WCAG 2.2 无障碍、SEO 与最佳实践,适用于任意前端框架。Addy Osmani 出品(非 Google 官方)。
addyosmani/web-quality-skills3k
Chrome DevTools MCP
PluginChrome 官方插件,打包 Chrome DevTools MCP 与无障碍、LCP、内存泄漏等调试技能:让 agent 操控并检查真实的 Chrome,分析网络请求、控制台日志和性能追踪。默认收集使用统计,可以关闭。
ChromeDevTools/chrome-devtools-mcp53.7k
webapp-testing
Skill用 Python Playwright 脚本驱动本地 Web 应用做功能验证、界面调试、截图与浏览器日志查看,自带管理开发服务器启停的辅助脚本。Anthropic 官方技能。
anthropics/skills182k
Vercel React Best Practices
SkillVercel 工程团队整理的 React 与 Next.js 性能规范,70 条规则按影响排序,涵盖消除请求瀑布、包体积、服务端性能与重复渲染,供编写、评审与重构时对照。Vercel 官方维护。
vercel-labs/agent-skills32.6k
Next.js Skills
PluginNext.js 官方插件,随 vercel/next.js 仓库发布:引导启用和优化 Cache Components 与 Partial Prefetching,并结合 Next.js MCP 与 agent-browser 在运行中的 dev server 上验证改动。
vercel/next.js143k