Better Ui logo

Better Ui

Community
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.

Overview

Publisherhsynozdamar-byte
Repositoryclaude-skills-edited
Skill namebetter-ui
Stars
63
Forks
1
Bundled files
5
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hsynozdamar-byte on GitHub. Read the source before you install it.

Installation

Install the Better Ui AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-ui
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Better Ui in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Better Ui on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Better Ui is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Better Ui AI skill do?

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.

Why use Better Ui on TypingMind?

Because you install it once and use it with any model. Better Ui is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Better Ui in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-ui. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Better Ui?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Better Ui?

As many as you like. As long as a model supports skills, you can use Better Ui with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Better Ui AI skill free?

It is published on GitHub by hsynozdamar-byte. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇