page-load-time
它能做什么
这个技能测量页面的加载时间,并针对主要的延迟原因提出修复建议。它面向希望访客快速看到页面的网站构建者。
适用场景
- ✓你请智能体检查页面加载需要多长时间的时候。
- ✓访客在页面加载完成前就离开,你想弄清原因的时候。
- ✓你准备上线页面,并想确认它能在目标时间内加载完成的时候。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/page-load-time/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的首页感觉加载很慢。请帮我检查需要多长时间,并找出拖慢它的原因吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在标准网络下测量加载时间,并检查主要瓶颈,例如大型资源、缺少缓存和阻塞性资源。然后它会建议懒加载、CDN 和资源优化等修复方法,并建议先在 DevTools 或 Lighthouse 中确认原因。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Keep page load time under 3 seconds
Studies show 53% of mobile users abandon sites that take longer than 3 seconds to load—slow pages directly hurt conversions, engagement, and SEO rankings.
Quick Reference
- 3 seconds is the threshold where bounce rates spike dramatically
- 53% of mobile users abandon sites taking over 3 seconds
- Focus on Core Web Vitals: LCP, FID/INP, CLS
- Test on throttled 3G to simulate real-world conditions
Check
Measure the page load time and verify it's under 3 seconds on a standard connection.
Fix
Optimize page load time through lazy loading, CDN usage, caching strategies, and resource optimization.
Explain
Explain how page load time affects bounce rate, SEO rankings, and user satisfaction.
Code Review
Review the routes, assets, and loading behavior that affect Keep page load time under 3 seconds. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/performance/page-load-time
常见问题
为什么把三秒作为目标?
这个技能说,三秒是跳出率急剧上升的临界点。
哪些指标最重要?
这个技能重点关注 Core Web Vitals,例如 LCP、INP 和 CLS。
智能体如何模拟慢速网络?
这个技能建议在限速的 3G 网络下测试,以模拟真实情况。
详情
作者的原始描述
Use when auditing slow page loads, heavy assets, or rendering delays related to Keep page load time under 3 seconds. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.
热度
- GitHub 星标
- 75k
- 排名
- #2966
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。