用于与智能体构建更好界面的固定约束规则。
当被调用时,应用这些固定的约束规则来构建更好的界面。
如果使用文件路径参数调用(例如:/ui-skills src/components/Button.tsx):
如果不带参数调用:
motion/react(以前称为 framer-motion)tw-animate-css 来实现入场和微动画cn 工具(clsx + tailwind-merge)来处理类名逻辑Base UIaria-labelAlertDialogToolTip 组件包裹并进行描述h-screen,应使用 h-dvhsafe-area-insetinput 或 textarea 元素中粘贴transform、opacity)进行动画width、height、top、left、margin、padding)进行动画background、color)进行动画,除非是小型局部 UI(文本、图标)ease-out200msprefers-reduced-motiontext-balance,对正文/段落使用 text-prettytabular-numstruncate 或 line-clampletter-spacing(tracking-)z-index 刻度(不使用任意的 z-*)size-*,而不是 w-* + h-*blur() 或 backdrop-filter 界面进行动画will-changeuseEffect