better-ui Skill (jakubkrehel): What It Does and How to Install It
Makes Claude polish surfaces, icons and motion with exact values for radius, shadows, icon states and animation, then report what to fix.
- Installs
- 42.3K
- on skills.sh
- Stars
- 10K
- on GitHub
- Files
- 7
- besides SKILL.md
- Updated
- Oct 2026
- last repo commit
better-ui gives Claude a rulebook of exact UI values. The outer radius is the inner radius plus padding, a press scales to 0.96, an entrance stagger is 100ms, and shadows replace borders when a border only creates depth. It applies once the interaction itself works, and it keeps your project's own tokens and conventions where no rule gives a value. A review ends with a findings table and a Block or Approve verdict.
Good for
- Front-end developers who want consistent radius, shadow and motion details
- Design engineers reviewing a UI for polish after the interaction works
- React, CSS and Tailwind users who use Motion for animation
- Claude Code users who already run skills
Install better-ui
Claude Code
- 1
Copy this prompt.
Install the better-ui skill in Claude Code. Run this command: npx skills add https://github.com/jakubkrehel/skills --skill better-ui Then check that it loaded and tell me how to use it.
- 2
Paste it into Claude Code. It shows the change and asks before running it.
Requires Node.js.
From its listing on skills.sh. Source.
What's in the skill
When it loads
Polishes surfaces, icons and motion with exact values for border radius, optical alignment, shadows, icon states and animation.
Sections in SKILL.md
- Exact values, optional polish
- Outer radius equals inner radius plus padding
- Align optically where geometry looks off
- Shadows for elevation, borders for structure
- Outline images in pure black or white
- Transitions, not keyframes, for interactive state
- Press scales to 0.96
- High-frequency interactions respond instantly
- Gate motion behind the reduced-motion preference
- Stagger infrequent entrances by 100ms
- Exits are shorter and smaller than enters
- Skip state animations on first render
- Cross-fade contextual icons with exact values
- Suppress transitions on theme switch
- Transition only what changes
- Name the animated property in will-change
Key facts
- Author
- jakubkrehel
- Repository
- jakubkrehel/skills
- License
- MIT
- Installs on skills.sh
- 42,327 (Nov 2, 2026)
- GitHub stars
- 10,003 (Nov 2, 2026)
- skills.sh audits
- Gen Agent Trust Hub pass, Socket pass, Snyk pass (Nov 2, 2026)
- Last repo commit
- Oct 25, 2026
- Scripts
- None in this skill folder
What it includes
Concentric radius, optical alignment, layered shadows over borders, image outlines
Rules and recipes for nested radii, 2px optical nudges, forced-colors-safe shadow rings and black or white image outlines.
SurfacesTransitions over keyframes, press scale 0.96, instant feedback for high-frequency actions
Motion state changesStagger entrances by 100ms, shorter and smaller exits, skip animation on first render
Entrances and exitsCross-fade contextual icons, match stroke to text weight, one SVG recolored per state
IconsGates movement, scale and blur behind prefers-reduced-motion; cross-fades opacity instead
Reduced motionSuppress transitions on theme switch, name the exact properties, use will-change sparingly
Theme switch and performanceHover styles only on hover-capable pointers, overscroll-behavior: contain on overlays
Pointer and scrollA 15-row table of code patterns to look for and the fix for each
Examples: transition: all, bounce set to anything but 0, fill="#..." inside an icon SVG.
Before you finishRates findings HIGH, MEDIUM or LOW, lists them in a table and ends with Block or Approve
Without a browser it reads every state from the code; checks it could not run are reported as Not verified.
Reporting
From the official docs
Questions
How do I install better-ui?
Use the install box above. The README documents the skills CLI for the whole collection and a Claude Code plugin named interfaces. Plugin users invoke the skill as /interfaces:better-ui, as AGENTS.md explains.
Does better-ui work in the Claude app or Claude.ai?
The README documents no Claude app install. The skill reviews and edits UI code in your project, so use it in Claude Code or another local agent.
Do I need the other better-* skills?
No. SKILL.md names better-typography, better-accessibility, better-layout and better-colors as owners of neighbouring topics, but only as hand-offs. The repo notes say that without the sibling, that topic is simply out of scope.
How is better-ui different from better-interface?
better-interface reviews a whole screen or flow across accessibility, layout, writing, typography, color and UI polish, and returns one ranked report. better-ui covers only the polish part: surfaces, icons and motion.
Does it need an API key, and is it safe?
SKILL.md names no API key. The skill folder holds markdown guides and one small agents/openai.yaml file, and bundles no scripts. It guides how Claude reviews and edits your UI code, so read the diffs as you normally would.
Information
updated Nov 2, 2026
- Repository
- jakubkrehel/skills
- Folder
skills/better-ui
Sources
Docs, issue trackers and discussions this page is built from.
Show all 5Hide
- better-ui SKILL.md · github.com
- jakubkrehel/skills README · github.com
- better-ui on skills.sh · skills.sh
- jakubkrehel/skills AGENTS.md · github.com
- better-interface SKILL.md · github.com