Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

better-ui

Skill by jakubkrehel

Polishes surfaces, icons and motion with exact values for border radius, optical alignment, shadows and icon states. It suits developers and designers who want a review checklist for UI details in a project.

  • Score 94
  • 13k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install better-ui

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jakubkrehel/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/better-ui ~/.claude/skills/better-ui

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install better-ui in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

better-ui is an agent skill that gives an AI assistant a set of visual polish rules for surfaces and icons. It lists exact values for details such as border radius, outline colors, shadow rings and icon stroke weight, and it includes a table of patterns to detect and the fix for each. It also covers hover behavior on touch devices and scroll containment inside overlays.

The skill applies after the underlying interaction is sound, and it defers topics such as typography, accessibility, layout, colors and motion to other skills. It asks the assistant to keep the project's own component library, tokens and density, and to treat a consistent project convention as a preference rather than a finding. It is written for developers and designers who review or build UI with an AI assistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • Nested radiusSets the outer radius to the inner radius plus padding and border width for nested surfaces.
  • Optical alignmentSuggests small nudges by eye, such as less padding on an icon side of a button.
  • Shadows over bordersReplaces borders that only create depth with layered transparent box-shadow values.
  • Image outlinesAdds a 1px inset outline in pure black or white at 10% opacity to content images.
  • Hover on hover-capable pointersWraps hover-only styling in the hover media query so touch taps do not leave a stuck state.
  • Overlay scroll containmentApplies overscroll-behavior contain to dialogs, drawers, menus and side panels.
  • Icon stroke matchingMatches an icon's stroke weight to the weight of the text beside it, from 1.5px at 400 to 2.5px at 700.
  • Recolored iconsUses currentColor so one SVG handles hover, selected and disabled states through CSS.
  • Pre-finish checklistProvides a table of detections and fixes to check before finishing a UI change.

Try asking

  • Review this card component and fix the nested border radius values.
  • Check my icon buttons for hover styles that stick on touch screens.
  • Replace the decorative borders on these cards with layered box-shadow values.

Good to know

  • Optical nudges and the 24px padding cutoff are starting points judged by eye, not exact values.
  • Typography, accessibility, layout, colors and motion belong to other skills.
  • Project conventions such as a deliberate no-shadow style take precedence over these findings.
  • Without a browser, states are read from code only and checks that could not run are reported as Not verified.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/better-ui/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB
  • agents/openai.yaml113 B
  • icons.md4 KB
  • reporting.md921 B
  • surfaces.md4 KB

Alternatives to better-ui

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

better-ui: common questions

What does better-ui check in a UI component?

It checks nested border radius, optical alignment, shadows versus borders, image outlines, hover behavior, overlay scrolling, icon stroke weight and icon recoloring. The source lists a table of detections and their fixes.

Does better-ui change my project's design style?

No. The source says to keep the project's component library, tokens and density, and a deliberate, consistent convention such as a style with no shadows is treated as a preference, not a finding.

How does better-ui handle work it does not cover?

The source says text wrapping, accessibility, layout, color contrast and motion belong to separate skills named better-typography, better-accessibility, better-layout, better-colors and better-motion.

How do I install better-ui?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is better-ui free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is better-ui safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to better-ui?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

better-ui Install

Add to stack

Loading.