본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)12k · #11513

better-typography

하는 일

웹 텍스트의 글꼴 선택, 타입 스케일, 간격, 줄바꿈, 말줄임을 다루도록 AI 에이전트를 안내합니다. 텍스트가 보이는 방식을 다루는 디자이너와 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓웹사이트나 앱의 글꼴을 고르거나 짝지을 때.
  • ✓제목, 본문, 레이블이 빽빽하거나 너무 넓거나 줄바꿈이 나쁠 때.
  • ✓긴 텍스트를 말줄임하거나 밑줄과 텍스트 선택을 꾸미고 싶을 때.

스킬 링크

https://github.com/trycompai/crm/blob/release/.agents/skills/better-typography/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“랜딩 페이지의 텍스트가 모바일에서 읽기 어렵습니다. 글꼴 크기와 간격을 고쳐 주세요.”

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

작동 방식

AI는 타입 계층과 스케일을 확인하고, 줄 길이와 간격을 정한 뒤, 여러 너비에서 실제 길이의 내용으로 줄바꿈을 테스트합니다.

기술 내용 (원본 SKILL.md)

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

Great typography

Good typography is mostly restraint. A sensible scale, comfortable spacing and enough contrast beat any clever effect. A label, a table cell, a marketing headline and an article paragraph should not share one set of rules. Apply these principles when building or reviewing anything with text in it.

When reviewing, read the page instead of scanning the code: squint to check the hierarchy holds, read one full paragraph for comfort, and resize the viewport to catch bad wrapping, widows and truncation at real content lengths.

The words themselves (button labels, error messages, empty states) are covered by the better-writing skill; semantic heading structure by better-accessibility; spatial RTL layout and logical CSS properties by better-layout; rendered-pair contrast measurement and color remediation by better-colors. This skill owns how text renders, wraps, and behaves in mixed-direction content.

Match the project's styling system. Before suggesting or writing any fix, check how the codebase styles things and express every change in that system: Tailwind utilities in a Tailwind project, plain declarations in CSS, CSS Modules, styled-components or StyleX. The cheat sheet maps each declaration to its Tailwind equivalent. Never introduce a second styling approach just to apply a typography fix.

Quick Reference

Category When to use Reference
Choosing fonts Font categories, pairing, formats, typeface anatomy choosing-fonts.md
Variable fonts & OpenType Axes, weights, tabular numbers, stylistic sets variable-fonts-and-opentype.md
Spacing & sizing Type scale, heading hierarchy, line-height, letter-spacing, text trimming spacing-and-sizing.md
Wrapping & punctuation Measure, wrapping, truncation, smart punctuation, RTL wrapping-and-punctuation.md
Details & accessibility Underlines, selection, forms, decorative text, contrast details-and-accessibility.md
CSS cheat sheet Quick lookup of every property covered, with Tailwind equivalents css-cheat-sheet.md

Core Principles

1. Serve the Right Format

Use .woff2 (Brotli compression, broadly supported) on the web. .woff is a fallback only for very old browsers; .ttf and .otf are raw desktop formats with no web compression. How the files are loaded is the project's own concern, this skill does not prescribe it.

2. Properties Over Raw Tags

When a CSS property exists, use it. font-weight: 650 instead of font-variation-settings: "wght" 650, font-optical-sizing: auto instead of "opsz", font-variant-numeric: tabular-nums instead of font-feature-settings: "tnum" 1. Properties keep working when a non-variable fallback renders. Reserve the raw-tag properties for custom axes ("GRAD" 80) and niche features ("ss01" 1) that have no property of their own.

3. Load Intended Weights and Styles

Browsers may synthesize a requested weight or style that the active family does not provide. Prefer loading the faces the design actually uses. Set font-synthesis: none only after verifying that every required bold, italic, small-cap, superscript, and subscript form remains visually distinct across the complete fallback stack; disabling synthesis is not a diagnostic and must not erase emphasis.

4. Fewer Fonts, Sizes and Weights

Rarely use more than three fonts. Weight and size define hierarchy, but overusing them hurts readability quickly. Pair for contrast, not similarity: a serif headline with a sans body reads as deliberate, two near-identical sans-serifs read as a mistake. Below 18px, stay at weight 400+; weights under 300 are display-only (28px+), they disappear at text sizes.

5. Use a Type Scale with Semantic Names

Define a small set of sizes and deviate from it as little as possible. Hard-coded sizes without a system break down at scale. For solo projects, default names like text-sm work fine as long as the usage rules are clear. On a team, name sizes by use (text-body-sm), not by size, so the rules stay consistent.

6. Heading Sizes Descend with Level

Within a coherent page hierarchy, map heading levels to descending steps of the type scale: a visually subordinate heading should not accidentally overpower its parent. Adjacent levels ma

자주 묻는 질문

페이지의 문장을 쓰나요?

아닙니다. 문구와 버튼 레이블은 better-writing 스킬에 속합니다.

색상 대비도 고치나요?

아닙니다. 그것은 better-colors 스킬에 속합니다.

새로운 스타일 방식을 추가하나요?

아닙니다. 모든 수정을 프로젝트의 기존 스타일 방식으로 적용합니다.

상세 정보

작성자의 원본 설명

Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, checking heading hierarchy, styling text in components, truncating text, styling underlines, selection, placeholders or carets, or reviewing frontend code for typography. Triggers on typography, fonts, font formats, woff2, variable fonts, font-weight, opentype, font-feature-settings, letter-spacing, line-height, type scale, heading hierarchy, heading levels, tabular numbers, text-wrap, truncation, line clamp,

repo: trycompai/crm

인기도

GitHub 스타
12k
순위
#11513
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬