Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

typography-font-stinger

/typography-font-stinger

Buduje system typografii webowej: fonty zmienne, ładowanie fontów, skale płynne, rytm pionowy i tokeny typograficzne.

Licencja
AGPL-3.0
Ostatnia zmiana repozytorium
14.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
19
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 14.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 robi i kiedy

Buduje system typografii webowej: fonty zmienne, ładowanie fontów, skale płynne, rytm pionowy i tokeny typograficzne.

Oryginalny opis (EN)

Build a web typography system. Use for variable fonts, font loading, fluid scales, vertical rhythm, or type tokens. Read README.md for the guide map.

Jak działa

  1. Task routing
  2. The seven non-negotiables
  3. Scope boundary
  4. Quick-start checklist
Sekcje z nagłówków SKILL.md, w oryginale · 74 linii, 657 słów
Podgląd SKILL.md
---
name: "typography-font-stinger"
description: "Build a web typography system. Use for variable fonts, font loading, fluid scales, vertical rhythm, or type tokens. Read README.md for the guide map."

license: AGPL-3.0-or-later
---

# Typography Font Stinger

Start with [README.md](README.md) for the workflow map and detailed references.

Typography is the invisible infrastructure of every UI. Font loading choices directly impact Core Web Vitals (LCP, CLS), accessibility (WCAG 1.4.4 text resize), and brand consistency. Getting it right in 2026 means navigating variable font subsetting, the `font-display` decision matrix, fluid `clamp()` type scales, and the growing split between `next/font`, Fontsource, and full self-hosting pipelines.

This Stinger encodes the 2026 state-of-the-art for the full technical typographic stack: font loading strategy, variable font configuration, fluid type scale arithmetic, vertical rhythm, and the font-token layer. Read `SKILL.md` for task routing; follow the specific guide for implementation depth.

---

## Task routing

| Task | Guide |
|------|-------|
| Understand FOIT, FOUT, FOFT, and font-display semantics | `guides/00-principles.md` |
| Choose font hosting strategy (next/font vs Fontsource vs self-host) | `guides/01-hosting-strategy.md` |
| Configure variable fonts and subsetting | `guides/02-variable-fonts.md` |
| Build a fluid type scale with clamp() | `guides/03-fluid-type-scale.md` |
| Establish vertical rhythm and line-height | `guides/04-vertical-rhythm.md` |
| Author a font token CSS layer | `guides/05-font-token-layer.md` |
| Audit and improve font loading performance | `guides/06-performance-checklist.md` |
| Happy-path: Next.js + next/font + Tailwind | `examples/happy-path-nextjs-font.md` |
| Edge-case: self-hosted variable font with manual subsetting | `examples/edge-case-self-hosted-variable.md` |
| CSS typography token skeleton | `templates/typography.css.template.md` |
| next/font config template | `templates/next-font-config.ts.template.md` |

---

## The seven non-negotiables

From the Command Brief, repeated here as guardrails for every implementation:

1. **Always specify `font-display` on every `@font-face` rule.** Browser defaults vary; omitting it causes unpredictable FOIT/FOUT/FOFT across Chrome, Safari, and Firefox. See `guides/00-principles.md`.
2. **Never reference raw px font sizes in component code.** All sizes must route through the fluid type-scale token layer. See `guides/05-font-token-layer.md`.
3. **Distinguish FOIT, FOUT, and FOFT.** Each has a different `font-display` remedy; conflating them leads to wrong values. See `guides/00-principles.md`.
4. **Always subset variable fonts.** Unsubsetted variable fonts are 300-800 kB; a Latin subset is typically 20-60 kB. See `guides/02-variable-fonts.md`.
5. **Validate next/font usage against the App Router API, not Pages Router.** The two APIs differ in import path, options object, and class/variable application. See `guides/01-hosting-strategy.md`.
6. **Express fluid type steps as `clamp()` expressions, not media-query breakpoint steps.** `clamp()` provides smooth interpolation that breakpoints cannot replicate. See `guides/03-fluid-type-scale.md`.
7. **Keep the font-token file as the single source of truth.** Font decisions scattered across globals, components, and Tailwind config produce a system that cannot be audited holistically. See `guides/05-font-token-layer.md`.

---

## Scope boundary

| In scope | Out of scope - route to |
|----------|------------------------|
| Font loading strategy (next/font, Fontsource, self-host) | Typeface aesthetic selection - `design-system-wasp-drone` |
| Variable font axes, subsetting, `@font-face` config | Build pipeline subsetting CI steps - `devops-wasp-drone` |
| `font-display` semantics and FOIT/FOUT/FOFT remediation | Per-component type token application - `ux-ui-svelte-wasp-drone` |
| Fluid `clamp()` type scale arithmetic | LCP font impact analysis in broader CWV audit - `seo-aeo-wasp-drone` |
| Vertical rhythm and `line-height` tokens | Persisted user font preference schema - `db-wasp-drone` |
| Font-token CSS layer (`--font-*` custom properties) | Brand identity and palette decisions - `design-system-wasp-drone` |

---

## Quick-start checklist

For a standard Next.js 15 App Router + `next/font` + Tailwind v4 stack:

- [ ] Font loading: `next/font/google` or `next/font/local` configured in `app/fonts.ts`
- [ ] Font variables applied to `:root` via `className` or `variable` prop on `<html>`
- [ ] No render-blocking `<link rel="stylesheet">` for Google Fonts in `<head>`
- [ ] `font-display` declared (or confirmed via `next/font`'s automatic `optional`)
- [ ] Variable font configured with `wght` axis range, not discrete weights
- [ ] Fluid type scale: all sizes expressed as `clamp()` CSS custom properties in `tokens/typography.css`
- [ ] Vertical rhythm: `line-height` multiples stored as tokens
- [ ] No raw px font sizes in any `.tsx` or `.css` component file
- [ ] Font subset: Latin-only for non-multilingual projects (`subset: ['latin']` in next/font)

---

*Research trail: `research/research-summary.md` | Command Brief: `ai-tools/command-briefs/typography-font-wasp-drone-command-brief.md`*
Pliki w paczce (19)
  • README.md 1 KB
  • SKILL.md 5 KB
  • examples/.gitkeep 1 KB
  • examples/edge-case-self-hosted-variable.md 5 KB
  • examples/happy-path-nextjs-font.md 6 KB
  • guides/.gitkeep 1 KB
  • guides/00-principles.md 5 KB
  • guides/01-hosting-strategy.md 6 KB
  • guides/02-variable-fonts.md 5 KB
  • guides/03-fluid-type-scale.md 5 KB
  • guides/04-vertical-rhythm.md 5 KB
  • guides/05-font-token-layer.md 7 KB
  • guides/06-performance-checklist.md 6 KB
  • reports/.gitkeep 1 KB
  • reports/README.md 1 KB
  • research/research-summary.md 7 KB
  • templates/.gitkeep 1 KB
  • templates/next-font-config.ts.template.md 5 KB
  • templates/typography.css.template.md 6 KB

Wersje

W bazie nie ma innych skilli o nazwie typography-font-stinger.

Migawka bazy z 13.11.2026 · wersja paczki 71d4df1684cf (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

  • 100typography
    Dobiera skale typograficzne, pary fontów, hierarchię nagłówków i wczytywanie fontów do stron internetowych.
  • 90typography-system
    Projektuje system typografii: dobór i parowanie krojów, modularną skalę, rytm pionowy, interlinię i miarę oraz dostarczanie fontów webowych (subsetting, font-display, fonty zmienne).
  • 100typography-systems
    Prowadzi tworzenie systemów typografii webowej: skale płynne z clamp(), dobór i parowanie fontów, czytelność (interlinia, miara, tracking) i zapis jako tokeny projektowe CSS.
  • 98typography-system
    Buduje lub naprawia system typografii: skala modularna, dobór i ładowanie fontów, hierarchia, interlinia, długość linii i płynne rozmiary, dostarczone jako tokeny Tailwind lub zmienne CSS.
  • 100typography-audit
    Audytuje ładowanie fontów, skale typograficzne, miarę, odstępy, OpenType i wyrenderowaną interpunkcję według 78 reguł.
  • 100web-typography
    Pomaga dobierać, zestawiać i wdrażać kroje pisma na stronach: parowanie fontów, interlinia, responsywna typografia, ładowanie fontów, hierarchia, fonty zmienne i czytelność długich tekstów.

Uwagi i zgłoszenia

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