core-web-vitals
优化 Core Web Vitals(LCP、INP、CLS),以改善页面体验和搜索排名。适用于被要求“改善 Core Web Vitals”、“修复 LCP”、“降低 CLS”、“优化 INP”、“页面体验优化”或“修复布局偏移”时。
机器翻译查看英文原文
Optimize Core Web Vitals (LCP, INP, CLS) for better page experience and search ranking. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".
适用对象:搜索与知识管理。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Core Web Vitals optimization
- The three metrics
- LCP: Largest Contentful Paint
- Common LCP issues
- LCP optimization checklist
- LCP element identification
- INP: Interaction to Next Paint
- INP breakdown
Targeted optimization for the three Core Web Vitals metrics that affect Google Search ranking and user experience. | Metric | Measures | Good | Needs work | Poor | |--------|----------|------|------------|------| | LCP | Loading | ≤ 2.5s | 2.5s – 4s | > 4s | | INP | Interactivity | ≤ 200ms | 200ms – 500ms | > 500ms | | CLS | Visual Stability | ≤ 0.1 | 0.1 – 0.25 | > 0.25 | Google measures at the 75th percentile — 75% of page visits must meet "Good" thresholds. -- LCP measures when the largest visible content element renders. Usually this is: Hero image or video Large text block Background image element 1. Slow server response (TTFB > 800ms) 2. Render-blocking resources 3. Slow resource load times 4. Client-side rendering delays -- INP measures responsiveness across ALL interactions (clicks, taps, key presses) during a page visit. It reports the worst interaction (at 98th percentile for high-traffic pages). Total INP = Input Delay + Processing Time + Presentation Delay | Phase | Target | Optimization | |-------|--------|--------------| | Input Delay | Chrome User Experience Report (CrUX) → BigQuery or API Search Console → Core Web Vitals report web-vitals library → Send to your anal
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- davila7/claude-code-templates
- 源文件
- cli-tool/components/skills/development/core-web-vitals/SKILL.md
- 固定版本
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:44.245Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。