better-ui
Skill1 starsChanged 56 days agoMITView on GitHub
Polishes and improves the UI in your project. Covers concentric border radius, optical alignment, surface depth, contextual icons, hit areas and more.
17 other projects use a version of this, 11 of them edited; 8 of 11 edited versions we compared changed its rules.
How people change it
8 of 11 edited versions changed its rules, and some changes recur.
Of the 11 edited versions we compared: 3 keep every rule, 8 made changes of their own.
Rules people drop
- When reviewing, slow the interface down. What feels off at 10% speed is what is subtly wrong at full speed.dropped by 8 of 8
- Keep the project's component library, tokens and density, and match its motion language except where a rule below prescribes an exact interaction.dropped by 8 of 8
- Every duration, curve, scale and blur below is a specific value, not a range to approximate.
cubic-bezier(0.2, 0, 0, 1)is notcubic-bezier(0.4, 0, 0.2, 1), and0.96is not0.95. Use what is written.dropped by 8 of 8 - Use
initial={false}onAnimatePresenceto keep enter animations off the first render. Check that it leaves intentional page entrances intact.dropped by 8 of 8 - Only for
transform,opacityandfilter, which the GPU can composite. Neverwill-change: all. Add it when you see first-frame stutter, not before. See [performance.md](performance.md).dropped by 8 of 8 - Every animated state change also needs a static cue: color, an icon, or a label. Motion is never the only feedback channel.dropped by 8 of 8
Rules people add
- Use
initial={false}onAnimatePresenceto prevent enter animations on first render. Verify it doesn't break intentional entrance animations.added by 8 of 8 - Only for
transform,opacity,filter, the properties the GPU can composite. Never usewill-change: all. Only add when you notice first-frame stutter.added by 8 of 8 - When reviewing, slow the interface down: replay motion at 10% speed in the browser's Animations panel and walk every state: hover, focus, active, loading, empty. What feels off at 10% speed is what's subtly wrong at full speed.added by 6 of 8
- No custom animation on high-frequency interactions: the attention cost repeats on every trigger. Motion is never the only feedback channel; every animated state change also needs a static cue (color, icon, label).added by 6 of 8
- A rule we can't quote: its licence doesn't allow itadded by 3 of 8
- A rule we can't quote: its licence doesn't allow itadded by 3 of 8
- A rule we can't quote: its licence doesn't allow itadded by 2 of 8
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Most recently taken up by
- compozy/compozyword for word, first seen Oct 1, 2026
- 0xPasho/agentcutedited, first seen Sep 21, 2026
- transitive-bullshit/skillstheir own version, first seen Sep 19, 2026
- SkotAlexsander/skillsedited, first seen Sep 16, 2026
- iurysza/agent-skillsedited, first seen Sep 14, 2026
- stritar/skillsedited, first seen Sep 11, 2026
Used with
Projects with it also use improve-ui, review-animations and 4 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
QredenceSkillimprove-ui
Audit one selected Figma Design surface or Figma Make prototype against visible design evidence, connected libraries, local styles, variables, components, sibling screens, and user task goals, then return up to three supported UI improvement findings with clear evidence and proposed changes. Do not use for design-system conformance audits (follow-ds-guidelines), Nielsen-heuristic evaluations (heuristic-evaluation), or cross-screen consistency checks (visual-consistency-check).
Also in 3 projects that use this
arkanSkillreview-animations
Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.
Also in 4 projects that use this
sanmidableSkillfind-animation-opportunities
Also in 3 projects that use this
xerocSkillimprove-animations
Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and self-contained implementation plans for other agents (or cheaper models) to execute. Read-only on source code — it plans improvements, it does not apply them. Use when the user asks to "improve the animations", "audit the motion", "make this app feel better", or wants a roadmap of animation fixes rather than a review of a single diff.
Also in 3 projects that use this
attentiondotnetSkillanimation-vocabulary
Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.
Also in 3 projects that use this
VercelSkillvercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 5
- jakubkrehel/skills★ 7.5k100% same
- compozy/compozy★ 2.8k100% same
- Dimon94/skills★ 107100% same
- AnasX7/skills★ 1100% same
- arkan/skills★ 1100% same
Edited · 11
- boraoztunc/skills★ 38830% same
- julianromli/faiz-skills★ 1621% same
- 0xPasho/agentcut★ 930% same
- iurysza/agent-skills★ 430% same
- sanmidable/skills★ 298% same
- ElyzeSolutions/skills★ 195% same
- frankie323/Skills★ 121% same
- SkotAlexsander/skills★ 121% same
- xeroc/skills★ 116% same
- elpiarthera/vantage-starter★ 016% same
1 more not listed
Wrote their own version · 1
- transitive-bullshit/skills★ 3same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- figma-designSkill
- figma-designSkill
- accessibility-reviewSkill
- animateSkill
- better-accessibilitySkill
- better-colorsSkill
- better-layoutSkill
- better-typographySkill
- breakSkill
- create-design-mdSkill
- design-critiqueSkill
- design-handoffSkill
- design-systemSkill
- emil-design-engSkill
- frontend-designSkill
- research-synthesisSkill
- user-researchSkill
- ux-copySkill
The file
We split this skill into the rules it gives an agent
10 rules. 2 are common, 3 are distinctive, and 5 are very specific to this project.
2
Common
Most of the 12 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
When reviewing, slow the interface down.
- Distinctive: line 12
Keep the project's component library, tokens and density, and match its motion language except where a rule below prescribes an exact …
- Very specific: line 14
Every duration, curve, scale and blur below is a specific value, not a range to approximate.
- Common: line 24
When geometric centering looks off, align optically.
- Common: line 32
Use CSS transitions for interactive state changes, because they can be interrupted mid-animation.
- Very specific: line 40
Use a small fixed translateY rather than full height.
- Very specific: line 60
Use initial={false} on AnimatePresence to keep enter animations off the first render.
- Very specific: line 68
Always name the exact properties: transition-property: scale, opacity.
- Very specific: line 72
Only for transform, opacity and filter, which the GPU can composite.
- Distinctive: line 86
Every animated state change also needs a static cue: color, an icon, or a label.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UI polish
Polish comes from a pile of small details that compound. This skill is the reference for which are worth having and what values they take.
When reviewing, slow the interface down. What feels off at 10% speed is what is subtly wrong at full speed.
Keep the project's component library, tokens and density, and match its motion language except where a rule below prescribes an exact interaction.
Every duration, curve, scale and blur below is a specific value, not a range to approximate. cubic-bezier(0.2, 0, 0, 1) is not cubic-bezier(0.4, 0, 0.2, 1), and 0.96 is not 0.95. Use what is written.
Text wrapping, font rendering, tabular numbers and text spacing belong to better-typography. Hit areas, focus, keyboard support, ARIA and reduced motion belong to better-accessibility. Grouping, section spacing, breakpoints and spatial RTL belong to better-layout.
Concentric border radius
Outer radius = inner radius + padding. Mismatched radii on nested elements is the most common thing that makes an interface feel off. Radius, shadow and outline recipes are in surfaces.md.
Optical over geometric alignment
When geometric centering looks off, align optically. Buttons with icons, play triangles and asymmetric icons all need a manual nudge.
Shadows for elevation, borders for structure
Where a border exists only to create depth, prefer layered transparent box-shadow values. Keep borders that communicate structure or state: dividers, separators and selected or focus states.
Interruptible animations
Use CSS transitions for interactive state changes, because they can be interrupted mid-animation. Reserve keyframes for staged sequences that run once.
Split and stagger enter animations
For an infrequent staged entrance where sequence communicates hierarchy, break the content into semantic chunks and stagger them by ~100ms. Animating one container gets you less for the same cost. Leave high-frequency interactions unstaggered. See enter-exit.md.
Subtle exit animations
Use a small fixed translateY rather than full height. Exits should be softer than enters. Use ease-out for both directions.
Contextual icon animations
Animate icons with opacity, scale and blur rather than toggling visibility. Use exactly these values: scale 0.25 to 1, opacity 0 to 1, blur 4px to 0px.
With a motion library (motion or framer-motion in package.json), match that package's import path, or nearby imports where both exist. Use transition: { type: "spring", duration: 0.3, bounce: 0 }. Bounce is always 0.
Without one, keep both icons in the DOM with one absolutely positioned, and cross-fade with cubic-bezier(0.2, 0, 0, 1). That gives you enter and exit with no dependency. Both recipes are in icon-transitions.md.
Image outlines
Give images a 1px outline at low opacity for consistent depth. Pure black in light mode (oklch(0 0 0 / 0.1)), pure white in dark (oklch(1 0 0 / 0.1)). Never a near-black like slate or zinc and never a tinted neutral. A tinted outline picks up the surface underneath and reads as dirt on the image edge.
Scale on press
A scale(0.96) on click gives a button tactile feedback. Always 0.96; anything below 0.95 feels exaggerated. Add a static prop to switch it off where motion would distract. See recipes for CSS, Tailwind and Motion.
Skip animation on page load
Use initial={false} on AnimatePresence to keep enter animations off the first render. Check that it leaves intentional page entrances intact.
Suppress transitions on theme switch
A theme flip changes color, background, border and shadow on nearly every element at once. Every transition on those properties fires together and the switch smears instead of snapping. Inject *,*::before,*::after{transition:none !important}, force a reflow, then remove it on the next frame. See the recipe.
Transition only what changes
Always name the exact properties: transition-property: scale, opacity. Tailwind's transition-transform covers transform, translate, scale, rotate.
Use will-change sparingly
Only for transform, opacity and filter, which the GPU can composite. Never will-change: all. Add it when you see first-frame stutter, not before. See performance.md.
Match icon stroke to text weight
An icon next to text carries the text's optical weight: 1.5px stroke beside regular (400) text, 2px beside semibold (600). One stroke weight per icon set and one icon library per surface. Sizing and RTL flipping are in icons.md.
One SVG, recolored per state
Icons use currentColor and take hover, selected and disabled states from CSS color and opacity, never from separate assets. Outline is the default variant; fill marks the active state.
Motion restraint
Give high-frequency interactions instant feedback, or a transition of 150ms or less on opacity and color. A custom animation there charges its attention cost on every trigger.
Every animated state change also needs a static cue: color, an icon, or a label. Motion is never the only feedback channel.
Before you finish
| Mistake | Fix |
| Icons look off-center | Nudge optically with padding, or fix the SVG |
| Jarring staged entrance or exit | Stagger infrequent entrances; keep exits subtle |
| Theme toggle crossfades the whole page | Disable transitions for the swap, force a reflow, restore on the next frame |
transition: all on elements | Specify exact properties |
| First-frame animation stutter | Add will-change: transform (sparingly) |
| Hairline icon beside bold text | Match the stroke width to the text weight |
Reporting
Severity. HIGH breaks an interaction, makes motion unusable, or leaves a state change visible only while the animation runs. MEDIUM is a visible inconsistency in surfaces, icons, or motion. LOW is isolated polish.
Verification. Without a browser: every state the component defines, meaning hover, focus, active, loading and empty, plus motion durations and easings read from the code. With one: walk each state, and replay motion at 10% speed in the browser's Animations panel. Report every check you could not run as Not verified.
Format. Group findings under the principle each violates, ordered by severity, one row per root cause listing every location it appears in:
| Severity | Location | Before | After | Why |
Location is path/to/file:line. Why names the principle and the user impact.
End with Block when any HIGH remains, Approve otherwise, leaving the rest in the table as work to do. Never Approve coverage you did not inspect. With nothing to report, state "No actionable UI-polish findings" and report verification.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

