design-system
Was er macht
Dieses Tool sorgt dafür, dass visuelle Elemente einer Website wie Farben, Typografie und Animationen einheitlich und effizient umgesetzt werden. Es legt Regeln fest, damit alles auf der gesamten Website gleich aussieht und sich gleich verhält.
Wann du ihn nutzt
- ✓Wenn du eine neue Website oder App baust.
- ✓Wenn du einer bestehenden Seite neue visuelle Funktionen hinzufügst.
- ✓Wenn du sicherstellen willst, dass eine Website einen einheitlichen Look and Feel hat.
Link zum Skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/design-system/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Wie kann ich sicherstellen, dass meine Farben und Schriften auf der ganzen Website einheitlich sind?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Es arbeitet mit sogenannten 'Tokens' (kleine Code-Bausteine) für Farben, Typografie und Animationen. Statt zufällige Werte zu verwenden, nutzt der Code diese vordefinierten Tokens, damit alles einheitlich bleibt.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Design system
When to Use
Use this skill when you need mechanical implementation invariants for frontend design: token architecture, typography hierarchy, loading order, FOUT prevention, chrome stability, motion timing, color semantics. Use with design when building components, pages, or design systems. (Aesthetic direction lives in...
Apply with design when implementing UI: components, pages, or design systems. Every color, type, and motion choice should trace back to these rules.
Token architecture
All colors map to a small set of primitives. No random hex values.
- Foreground: Text hierarchy (primary, secondary, muted).
- Background: Surface elevation (base, raised, overlay).
- Border: Separation hierarchy (subtle, default, emphasis).
- Brand: Identity and primary accent.
- Semantic: Destructive, warning, success (and optional info).
Use tokens in code (CSS variables, theme objects); never hardcode hex for UI.
Typography
- Hierarchy: Headlines — heavier weight, tighter letter-spacing for presence. Body — comfortable weight for readability. Labels/UI — medium weight, works at smaller sizes. Data — monospace,
tabular-numsfor alignment. - Combine size, weight, and letter-spacing so hierarchy is clear at a glance. If you squint and can't tell headline from body, hierarchy is too weak.
- Fonts: pair a display font with a body font; keep hierarchy legible at a glance. Which fonts is direction, not mechanics — pick from the domain and push off your first/default instinct (the mean); see design-spatial §2.
- Data (functional only): real aligned numbers, IDs, timestamps in monospace with
tabular-nums— mono earns its place when values line up in a column. Do NOT sprinkle mono on decorative eyebrow/metadata microtext ("35MM · DEVELOP · SCAN", fake spec captions) for a "technical" look — that's the current trend-slop, not data. See design-spatial §2.
Loading order — first seen, first loaded
The first viewport must paint complete and correct, fast. Order every resource by whether the user sees it first; the rest waits.
- Prioritize only the above-the-fold set (hero text, hero image/video, brand mark). Preloading everything is the same as preloading nothing — the true criticals lose the bandwidth race. Pick the few things in the first screenful and prioritize those.
- Fonts: self-host WOFF2. Convert OTF/TTF → WOFF2 (Brotli; ~half the bytes, identical glyphs) and
<link rel="preload" as="font" type="font/woff2" crossorigin>the weights used in the first viewport. Never a render-blocking third-party font stylesheet — a Google Fonts<link>adds a CSS round-trip plus extra DNS/TLS before the font even starts downloading; self-host instead. - LCP image/video:
fetchpriority="high"on the hero image (or the video poster);<link rel="preload" as="image">it when it's CSS-referenced (the parser can't see CSSurl()s early). The hero box must never be empty — ship a poster/low-res placeholder so there's no blank frame. - Below the fold:
loading="lazy" decoding="async"on images;preload="none"(or"metadata") on video;defernon-critical JS. Always reserve space (aspect-ratio, orwidth+height) so deferred media can't shift layout (CLS). - Keep the render-blocking head minimal: inline critical CSS, defer the rest.
Never let fonts pop in (no FOUT) — ever
font-display: swap is the pop — it paints a fallback face, then swaps to the webfont and reflows. Do not use it for any text the user watches load (titles, wordmarks, hero copy). The rule is absolute: title/display text must never flash a fallback or reflow.
- Gate visibility on the real font. Synchronously in
<head>, add afonts-pendingclass to<html>that holds the display-font text atopacity: 0. Ondocument.fonts.ready— kick it withdocument.fonts.load('<weight> 1em "Family"')for each critical face — swap tofonts-readyand fade the text in (0.5s). Always include a safety timeout (2.5s) that reveals regardless, so a font failure can never leave text permanently hidden. - Pair this with preload + WOFF2 (above) so the hidden window is a few hundred ms, not seconds — the fade reads as intentional, not as a stall.
…
Häufige Fragen
Was sind 'Tokens'?
Tokens sind wie Namen oder Bezeichnungen für bestimmte Werte, zum Beispiel eine genaue Farbe oder Schriftgröße. Wenn alle Tokens statt direkter Werte verwenden, nutzen alle dieselben visuellen Elemente.
Warum ist es wichtig, Schriften richtig zu laden?
Richtig geladene Schriften verhindern, dass Text beim Laden der Seite springt oder sein Aussehen ändert. Das sorgt für ein flüssigeres Nutzungserlebnis.
Wie wirkt sich das auf die Geschwindigkeit der Website aus?
Wenn Bilder und Schriften optimiert geladen werden und einheitliche Regeln gelten, lädt die Website schneller und wirkt professioneller.
Details
Originalbeschreibung des Autors
Mechanical implementation invariants for frontend design: token architecture, typography hierarchy, loading order, FOUT prevention, chrome stability, motion timing, color semantics. Use with design when building components, pages, or design systems.
Beliebtheit
- GitHub-Sterne
- 48k
- Platz im Ranking
- #6268
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
00-andruia-consultant
48kHilft deinem Agenten, KI-Projekte zu starten oder zu verbessern. Er analysiert Code, schlägt Tools vor und erstellt Aktionspläne auf Spanisch.
007
48kLässt deinen Agenten Sicherheitsaudits und Bedrohungsmodellierung durchführen. Nützlich, um Projekte vor Angriffen und Schwachstellen zu schützen.
10-andruia-skill-smith
48kHilft deinem Agenten, KI-Tools zu erstellen oder zu verbessern. Er legt fest, wie Tools funktionieren, schreibt die Dokumentation und prüft die Struktur.
20-andruia-niche-intelligence
48kLässt deinen Agenten eine Branchenzusammenfassung erstellen. Nützlich, um Kontext, Regeln, Nutzungsmuster und Risiken anhand verlässlicher Quellen zu verstehen.
Ähnliche Skills
canvas
394kLässt deinen Agenten ein gehostetes visuelles Widget auf einem verbundenen Mac-Panel zeigen und das Panel danach ausblenden oder auf eine andere Seite verschieben.
control-ui
394kHilft deinem Agenten, die OpenClaw-Control-UI zu ordnen und zu prüfen, einschließlich Sitzungen, Dashboards und verbundener Gateways.
diagram-maker
394kHilft deinem Agenten, klare Diagramme als SVG, HTML oder bearbeitbare Excalidraw-Dateien zu erstellen, für Prozesse, Systemarchitekturen und Whiteboard-Skizzen.