본문으로 건너뛰기
Skillpedia
웹사이트 및 UI (프런트엔드)75k · #2853

font-loading

하는 일

이 스킬은 웹사이트가 맞춤 폰트를 어떻게 불러오는지 확인합니다. 텍스트가 빨리 나타나고 제자리에 머물기를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓맞춤 폰트가 불러와지는 동안 텍스트가 잠시 보이지 않을 때.
  • ✓폰트가 드디어 나타났을 때 페이지 레이아웃이 흔들릴 때.
  • ✓페이지가 Core Web Vitals 점수에서 낮을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/font-loading/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“페이지를 열면 텍스트가 1초 동안 보이지 않는데 왜 그런가요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 font-display 설정과 핵심 폰트의 preload 여부를 확인합니다. font-display swap을 제안하고, 가장 중요한 폰트 파일에는 preload를 권장합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Optimize web font loading

Slow font loading can cause 'Flash of Invisible Text' (FOIT) or significant layout shifts, negatively impacting both user experience and Core Web Vitals.

Quick Reference

  • Use font-display: swap to prevent invisible text during load
  • Preload critical fonts to discover them earlier
  • Use modern formats like WOFF2 for better compression

Check

Check font loading strategies and verify that font-display is used and critical fonts are preloaded.

Fix

Add font-display: swap to @font-face declarations and use <link rel='preload'> for the most important fonts.

Explain

Explain how font loading affects perceived performance and layout stability.

Code Review

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

자주 묻는 질문

Flash of Invisible Text란 무엇인가요?

웹 폰트가 내려받아지는 동안 텍스트가 계속 숨겨지는 현상이며, 이 스킬은 이를 막으려고 합니다.

font-display swap은 무엇을 하나요?

대체 폰트로 텍스트를 먼저 보여 주고, 맞춤 폰트가 도착하면 바꿔 줍니다.

어떤 폰트 형식을 권장하나요?

더 나은 압축을 위해 WOFF2를 권장합니다.

상세 정보

작성자의 원본 설명

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

repo: thedaviddias/Front-End-Checklist

인기도

GitHub 스타
75k
순위
#2853
라이선스
MIT
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬