Logo: Better Ui

Better Ui

Communautéit
hsynozdamar-byte
better-ui

Visual polish for UI code: radii, optical alignment, shadows, icons, press feedback, small motion. Use when building or polishing components, or when something looks slightly off.

Iwwersiicht

Editeurhsynozdamar-byte
Repositoryclaude-skills-edited
Skill-Nummbetter-ui
Stären
63
Forks
1
Matgeliwwert Dateien
5
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 5 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    hsynozdamar-byte huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Better Ui an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-ui
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/better-ui .claude/skills/better-ui
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Better Ui an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Better Ui automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Better Ui net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

UI polish

Polish is many small details that compound. Keep the project's components, tokens, density and motion language. The values here are tested defaults, so use them as written when the project has nothing of its own, rather than a familiar-looking substitute.

When reviewing motion, slow it down (10% in the browser's Animations panel). What feels off slowly is subtly wrong at full speed.

Text rendering belongs to better-typography, hit areas and reduced motion to better-accessibility, grouping and spacing to better-layout.

Surfaces

  • Concentric radius. Outer radius = inner radius + padding (card rounded-2xl p-2 holds rounded-lg). Same radius on both is the most common "feels off" cause. Past about 24px of padding the layers read as separate surfaces; pick radii independently.
  • Optical alignment. Icon-side padding = text-side padding minus 2px (ps-4 pe-3.5 for a trailing icon). Play triangles shift right about 2px. Fix asymmetric icons (stars, carets) in the SVG first, a translate-x-px wrapper second.
  • Shadows for depth, borders for structure. Where a border only creates elevation on cards, buttons or popovers, a layered transparent shadow adapts to any background. Keep borders for dividers, table cells, inputs and selected or focus states.
  • Image outlines. 1px outline, -1px offset: oklch(0 0 0 / 0.1) light, oklch(1 0 0 / 0.1) dark (outline-black/10 dark:outline-white/10). Use pure black or white, not slate or zinc: a tinted outline picks up the surface and reads as dirt on the edge.

Shadow tokens and recipes: references/surfaces.md.

Icons

  • Stroke follows adjacent text weight: 1.5px beside 400, 2px beside 500 to 600, 2.5px beside bold. One library and one stroke convention per surface.
  • One SVG with currentColor; hover, selected and disabled come from CSS color and opacity. Strip hardcoded fills on import.
  • Outline is the default state, fill the active state. Don't use them interchangeably.
  • Size inline icons at 1em to 1.25em, on the set's native grid (16, 20, 24), and check them at the smallest render size.

Load references/icons.md for RTL flipping rules and the icon cross-fade code.

Motion

  • Interruptible. CSS transitions (or springs) for interactive state, because they retarget mid-flight. Keyframes only for one-shot sequences.
  • Restraint. High-frequency interactions (typing, row hover, tab switches) get instant feedback or at most 150ms on opacity and color. Save expressive motion for rare moments. Every animated change also leaves a static cue (color, icon, label).
  • Press. scale(0.96) on :active, 150ms ease-out. Below 0.95 feels exaggerated. Offer a static prop to turn it off.
  • Contextual icon swap. Scale 0.25 to 1, opacity 0 to 1, blur 4px to 0. With motion/framer-motion (match the import already used): { type: "spring", duration: 0.3, bounce: 0 }. Without one, keep both icons in the DOM and cross-fade with cubic-bezier(0.2, 0, 0, 1) over 300ms; don't add a dependency for this.
  • Enter. Only for infrequent staged entrances: split into semantic chunks (title, text, actions), stagger about 100ms (words in a title about 80ms), combine opacity, translateY(12px) and blur(4px).
  • Exit. Softer and shorter than enter: small fixed translateY(-12px), about 150ms ease-out. Remove instantly when motion adds no information.
  • First render. initial={false} on AnimatePresence stops toggles animating on load. Don't use it where the entrance itself is the point (hero stagger).
  • Theme switch. Disable all transitions during the swap, force a reflow, remove on the next frame, or the page smears. next-themes has disableTransitionOnChange.
  • Performance. Name transitioned properties (transition-[scale,opacity]), never transition: all. will-change only on transform, opacity or filter, and only after you see first-frame stutter.

Code for each: references/motion.md.

Reporting (standalone)

HIGH: breaks an interaction or leaves a state visible only during animation. MEDIUM: visible inconsistency in surfaces, icons or motion. LOW: isolated polish. One row per root cause: Severity, Location (path:line), Before, After, Why. Check every defined state (hover, focus, active, loading, empty); mark what you couldn't run Not verified. End with Block if any HIGH, else Approve.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Better Ui?

Visual polish for UI code: radii, optical alignment, shadows, icons, press feedback, small motion. Use when building or polishing components, or when something looks slightly off.

Firwat Better Ui op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Better Ui besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Better Ui an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-ui an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Better Ui benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Better Ui benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Better Ui domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Better Ui gratis?

hsynozdamar-byte huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇