better-design
Skill1 starsChanged 39 days agoMITView on GitHub
Design, motion and interaction rules for building and reviewing UI on the web (React, Next.js, Tailwind) and in React Native / Expo. Use for any frontend work, even when not asked explicitly: new screens, components, forms, animations, surfaces, typography, color, polish. Also use when the user invokes /better-design, or says a UI feels off, generic or not polished.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- itsryanarmani/skillstheir own version, first seen Nov 8, 2026
- pooriaarab/skillstheir own version, first seen Nov 1, 2026
- Moddingflow/better-designtheir own version, first seen Sep 26, 2026
- marvkr/better-designtheir own version, first seen May 14, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- marvkr/better-design★ 612same name
- Moddingflow/better-design★ 47same name
- itsryanarmani/skills★ 1same name
- pooriaarab/skills★ 1same 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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Never present options as a menu.
- Distinctive: line 20
Before writing UI code, read the references the task touches:
- Distinctive: line 36
When a browser is available, walk every state you built (hover, active, loading, empty, error) and replay motion at 10% speed in the …
- Very specific: line 40
Read references/audit.md. Invoked as /better-design audit, run the full audit.
“Common” is measured: kept by at least 6 in 10 of the 4 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
Better Design
This skill holds the small details that compound into an interface that feels right: motion, interaction, surfaces, type, color, layout and copy. It builds UI to that bar, and in audit mode it reviews existing UI against it.
Exact values
The values in the references are exact, not ranges to approximate. cubic-bezier(0.23, 1, 0.32, 1) is not cubic-bezier(0.4, 0, 0.2, 1). Optical nudges and the concentric padding cutoff are the exceptions: starting points, judged by eye.
Extend the codebase's tokens, components and styling system, don't fork them. Express every change in the project's system: Tailwind in a Tailwind project, plain CSS in a CSS project. Never introduce a second styling system just to apply a polish fix. A deliberate and consistent project convention is a preference, not a finding. The same detail done two ways within the project is a finding.
Never present options as a menu. Make the call, state the reasoning in one line, write the code.
Build
Before writing UI code, read the references the task touches:
| Task | Read |
| Anything that animates or transitions | references/motion.md, then references/recipes.md for the component |
| Motion that stutters, or runs while the page is busy | references/performance.md |
| Buttons, forms, overlays, lists, gestures, loading and empty states | references/interactions.md |
| Radius, shadows, borders, images, icons | references/surfaces-and-icons.md |
| Text | references/typography.md |
| Colors, tokens, dark mode, contrast | references/color.md |
| Grouping, spacing, alignment, responsive structure | references/layout.md |
| Labels, errors, empty states, confirmations | references/copy.md |
| A web app used on a phone | references/mobile-web.md |
| React Native / Expo | references/native.md (the gate in motion.md still applies) |
| The task needs a component (toast, dropdown, command menu, chart, drag and drop…) | references/libraries.md before building one by hand |
When a browser is available, walk every state you built (hover, active, loading, empty, error) and replay motion at 10% speed in the Animations panel. What feels off at 10% speed is what's subtly wrong at full speed.
Audit
Read references/audit.md. Invoked as /better-design audit, run the full audit. Called from another skill (such as /ship) or run on your own after building, run the light pass. When asked to stress-test or "try the worst case", read references/stress-test.md.
Never ship
| Never | Instead |
| Animation on a keyboard shortcut or 100+/day action | No animation |
transition: all | Name the exact properties |
transform: scale(0) entrance | scale(0.95) + opacity: 0 |
ease-in on a UI element | ease-out or a strong custom curve |
Built-in ease-out on a deliberate animation | cubic-bezier(0.23, 1, 0.32, 1) |
| UI duration over 300ms with no reason | 150-250ms |
transform-origin: center on a trigger-anchored popover | var(--transform-origin) (modals exempt) |
| Keyframes on toasts, toggles, rapidly-triggered elements | CSS transitions |
Animating width/height/margin/padding/top/left | transform / opacity |
Ungated :hover motion | @media (hover: hover) and (pointer: fine) |
Missing prefers-reduced-motion | Gentler variant, not zero |
| A state change carried by motion alone | Leave a color, icon or label behind |
| Padded parent and child with the same radius | Add the padding to the outer radius |
| A border that exists only to create depth | Layered transparent box-shadow |
| Proportional digits on changing numbers | tabular-nums |
Fixed width or height on a box holding text | max-width, min-height |
| An error that names no way to recover | Say what failed and the next step |
Sources and licenses: NOTICE.md.
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.

