baseline-ui
Skill3 starsChanged 5 months agoMITView on GitHub
Quickly deslop UI code by fixing spacing, hierarchy, typography, and small layout issues. Use when the interface needs a fast cleanup or polish pass.
We split this skill into the rules it gives an agent
41 rules. 17 are common, 0 are distinctive, and 24 are very specific to this project.
17
Common
Most of the 12 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
24
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 23
MUST use Tailwind CSS defaults unless custom values already exist or are explicitly requested
- Very specific: line 24
MUST use motion/react (formerly framer-motion) when JavaScript animation is required
- Very specific: line 25
SHOULD use tw-animate-css for entrance and micro-animations in Tailwind CSS
- Very specific: line 26
MUST use cn utility (clsx + tailwind-merge) for class logic
- Very specific: line 30
MUST use accessible component primitives for anything with keyboard or focus behavior (Base UI, React Aria, Radix)
- Common: line 31
MUST use the project’s existing component primitives first
- Common: line 32
NEVER mix primitive systems within the same interaction surface
- Very specific: line 33
SHOULD prefer Base UI for new primitives if compatible with the stack
- Very specific: line 34
MUST add an aria-label to icon-only buttons
- Common: line 35
NEVER rebuild keyboard or focus behavior by hand unless explicitly requested
- Very specific: line 39
MUST use an AlertDialog for destructive or irreversible actions
- Common: line 40
SHOULD use structural skeletons for loading states
- Very specific: line 41
NEVER use h-screen, use h-dvh
- Very specific: line 42
MUST respect safe-area-inset for fixed elements
- Common: line 43
MUST show errors next to where the action happens
- Very specific: line 44
NEVER block paste in input or textarea elements
- Common: line 48
NEVER add animation unless it is explicitly requested
- Very specific: line 49
MUST animate only compositor props (transform, opacity)
- Very specific: line 50
NEVER animate layout properties (width, height, top, left, margin, padding)
- Very specific: line 51
SHOULD avoid animating paint properties (background, color) except for small, local UI (text, icons)
- Very specific: line 52
SHOULD use ease-out on entrance
- Very specific: line 53
NEVER exceed 200ms for interaction feedback
- Common: line 54
MUST pause looping animations when off-screen
- Common: line 56
NEVER introduce custom easing curves unless explicitly requested
- Common: line 57
SHOULD avoid animating large images or full-screen surfaces
- Very specific: line 61
MUST use text-balance for headings and text-pretty for body/paragraphs
- Very specific: line 62
MUST use tabular-nums for data
- Very specific: line 63
SHOULD use truncate or line-clamp for dense UI
- Very specific: line 64
NEVER modify letter-spacing (tracking-*) unless explicitly requested
- Very specific: line 68
MUST use a fixed z-index scale (no arbitrary z-*)
- Very specific: line 69
SHOULD use size-* for square elements instead of w-* + h-*
- Very specific: line 73
NEVER animate large blur() or backdrop-filter surfaces
- Very specific: line 74
NEVER apply will-change outside an active animation
- Very specific: line 75
NEVER use useEffect for anything that can be expressed as render logic
- Common: line 79
NEVER use gradients unless explicitly requested
- Common: line 80
NEVER use purple or multicolor gradients
- Common: line 81
NEVER use glow effects as primary affordances
- Common: line 82
SHOULD use Tailwind CSS default shadow scale unless explicitly requested
- Common: line 83
MUST give empty states one clear next action
- Common: line 84
SHOULD limit accent color usage to one per view
- Common: line 85
SHOULD use existing theme or Tailwind CSS color tokens before introducing new ones
“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
Baseline UI
Enforces an opinionated UI baseline to prevent AI-generated interface slop.
How to use
/baseline-uiApply these constraints to any UI work in this conversation./baseline-ui <file>Review the file against all constraints below and output:- violations (quote the exact line/snippet)
- why it matters (1 short sentence)
- a concrete fix (code-level suggestion)
Stack
- MUST use Tailwind CSS defaults unless custom values already exist or are explicitly requested
- MUST use
motion/react(formerlyframer-motion) when JavaScript animation is required - SHOULD use
tw-animate-cssfor entrance and micro-animations in Tailwind CSS - MUST use
cnutility (clsx+tailwind-merge) for class logic
Components
- MUST use accessible component primitives for anything with keyboard or focus behavior (
Base UI,React Aria,Radix) - MUST use the project’s existing component primitives first
- NEVER mix primitive systems within the same interaction surface
- SHOULD prefer
Base UIfor new primitives if compatible with the stack - MUST add an
aria-labelto icon-only buttons - NEVER rebuild keyboard or focus behavior by hand unless explicitly requested
Interaction
- MUST use an
AlertDialogfor destructive or irreversible actions - SHOULD use structural skeletons for loading states
- NEVER use
h-screen, useh-dvh - MUST respect
safe-area-insetfor fixed elements - MUST show errors next to where the action happens
- NEVER block paste in
inputortextareaelements
Animation
- NEVER add animation unless it is explicitly requested
- MUST animate only compositor props (
transform,opacity) - NEVER animate layout properties (
width,height,top,left,margin,padding) - SHOULD avoid animating paint properties (
background,color) except for small, local UI (text, icons) - SHOULD use
ease-outon entrance - NEVER exceed
200msfor interaction feedback - MUST pause looping animations when off-screen
- SHOULD respect
prefers-reduced-motion - NEVER introduce custom easing curves unless explicitly requested
- SHOULD avoid animating large images or full-screen surfaces
Typography
- MUST use
text-balancefor headings andtext-prettyfor body/paragraphs - MUST use
tabular-numsfor data - SHOULD use
truncateorline-clampfor dense UI - NEVER modify
letter-spacing(tracking-*) unless explicitly requested
Layout
- MUST use a fixed
z-indexscale (no arbitraryz-*) - SHOULD use
size-*for square elements instead ofw-*+h-*
Performance
- NEVER animate large
blur()orbackdrop-filtersurfaces - NEVER apply
will-changeoutside an active animation - NEVER use
useEffectfor anything that can be expressed as render logic
Design
- NEVER use gradients unless explicitly requested
- NEVER use purple or multicolor gradients
- NEVER use glow effects as primary affordances
- SHOULD use Tailwind CSS default shadow scale unless explicitly requested
- MUST give empty states one clear next action
- SHOULD limit accent color usage to one per view
- SHOULD use existing theme or Tailwind CSS color tokens before introducing new ones
Trending
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Other versions15 projects use a version of this.
Word for word · 3
- ibelick/ui-skills★ 10k100% same
- julianromli/faiz-skills★ 16100% same
- dvaJi/argos★ 3100% same
Edited · 10
- vercel-labs/open-agents★ 5.8k92% same
- agentset-ai/agentset★ 2.1k76% same
- kapishdima/soundcn★ 86498% same
- ninehills/skills★ 28092% same
- master5d/claude-design-skills★ 2692% same
- noartem/skills★ 1390% same
- the-hyve-company/design-factory-app★ 492% same
- sanmidable/skills★ 295% same
- BuFi007/open-agents★ 192% same
- GalvinGao/skills★ 192% same
Wrote their own version · 2
- jscraik/Agent-Skills★ 9same name
- hsynozdamar-byte/claude-skills-edited★ 4same 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.
Used alongsideProjects with it also use create-design-md, better-interface and 5 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.
ItamarZand88Skillcreate-design-md
Create a new DESIGN.md file for any website, app, or custom design system. Use when the user wants to document a design system in DESIGN.md format, extract design tokens from a URL or existing CSS, create a custom design system from scratch, author a DESIGN.md for their own project, or contribute a new design to the awesome-design-md collection. Also trigger when user mentions "design system documentation", wants to formalize their app's visual language, or asks to create or generate a DESIGN.md file.
Also in 4 projects that use this
AnasX7Skillbetter-interface
Combines all of the `better-*` skills into a single review across accessibility, layout, writing, typography, color and UI polish.
Also in 3 projects that use this
AnasX7Skillbetter-accessibility
Helps your project comply with accessibility standards and best practices.
Also in 3 projects that use this
- +4 more from AnasX7
In this repository5 other files it gives its agents.
- fixing-accessibilitySkill
- fixing-metadataSkill
- fixing-motion-performanceSkill
- improve-uiSkill
- ui-skills-rootSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

