webpagetest
它能做什么
这个技能使用 WebPageTest,分析页面从不同地点和设备加载的情况。它面向希望看清真实加载问题的开发者。
适用场景
- ✓页面加载缓慢,而本地测试无法说明原因的时候。
- ✓团队希望比较用户附近地点的加载时间的时候。
- ✓需要阅读瀑布图来找出缓慢的第三方脚本的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/webpagetest/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的页面对一些访客来说很慢。请运行 WebPageTest 分析,并告诉我是什么在阻塞它吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会查看测试结果,例如瀑布图和胶片条视图。它会找出阻塞资源和缓慢的外部请求,然后提出修复建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Analyze performance with WebPageTest
WebPageTest reveals real-world performance issues that synthetic tools miss—like TTFB from actual locations, render-blocking patterns, and third-party script impact.
Quick Reference
- Run 3+ tests to get consistent results
- Test from locations near your users
- Use filmstrip view to identify visual progress
- Check waterfall for blocking resources and slow third-parties
Check
Use WebPageTest to analyze page performance, identify bottlenecks, and measure real-world loading metrics across different devices and connections.
Fix
Implement recommended optimizations from WebPageTest results including resource compression, caching, and critical path improvements.
Explain
Explain how WebPageTest provides insights into Core Web Vitals, loading waterfalls, and performance opportunities that synthetic testing can't reveal.
Code Review
Review templates, server-rendered HTML, and shared components that output markup related to Analyze performance with WebPageTest. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/html/webpagetest
常见问题
应该运行多少次测试?
这个技能建议至少运行三次,以获得一致的结果。
胶片条视图显示什么?
它显示页面随时间的视觉进展,有助于发现内容何时出现。
为什么要从多个地点测试?
从用户附近的地点测试,能显示他们实际遇到的延迟。
详情
作者的原始描述
Use when reviewing templates, rendered HTML, or shared components related to Analyze performance with WebPageTest. Validate the final browser-facing markup, not just the source framework abstraction.
热度
- GitHub 星标
- 75k
- 排名
- #3087
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。