本文へスキップ
Skillpedia
インターフェース(UI/UX)75k · #3085

webfont-format

できること

このスキルは、ウェブサイトが読み込むフォントファイルを確認し、より速い形式と読み込みの設定を提案します。ページの速さを気にするデザイナーや開発者向けです。

使う場面

  • ✓必要以上に大きい古いフォント形式を読み込んでいるサイトのとき。
  • ✓フォントの読み込み中にテキストが見えないままのとき。
  • ✓パフォーマンスの監査で、フォントファイルが最初の表示を遅らせていると示されたとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/webfont-format/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“私のサイトはいくつかのカスタムフォントを使っていて、テキストの表示が遅いです。フォントをより速く読み込むにはどうすればよいですか?”

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

仕組み

エージェントは、スタイルシートのフォント形式とfont-displayの設定を確認します。フォールバック付きのWOFF2、重要なフォントのプリロード、使われていない文字の削減を提案します。

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

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

Optimize web font formats

Modern font formats reduce file sizes by 30-50%—directly improving page load speed and Core Web Vitals scores.

Quick Reference

  • Use WOFF2 as primary format (~30% smaller than WOFF)
  • Include WOFF fallback for older browsers
  • Apply font-display: swap for better perceived performance
  • Preload critical fonts and subset to reduce file sizes

Check

Verify that web fonts use modern formats (WOFF2, WOFF) with proper fallbacks and are optimized for performance with font-display and preloading strategies.

Fix

Convert fonts to WOFF2/WOFF formats, implement proper font loading strategies, and optimize font delivery with compression and caching.

Explain

Explain how modern web font formats reduce file sizes, improve loading performance, and provide better browser support compared to legacy formats.

Code Review

Review stylesheets, component styles, and responsive states related to Optimize web font formats. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/css/webfont-format

よくある質問

なぜWOFF2を最初に使うのですか?

このスキルによると、WOFF2はWOFFより約30パーセント小さく、ダウンロードが速いからです。

font-display: swapは何をしますか?

フォールバックのテキストをすぐに表示し、カスタムフォントの準備ができたら切り替えます。

フォントのサブセット化とは何ですか?

必要な文字だけを残すため、フォントファイルを小さくできます。

詳細

作者による元の説明

Use when reviewing stylesheets, component styles, and responsive behavior related to Optimize web font formats. Check the rendered layout across breakpoints and interaction states before proposing a fix.

repo: thedaviddias/Front-End-Checklist

人気

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

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

0

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

コメント

  • …

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

似ているスキル