baseline-ui by ibelick/ui-skills
npx skills add https://github.com/ibelick/ui-skills --skill baseline-ui强制执行一套规范的 UI 基准,以防止 AI 生成的界面出现质量低劣的情况。
/baseline-ui 在当前对话中,为任何 UI 工作应用这些约束。/baseline-ui <file> 根据以下所有约束条件审查文件,并输出:
motion/react(原 framer-motion)。tw-animate-css。cn 工具函数( + )来处理类名逻辑。广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clsxtailwind-mergeBase UI、React Aria、Radix)。Base UI。aria-label。AlertDialog。h-screen,应使用 h-dvh。safe-area-inset。input 或 textarea 元素中阻止粘贴操作。transform、opacity)进行动画处理。width、height、top、left、margin、padding)进行动画处理。background、color)进行动画处理,除非是小型、局部的 UI 元素(如文本、图标)。ease-out 缓动函数。200ms。prefers-reduced-motion 用户偏好设置。text-balance;对于正文/段落,必须 使用 text-pretty。tabular-nums。truncate 或 line-clamp。letter-spacing(tracking-*),除非明确要求。z-index 层级(禁止使用任意的 z-*)。size-* 而不是 w-* + h-*。blur() 或 backdrop-filter 的表面进行动画处理。will-change。useEffect 用于任何可以通过渲染逻辑表达的功能。每周安装量
5.3K
代码仓库
GitHub 星标数
1.1K
首次出现
2026年1月22日
安全审计
安装于
opencode3.8K
codex3.8K
gemini-cli3.7K
github-copilot3.5K
claude-code3.4K
cursor3.4K
Enforces an opinionated UI baseline to prevent AI-generated interface slop.
/baseline-ui Apply these constraints to any UI work in this conversation.
/baseline-ui <file> Review the file against all constraints below and output:
motion/react (formerly framer-motion) when JavaScript animation is requiredtw-animate-css for entrance and micro-animations in Tailwind CSScn utility (clsx + tailwind-merge) for class logicBase UI, React Aria, Radix)Base UI for new primitives if compatible with the stackaria-label to icon-only buttonsAlertDialog for destructive or irreversible actionsh-screen, use h-dvhsafe-area-inset for fixed elementsinput or textarea elementstransform, opacity)width, height, top, left, margin, padding)background, color) except for small, local UI (text, icons)ease-out on entrancetext-balance for headings and text-pretty for body/paragraphstabular-nums for datatruncate or line-clamp for dense UIletter-spacing (tracking-*) unless explicitly requestedz-index scale (no arbitrary z-*)size-* for square elements instead of w-* + h-*blur() or backdrop-filter surfaceswill-change outside an active animationuseEffect for anything that can be expressed as render logicWeekly Installs
5.3K
Repository
GitHub Stars
1.1K
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode3.8K
codex3.8K
gemini-cli3.7K
github-copilot3.5K
claude-code3.4K
cursor3.4K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
200ms for interaction feedbackprefers-reduced-motion