ui-skills by phrazzld/claude-config
npx skills add https://github.com/phrazzld/claude-config --skill ui-skills调用时,应用这些约定俗成的约束以构建更好的界面。
/ui-skills
将这些约束应用于本次对话中的任何 UI 工作。
/ui-skills <文件>
根据以下所有约束审查文件并输出:
motion/react(原 framer-motion)tw-animate-css 来处理入场动画和微动画cn 工具函数( + )来处理类名逻辑广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clsxtailwind-mergeBase UI、React Aria、Radix)Base UI 作为新的基元,如果它与技术栈兼容aria-labelAlertDialogh-screen,请使用 h-dvhsafe-area-insetinput 或 textarea 元素中阻止粘贴操作transform、opacity)进行动画处理width、height、top、left、margin、padding)进行动画处理background、color)进行动画处理,除非是小型、局部的 UI(文本、图标)ease-out 缓动函数200msprefers-reduced-motion 用户偏好设置text-balance,对正文/段落使用 text-prettytabular-numstruncate 或 line-clampletter-spacing(tracking-*),除非明确要求z-index 层级(不使用任意的 z-*)size-*,而不是 w-* + h-*blur() 或 backdrop-filter 界面进行动画处理will-changeuseEffect每周安装量
84
仓库
GitHub 星标
7
首次出现
2026 年 1 月 26 日
安全审计
安装于
codex79
opencode79
gemini-cli78
cursor78
cline77
github-copilot77
When invoked, apply these opinionated constraints for building better interfaces.
/ui-skills
Apply these constraints to any UI work in this conversation.
/ui-skills <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
84
Repository
GitHub Stars
7
First Seen
Jan 26, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
codex79
opencode79
gemini-cli78
cursor78
cline77
github-copilot77
UI组件模式实战指南:构建可复用React组件库与设计系统
10,700 周安装
变异测试指南:100%杀死率确保代码质量,支持Rust/TypeScript/Python/Elixir
83 周安装
Bun验证器:Bun 1.3+ Monorepo配置检查与常见问题修复工具
83 周安装
表格筛选器设计指南:交互布局与组件实现 | 前端开发与用户体验
83 周安装
Windmill Svelte 前端开发指南:组件库、MCP 服务器与最佳实践
83 周安装
Flutter开发模式与最佳实践指南:Widget、测试、性能、安全、动画全攻略
83 周安装
Next.js Server Actions 服务器操作完整指南:定义、表单处理与状态管理
83 周安装
200ms for interaction feedbackprefers-reduced-motion