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

first-contentful-paint

できること

このスキルは、ページが訪問者に最初に何かを見せるまでの速さを確認します。初めての読み込みでページを速く感じさせたい開発者向けです。

使う場面

  • ✓何かが表示されるまで、訪問者が長い間空白のページを見ているとき。
  • ✓ページのスコアが、First Contentful Paint で低いとき。
  • ✓スクリプトやスタイルが、サイトの最初の表示をブロックしているとき。

スキルのリンク

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

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“なぜ、ページに何かが表示されるまでこんなに時間がかかるのですか。”

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

仕組み

エージェントは、表示をブロックするスタイルやスクリプト、遅いサーバーの応答、サードパーティへの接続を確認します。ブロックしているものの削除、重要な CSS のインライン化、外部サイトへの preconnect を提案します。

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

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

Optimize first contentful paint

FCP is the first visual signal that a page is loading—fast FCP reassures users that the site is responding, reducing perceived wait time and bounce rates.

Quick Reference

  • FCP measures time until first text/image appears—target under 1.8s
  • Eliminate render-blocking CSS and JavaScript
  • Inline critical CSS for above-fold content
  • Use preconnect for third-party origins

Check

Measure FCP using Lighthouse or PageSpeed Insights. Verify first content appears within 1.8 seconds.

Fix

Optimize FCP by eliminating render-blocking resources, inlining critical CSS, and reducing server response time.

Explain

Explain how FCP measures the time until the first text or image is painted, indicating page load has begun.

Code Review

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

よくある質問

First Contentful Paint とは何ですか?

最初のテキストや画像が画面に表示されるまでの時間です。

このスキルはどの目標を挙げていますか?

1.8秒未満という目標を挙げています。

preconnect とは何ですか?

外部サイトへの接続を早めに開くための HTML のヒントで、そこからのファイルが早く読み込まれるようになります。

詳細

作者による元の説明

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

repo: thedaviddias/Front-End-Checklist

人気

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

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

0

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

コメント

  • …

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

似ているスキル