by ibelick
AI 生成的界面通常缺乏一致性和可访问性。此技能为 Tailwind CSS、无障碍组件、性能最佳实践和设计约束强制执行权威性的 UI 标准。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 baseline-ui 技能" 开始使用
=== baseline-ui 技能 === 作者: ibelick 描述: AI 生成的界面通常缺乏一致性和可访问性。此技能为 Tailwind CSS、无障碍组件、性能最佳实践和设计约束强制执行权威性的 UI 标准。 使用方法: 1. 调用技能: "使用 baseline-ui 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 baseline-ui 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
productivity
safe
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 entrance200ms for interaction feedbackprefers-reduced-motiontext-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 logicView Count
0
Download Count
0
Favorite Count
0
Quality Score
69