ui-design
Skill0 starsChanged 2 months agoMITView on GitHub
Visual and interaction design standards for this app — hierarchy, spacing, colour, states, accessibility, and motion. Use when designing or reviewing any screen, layout, or component's appearance.
59 other projects use a version of this.
Adopted by
Most recently taken up by
- leek/agent-skillstheir own version, first seen Nov 8, 2026
- TencentCloudBase/skillstheir own version, first seen Nov 6, 2026
- Freakling/Director-Driven-Developmenttheir own version, first seen Nov 1, 2026
- pumpkit-io/sdlctheir own version, first seen Nov 1, 2026
- skdfndh/better-skill-managertheir own version, first seen Nov 1, 2026
- RHKfullstack/CLAUDE-SKILLStheir own version, first seen Nov 1, 2026
Used with
Projects with it also use harness-design, graphic-design and 9 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.
VictoriakaeySkillharness-design
Use when designing or improving the action space, observation format, tool boundaries, and evaluation signals of an LLM agent. Covers the five layers of harness design: what tools the agent has, what it sees after acting, how each tool is scoped, how behavior is evaluated, and how to iterate when the agent misbehaves. Prevents the most common harness failures — agents that pick wrong tools, ignore critical information, or loop without progress.
Also in 3 projects that use this
travisjneumanSkillgraphic-design
Professional graphic design principles for digital and print media. Use when creating visual designs, choosing color palettes, typography, layouts, or providing design feedback.
Also in 3 projects that use this
soilmassSkilltypography
Typography and kinetic text animations including character reveals, typewriter effects, scramble/decode, wave motion, and animated gradients. Use when creating text reveals, headline animations, number counters, or any text-based motion effects.
Also in 3 projects that use this
MicrosoftSkilltypescript
TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.
Also in 7 projects that use this
OpenAISkillauth
Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in/sign-up flows, and Marketplace provisioning. Use when implementing user authentication.
Also in 3 projects that use this
VercelSkillreact
React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.
Also in 4 projects that use this
Other versions59 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 59
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- yunshu0909/yunshu_skillshub★ 760same name
- Mindrally/skills★ 275same name
- AnastasiyaW/claude-code-config★ 214same name
- AnastasiyaW/codex-claude-code-config★ 214same name
- mblode/agent-skills★ 189same name
- JayZeeDesign/awesome-claude-skills★ 169same name
- frappe/skills★ 162same name
- TencentCloudBase/skills★ 80same name
49 more not listed
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 repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-routeSkill
- design-systemSkill
- react-patternsSkill
- testingSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Every screen must answer, at a glance: what is this, what matters most, what can I do here.
- Distinctive: line 26
Use the scale, never arbitrary values.
- Distinctive: line 53
Every interactive element is reachable and operable by keyboard, in a sensible tab order, with a visible focus ring.
- Distinctive: line 57
Never encode meaning in colour alone — pair it with an icon, a label, or text.
- Distinctive: line 77
Never surface a raw exception or a bare "Something went wrong".
- Distinctive: line 94
No horizontal page scroll at any width.
- Distinctive: line 103
Every card carrying an icon, a badge, and a chevron whether or not they mean anything.
“Common” is measured: kept by at least 6 in 10 of the 50 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 design standards
Craft judgement for this app. The design-system skill covers which
component and which token; this covers whether the result is actually good.
Hierarchy first
Every screen must answer, at a glance: what is this, what matters most, what can I do here. Establish that with size, weight and spacing — in that order — before reaching for colour.
- One
h1per screen. Don't skip heading levels. - One primary action per view: exactly one
<Button>on its default solid variant. Everything else isoutline,subtleorghost. Two competing primaries means neither reads as primary. - Group related things with proximity, not with borders. Reach for whitespace before a divider, and a divider before a box.
Spacing
Use the scale, never arbitrary values. Spacing carries meaning: elements that belong together sit closer than elements that don't.
- Within a component:
<Stack gap={2}> - Between related blocks:
<Stack gap={4}> - Between sections:
<Stack gap={8}> - Be consistent — the same relationship gets the same gap everywhere.
- Vertical rhythm beats horizontal cleverness; prefer a single column that reads top-to-bottom over a dense grid.
Colour
- Colour is the last tool for hierarchy, never the first, and never the only one — around 1 in 12 men has some colour-vision deficiency.
- Reserve the accent for interactive things and the single primary action. An accent used decoratively stops signalling anything.
- Semantic tones mean what they say:
dangerfor destructive and errors,warningfor reversible risk,successfor confirmation,infofor neutral context. Never pick a tone because you liked the colour. - Body text uses
tone="muted"; reserve the defaultfgfor headings and emphasis. Never usetone="subtle"for anything the user must read.
Contrast and accessibility
Non-negotiable, and cheap to get right:
- Body text ≥ 4.5:1 contrast; large text and UI boundaries ≥ 3:1.
- Every interactive element is reachable and operable by keyboard, in a sensible tab order, with a visible focus ring. Never remove the focus outline without replacing it with something clearer.
- Icon-only controls always carry an
aria-label. - Never encode meaning in colour alone — pair it with an icon, a label, or text.
- Respect
prefers-reduced-motion. - Touch targets ≥ 44×44px.
Lint catches a slice of this via jsx-a11y, and Base UI handles focus
management and ARIA wiring inside the primitives. Passing lint is the floor,
not the goal.
Design every state
An interface is not finished when the happy path renders. For each view, handle:
- Empty — first run, or a filter matching nothing. Say what this is and
give the action that fills it. Use
<EmptyState>, which takes anactionprop for exactly this. Never show a bare blank. - Loading —
<Skeleton>matching the real content's shape for initial loads; a spinner only for short indeterminate waits. Never collapse layout height while loading; it causes content to jump. - Error — say what failed, in plain language, and offer the next step. Never surface a raw exception or a bare "Something went wrong".
- Partial — some data present, some missing.
- Success — confirm that an action worked; don't leave the user guessing.
- Disabled — explain why via tooltip or helper text. A disabled control with no explanation is a dead end.
Motion
- Fast and subtle: 150–200ms for most transitions, ease-out.
- Animate
transformandopacity. Avoid animating layout properties. - Motion should explain a change (where something came from, what became what), never decorate. If it doesn't aid comprehension, cut it.
Responsive
- Design the narrow layout first; it forces real prioritisation.
- Let content reflow and stack rather than shrinking text.
- No horizontal page scroll at any width. Wide tables and diagrams get their own scroll container.
Avoid these tells
Patterns that make an interface look machine-generated:
- Emoji as UI icons — use
lucide-react. - Gratuitous gradients, heavy drop shadows, and glow effects.
- Every card carrying an icon, a badge, and a chevron whether or not they mean anything.
- Filler copy like "Welcome to your dashboard!" or "Manage your items here" — say something specific or say nothing.
- Uniform
gapeverywhere, which flattens hierarchy into a grey mush. - Centre-aligned body text, or paragraphs wider than ~75 characters.
- Decorative icons next to every heading.
Self-review before you finish
- Does the screen read correctly in both light and dark mode?
- Can I complete the main task using only the keyboard?
- Is the primary action unmistakable?
- What does this look like with no data, with one item, and with 500 items?
- What does it look like at 375px wide?
- Did I introduce a raw colour or pixel value, or a Tailwind palette class
like
bg-slate-800? (If so, replace it with a semantic token.)
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.

