本文へスキップ
Skillpedia
WebサイトとUI(フロントエンド)75k · #2914

largest-contentful-paint

できること

このスキルは、ページ内で最も大きく見える要素が表示されるまでの速さを確認します。ページが早く準備できた印象を与えたい開発者向けです。

使う場面

  • ✓メイン画像や見出しが表示されるまでに時間がかかるとき。
  • ✓ページがLargest Contentful Paintのスコアで低い評価を受けているとき。
  • ✓サーバーの最初の応答が遅いとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/largest-contentful-paint/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/largest-contentful-paint/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ページのメイン画像が表示されるまでに時間がかかる理由を調べてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは最も大きな要素が表示される時間を測り、遅れの原因を探します。遅い画像やサーバーの応答が例です。重要なリソースのプリロード、画像の最適化、CDNの利用を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Optimize largest contentful paint

LCP is the most important Core Web Vital for perceived load speed—it measures when the main content becomes visible, directly impacting user perception and SEO rankings.

Quick Reference

  • LCP measures when the largest element renders—target under 2.5s
  • Use preload for hero images and critical resources
  • Optimize image formats and use responsive sizes
  • Reduce server response time (TTFB)

Check

Measure LCP using Lighthouse or PageSpeed Insights. Verify the largest visible element renders within 2.5 seconds.

Fix

Optimize LCP by preloading critical resources, optimizing images, using CDN, and reducing server response time.

Explain

Explain how LCP measures perceived load speed by tracking when the largest visible content element becomes visible.

Code Review

Review the routes, assets, and loading behavior that affect Optimize largest contentful paint. 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/largest-contentful-paint

よくある質問

どの目標を提案していますか?

このスキルは、主要コンテンツが約2.5秒以内に表示されることを提案しています。

TTFBとは何ですか?

サーバーがページの最初のバイトを送るまでの時間で、このスキルは短縮を勧めています。

どのように測定できますか?

このスキルは、LighthouseまたはPageSpeed Insightsを提案しています。

詳細

作者による元の説明

Use when auditing slow page loads, heavy assets, or rendering delays related to Optimize largest contentful paint. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2914
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル