chrome-performance
Use Chrome DevTools MCP for frontend performance work such as slow page loads, LCP, CLS, INP, Lighthouse regressions, scripting hotspots, or layout …
它会碰到什么
扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Use this skill when performance findings need evidence from Chrome instead of code inspection alone.
Default Flow
- Start from the exact URL and device profile that reproduces the problem.
- Record a baseline with
lighthouse_auditorperformance_start_traceandperformance_stop_trace. - Drill into the highest-signal issue first, then inspect network, DOM, or scripts only as needed.
- After code changes, rerun the same scenario and compare the results.
Tool Selection
lighthouse_auditfor quick page-level diagnostics and report output.performance_start_traceandperformance_stop_tracefor deeper timing analysis.performance_analyze_insightto drill into a specific DevTools insight.emulateto keep device, network, CPU, and viewport conditions consistent.
Working Rules
- Keep the scenario deterministic: one URL, one interaction path, one device profile.
- Save traces and reports to files when they are large.
- Treat LCP, CLS, and INP as user-path problems; connect each finding to the specific element, request, or script that caused it.
- Avoid mixing unrelated experiments in one trace.
Expected Output
Return the problem, the evidence, the likely cause, and the concrete code area to change before proposing fixes.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 1,027
本站分层T1
该仓技能数1910
原文件路径
plugins/win4r/chrome-devtools-codex-plugin/skills/chrome-performance/SKILL.md