Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Przegląd i audyt

typography

/typography

Poprawia detale typograficzne w HTML, CSS i React: cudzysłowy, myślniki, odstępy i długość linii.

Repozytorium
agentbox ↗
Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
0
Komentarze HTML
2
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

AGPL-3.0, copyleft: przeróbki udostępniane innym muszą mieć tę samą licencję.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Poprawia detale typograficzne w HTML, CSS i React: cudzysłowy, myślniki, odstępy i długość linii.

Oryginalny opis (EN)

Correct typographic detail — curly quotes, en/em dashes, single spacing, hierarchy, line length, and layout — in generated or reviewed UI code. Use when writing or auditing HTML/CSS/React/JSX that renders visible text, or when making an interface's type read as professional.

Jak działa

  1. When to Use
  2. When Not to Use
  3. Core Rules (quick-path)
  4. Quick Examples
  5. References
  6. Attribution
Sekcje z nagłówków SKILL.md, w oryginale · 87 linii, 564 słów
Podgląd SKILL.md
---
name: typography
description: >
  Correct typographic detail — curly quotes, en/em dashes, single spacing, hierarchy,
  line length, and layout — in generated or reviewed UI code. Use when writing or
  auditing HTML/CSS/React/JSX that renders visible text, or when making an interface's
  type read as professional.
---

# UI Typography Skill

Applies timeless typographic correctness that LLMs routinely get wrong: proper quote
marks (curly, not straight), the three dashes (hyphen / en / em), spacing, hierarchy,
and page layout. Two modes:

- **ENFORCEMENT (default):** when generating any UI with visible text, apply the rules
  automatically using correct HTML entities and CSS. No need to ask or explain — just
  produce correct typography.
- **AUDIT:** when reviewing existing code or design, flag violations with before/after fixes.

These are strong, well-grounded defaults drawn from how the human eye reads (see
Attribution), not passing trends. Follow them by default; deviate deliberately when a
specific design calls for it, not by accident.

## When to Use

- Any HTML/CSS/React/JSX artifact containing visible text
- Landing pages, components, dashboards, UI layouts
- Fixing typography or making an interface look professional
- Reviewing existing layouts for typographic issues
- Web design, presentation design, document generation
- Any task producing visible text for humans — apply even if typography isn't mentioned

## When Not to Use

- Font pairing, type-scale selection, brand type systems → **ui-ux-pro-max-skill**
- On-screen UI body-text line-height (dashboards, apps, responsive web) → **ui-ux-pro-max-skill**'s 1.5–1.75 rule; this skill's 120–145% line spacing rule is scoped to print/typeset body copy at a fixed point size
- Text accessibility audits (contrast, screen readers, WCAG) → **bencium-controlled-ux-designer**
- LaTeX typesetting / academic paper prep → **latex-documents**
- Plain markdown or text with no UI rendering → standard editing suffices

## Core Rules (quick-path)

Apply these directly; the reasoning, edge cases, and full catalogue live in `references/rules.md`.

1. Prefer curly quotes over straight — `“` `”` for double, `‘` `’` for single
2. Three distinct dashes: hyphen (-), en dash (`–`), em dash (`—`) — don't approximate with `--`
3. One space after punctuation, not two
4. Line length 45–90 characters (`max-width: 65ch`)
5. Line spacing 120–145% of point size (`line-height: 1.2`–`1.45`) — this is the **print/typeset body copy** rule (fixed point size, close reading distance on paper or a PDF page). For on-screen UI body text (dashboards, apps, responsive web copy), use the `ui-ux-pro-max-skill` skill's 1.5–1.75 range instead; don't apply this tighter print range to responsive UI text.
6. Bold or italic, not both at once
7. Letterspace ALL CAPS (5–12%) with kerning on
8. Avoid underlining for emphasis in UI — use bold or italic
9. Keep to ~2 fonts, each with a consistent role
10. Set body text first — its 4 properties (font, size, line spacing, line length) drive everything else

## Quick Examples

**Curly apostrophe in JSX** (escape sequences render literally between tags — see the JSX warning in the rules reference):
```jsx
<p>Don{'’'}t use straight quotes</p>
```

**Dashes:**
```html
<p>Pages 1&ndash;10</p>          <!-- range: en dash -->
<p>A bold claim&mdash;indeed</p>  <!-- break: em dash -->
```

**CSS baseline:**
```css
body {
  max-width: 65ch;
  line-height: 1.4;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}
```

## References

Read on demand:

- **`references/rules.md`** — full rule catalogue with reasoning and edge cases:
  characters, spacing, text formatting, page layout, responsive, screen, maxims, and the
  JSX/React unicode-escape correctness trap.
- **`references/css-templates.md`** — complete CSS baseline template, responsive patterns, OpenType features.
- **`references/html-entities.md`** — full entity table with characters and codes.

## Attribution

Rules distilled from **Matthew Butterick's *Practical Typography*** (https://practicaltypography.com) —
professional typography made accessible for everyday digital writing. If this skill is useful, consider
supporting his work directly.
Pliki w paczce (4)
  • SKILL.md 4 KB
  • references/css-templates.md 7 KB
  • references/html-entities.md 5 KB
  • references/rules.md 13 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · dreamlab-ai/agentbox100AGPL-3.0
glebis/claude-skills100MIT
oborchers/fractional-cto100MIT
glebis/humane-agentic-design100MIT
arnavpuri/designskills100MIT
danium/practicaltypography100MIT
Dragoon0x/dragoon-skills100MIT
EthanYoQ/Skill-hub95MIT
codeonym-org/codeonym-arch-design90MIT

Migawka bazy z 13.11.2026 · wersja paczki d5456c76064f (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95ui-typography
    Stosuje zasady typografii interfejsu: poprawne cudzysłowy, myślniki, odstępy i hierarchię, także w kodzie HTML i React.
  • 85ux-typography
    Projektuje lub recenzuje typografię produktu: dobór i zestawianie krojów, skala typograficzna, hierarchia i czytelność (rozmiar, długość linii, interlinia, odstępy, wyrównanie).
  • 95manuscript-typography
    Sprawdza typografię rękopisów naukowych: tabele, podpisy, myślniki, cudzysłowy, jednostki i układ strony, jako uzupełnienie recenzji treści.
  • 90ui-typography
    Poprawia typografię istniejącego interfejsu: dobór i parowanie czcionek, skalę, kontrast wag, hierarchię, długość wiersza i ładowanie fontów.
  • 100ui-refactor
    Ocenia projekt i poprawia interfejs frontendu: odstępy, hierarchię, kolory, typografię, kontrast i układ ekranu.
  • 100ui-visual-design-system
    Podpowiada praktyki wizualne: skale typograficzne, kolory OKLCH, odstępy, siatki, hierarchię i nowoczesny CSS.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.