audit-speed by calm-north/seojuice-skills
npx skills add https://github.com/calm-north/seojuice-skills --skill audit-speed通过根源分析树和资源优化建议,深度审计核心网页指标。
| 指标 | 良好 | 需要改进 | 较差 |
|---|---|---|---|
| LCP (最大内容绘制) | < 2.5秒 | 2.5秒 - 4.0秒 | > 4.0秒 |
| CLS (累积布局偏移) | < 0.1 | 0.1 - 0.25 | > 0.25 |
| INP (下次绘制交互) | < 200毫秒 | 200毫秒 - 500毫秒 | > 500毫秒 |
| FCP (首次内容绘制) | < 1.8秒 | 1.8秒 - 3.0秒 | > 3.0秒 |
| TTFB (首字节时间) | < 800毫秒 | 800毫秒 - 1800毫秒 | > 1800毫秒 |
收集以下背景信息:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
如果没有可用数据,建议在关键 URL 上运行 Google PageSpeed Insights。
LCP 衡量最大可见元素完成渲染的时间。诊断方法:
TTFB 是否过慢(> 800毫秒)?
LCP 元素是否为图像?
width/height 属性、在 LCP 图像上使用 fetchpriority="high"、预加载 LCP 图像LCP 元素是否为文本?
font-display: swap 或 optional、预加载关键字体、对字体进行子集化以仅包含使用的字符渲染阻塞的 CSS/JS 是否延迟了 LCP?
<head> 中的大型 CSS 文件、内容前的同步 JSCLS 衡量意外的布局偏移。诊断方法:
图像/视频是否缺少尺寸?
<img> 和 <video> 元素添加 width 和 height 属性,使用 CSS aspect-ratio广告或嵌入内容是否注入内容?
contain-intrinsic-size字体是否导致文本回流?
font-display: optional(不交换 = 无偏移),或匹配备用字体指标动态内容是否插入到首屏?
INP 衡量对用户交互的响应能力。诊断方法:
主线程是否被长任务阻塞?
requestIdleCallback 或 setTimeout 拆分长任务、代码分割重型模块事件处理程序是否执行繁重的同步工作?
第三方脚本是否在主线程上竞争?
loading="lazy"、考虑移除低价值脚本分解总页面权重:
| 资源类型 | 大小 | 评估 | 操作 |
|---|---|---|---|
| HTML | [x] KB | [ok/large] | 压缩、减少内联样式/脚本 |
| CSS | [x] KB | [ok/large] | 移除未使用的 CSS、压缩、提取关键 CSS |
| JavaScript | [x] KB | [ok/large] | 代码分割、摇树优化、延迟非关键脚本 |
| 图像 | [x] KB | [ok/large] | 现代格式、响应式尺寸、首屏外懒加载 |
| 字体 | [x] KB | [ok/large] | 子集化、限制字体家族/字重、预加载关键字体 |
| 第三方 | [x] KB | [ok/large] | 审计必要性、延迟加载、如有可能则自托管 |
基准:
核心网页指标
| 指标 | 值 | 评级 | 根本原因 |
|---|---|---|---|
| LCP | [值] | 良好 / 需要改进 / 较差 | [已识别的原因] |
| CLS | [值] | ... | ... |
| INP | [值] | ... | ... |
| FCP | [值] | ... | ... |
| TTFB | [值] | ... | ... |
资源分解 [来自资源分析的表格]
优先级修复
针对每个未达标的指标,按影响程度排序:
[指标]: [根本原因]
...
快速优化 列出需要最少努力的优化措施:
width/heightfetchpriority="high"专业提示: 使用免费的 CWV 影响计算器 来估算修复核心网页指标对流量产生的影响,并使用 关键 CSS 生成器 来提取首屏 CSS。SEOKuice MCP 用户可以运行
/seojuice:page-audit [domain] [url]来获取即时 CWV 得分、Lighthouse 数据和资源分解。
每周安装量
1.1K
仓库
GitHub 星标
1
首次出现
11 天前
安全审计
安装于
claude-code146
codex140
antigravity127
cursor79
opencode76
github-copilot76
Deep Core Web Vitals audit with root-cause analysis trees and resource optimization recommendations.
| Metric | Good | Needs Improvement | Poor |
|---|---|---|---|
| LCP (Largest Contentful Paint) | < 2.5s | 2.5s - 4.0s | > 4.0s |
| CLS (Cumulative Layout Shift) | < 0.1 | 0.1 - 0.25 | > 0.25 |
| INP (Interaction to Next Paint) | < 200ms | 200ms - 500ms | > 500ms |
| FCP (First Contentful Paint) | < 1.8s | 1.8s - 3.0s | > 3.0s |
| TTFB (Time to First Byte) | < 800ms | 800ms - 1800ms | > 1800ms |
Gather this context:
If no data is available, suggest running Google PageSpeed Insights on the key URLs.
LCP measures when the largest visible element finishes rendering. Diagnose:
Is TTFB slow ( > 800ms)?
Is the LCP element an image?
width/height attributes, use fetchpriority="high" on LCP image, preload the LCP imageIs the LCP element text?
font-display: swap or optional, preload critical fonts, subset fonts to used charactersIs render-blocking CSS/JS delaying the LCP?
<head>, synchronous JS before contentCLS measures unexpected layout shifts. Diagnose:
Do images/videos lack dimensions?
width and height attributes to all <img> and <video> elements, use CSS aspect-ratioDo ads or embeds inject content?
contain-intrinsic-size for lazy contentDo fonts cause text reflow?
font-display: optional (no swap = no shift), or match fallback font metricsDoes dynamic content insert above the fold?
INP measures responsiveness to user interactions. Diagnose:
Is the main thread blocked by long tasks?
requestIdleCallback or setTimeout, code-split heavy modulesDo event handlers do heavy synchronous work?
Are third-party scripts competing for the main thread?
loading="lazy" for embeds, consider removing low-value scriptsBreak down the total page weight:
| Resource Type | Size | Assessment | Action |
|---|---|---|---|
| HTML | [x] KB | [ok/large] | Compress, reduce inline styles/scripts |
| CSS | [x] KB | [ok/large] | Remove unused CSS, minify, critical CSS extraction |
| JavaScript | [x] KB | [ok/large] | Code-split, tree-shake, defer non-critical |
| Images | [x] KB | [ok/large] | Modern formats, responsive sizes, lazy load below fold |
| Fonts | [x] KB | [ok/large] | Subset, limit families/weights, preload critical |
| Third-party | [x] KB | [ok/large] | Audit necessity, defer, self-host if possible |
Benchmarks:
Core Web Vitals
| Metric | Value | Rating | Root Cause |
|---|---|---|---|
| LCP | [value] | Good / Needs Improvement / Poor | [identified cause] |
| CLS | [value] | ... | ... |
| INP | [value] | ... | ... |
| FCP | [value] | ... | ... |
| TTFB | [value] | ... | ... |
Resource Breakdown [Table from Resource Analysis]
Priority Fixes
For each failing metric, ordered by impact:
[Metric]: [Root cause]
...
Quick Wins List optimizations that require minimal effort:
width/height to imagesfetchpriority="high" on LCP imagePro Tip: Use the free CWV Impact Calculator to estimate the traffic impact of fixing Core Web Vitals, and the Critical CSS Generator to extract above-the-fold CSS. SEOJuice MCP users can run
/seojuice:page-audit [domain] [url]for instant CWV scores, Lighthouse data, and resource breakdowns.
Weekly Installs
1.1K
Repository
GitHub Stars
1
First Seen
11 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code146
codex140
antigravity127
cursor79
opencode76
github-copilot76
99,500 周安装