agentleFS
ibelickibelick/ui-skills/skills/baseline-ui/SKILL.md

baseline-ui

Skill9.4k starsChanged 4 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.

10 other projects use a version of this, 8 of them edited.

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 5 mentionsFeb 2026: 9 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 4 mentionsJul 2026: 9 mentionsAug 2026: 2 mentionsSep 2026: 3 mentionsOct 2026: 4 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the ibelick/ui-skills repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about ibelick/ui-skills

The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 36

Talked about on GitHub, Bluesky and Hacker News (36 times).

On GitHub · 29

24 more on GitHub

On Bluesky · 6

1 more on Bluesky

On Hacker News · 1

Used with

Projects with it also use make-interfaces-feel-better, setup-matt-pocock-skills 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.
  • DinanathDashSkill

    make-interfaces-feel-better

    Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, typography, micro-interactions, enter/exit animations, or any visual detail work. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, border radius, optical alignment, font smoothing, tabular numbers, image outlines, box shadows.

    Also in 3 projects that use this

  • AWSSkill

    setup-matt-pocock-skills

    Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

    Also in 3 projects that use this

  • Google CloudSkill

    triage

    Gather context on a change or bug and plan the implementation.

    Also in 4 projects that use this

  • AWSSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 4 projects that use this

  • MicrosoftSkill

    grill-with-docs

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

    Also in 3 projects that use this

  • +2 more from aws

The file

Show its rules and text

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 9 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
  1. Common:

    MUST use Tailwind CSS defaults unless custom values already exist or are explicitly requested

    line 23
  2. Very specific:

    MUST use motion/react (formerly framer-motion) when JavaScript animation is required

    line 24
  3. Very specific:

    SHOULD use tw-animate-css for entrance and micro-animations in Tailwind CSS

    line 25
  4. Very specific:

    MUST use cn utility (clsx + tailwind-merge) for class logic

    line 26
  5. Very specific:

    MUST use accessible component primitives for anything with keyboard or focus behavior (Base UI, React Aria, Radix)

    line 30
  6. Common:

    MUST use the project’s existing component primitives first

    line 31
  7. Common:

    NEVER mix primitive systems within the same interaction surface

    line 32
  8. Very specific:

    SHOULD prefer Base UI for new primitives if compatible with the stack

    line 33
  9. Very specific:

    MUST add an aria-label to icon-only buttons

    line 34
  10. Common:

    NEVER rebuild keyboard or focus behavior by hand unless explicitly requested

    line 35
  11. Very specific:

    MUST use an AlertDialog for destructive or irreversible actions

    line 39
  12. Common:

    SHOULD use structural skeletons for loading states

    line 40
  13. Very specific:

    NEVER use h-screen, use h-dvh

    line 41
  14. Very specific:

    MUST respect safe-area-inset for fixed elements

    line 42
  15. Common:

    MUST show errors next to where the action happens

    line 43
  16. Very specific:

    NEVER block paste in input or textarea elements

    line 44
  17. Common:

    NEVER add animation unless it is explicitly requested

    line 48
  18. Very specific:

    MUST animate only compositor props (transform, opacity)

    line 49
  19. Very specific:

    NEVER animate layout properties (width, height, top, left, margin, padding)

    line 50
  20. Very specific:

    SHOULD avoid animating paint properties (background, color) except for small, local UI (text, icons)

    line 51
  21. Very specific:

    SHOULD use ease-out on entrance

    line 52
  22. Very specific:

    NEVER exceed 200ms for interaction feedback

    line 53
  23. Common:

    MUST pause looping animations when off-screen

    line 54
  24. Common:

    NEVER introduce custom easing curves unless explicitly requested

    line 56
  25. Common:

    SHOULD avoid animating large images or full-screen surfaces

    line 57
  26. Very specific:

    MUST use text-balance for headings and text-pretty for body/paragraphs

    line 61
  27. Very specific:

    MUST use tabular-nums for data

    line 62
  28. Very specific:

    SHOULD use truncate or line-clamp for dense UI

    line 63
  29. Very specific:

    NEVER modify letter-spacing (tracking-*) unless explicitly requested

    line 64
  30. Very specific:

    MUST use a fixed z-index scale (no arbitrary z-*)

    line 68
  31. Very specific:

    SHOULD use size-* for square elements instead of w-* + h-*

    line 69
  32. Very specific:

    NEVER animate large blur() or backdrop-filter surfaces

    line 73
  33. Very specific:

    NEVER apply will-change outside an active animation

    line 74
  34. Very specific:

    NEVER use useEffect for anything that can be expressed as render logic

    line 75
  35. Common:

    NEVER use gradients unless explicitly requested

    line 79
  36. Common:

    NEVER use purple or multicolor gradients

    line 80
  37. Common:

    NEVER use glow effects as primary affordances

    line 81
  38. Common:

    SHOULD use Tailwind CSS default shadow scale unless explicitly requested

    line 82
  39. Common:

    MUST give empty states one clear next action

    line 83
  40. Common:

    SHOULD limit accent color usage to one per view

    line 84
  41. Common:

    SHOULD use existing theme or Tailwind CSS color tokens before introducing new ones

    line 85

“Common” is measured: kept by at least 6 in 10 of the 9 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Baseline UI

Enforces an opinionated UI baseline to prevent AI-generated interface slop.

How to use

  • /baseline-ui Apply 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 (formerly framer-motion) when JavaScript animation is required
  • SHOULD use tw-animate-css for entrance and micro-animations in Tailwind CSS
  • MUST use cn utility (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 UI for new primitives if compatible with the stack
  • MUST add an aria-label to icon-only buttons
  • NEVER rebuild keyboard or focus behavior by hand unless explicitly requested

Interaction

  • MUST use an AlertDialog for destructive or irreversible actions
  • SHOULD use structural skeletons for loading states
  • NEVER use h-screen, use h-dvh
  • MUST respect safe-area-inset for fixed elements
  • MUST show errors next to where the action happens
  • NEVER block paste in input or textarea elements

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-out on entrance
  • NEVER exceed 200ms for 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-balance for headings and text-pretty for body/paragraphs
  • MUST use tabular-nums for data
  • SHOULD use truncate or line-clamp for dense UI
  • NEVER modify letter-spacing (tracking-*) unless explicitly requested

Layout

  • MUST use a fixed z-index scale (no arbitrary z-*)
  • SHOULD use size-* for square elements instead of w-* + h-*

Performance

  • NEVER animate large blur() or backdrop-filter surfaces
  • NEVER apply will-change outside an active animation
  • NEVER use useEffect for 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.