You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Color Rules- Primary button: rational-500 (#3B82F6)
- Agent bubble background: gray-100 (#F5F5F5)
- User bubble background: rational-500 (#3B82F6)
- Thinking indicator: sentient-500 (#D4A012)
- Error state: error-500 (#EF4444)
## Layout Rules- Agent message: left-aligned, with avatar
- User message: right-aligned, no avatar
- Max bubble width: 70%
- Avatar size: 40px (md)
## Typography Rules- Agent name: font-medium, gray-900
- Message text: text-sm, leading-relaxed
- System message: text-sm, gray-500, no bubble
2. 完整代码模板
不是零散 API,是"照抄就对"的完整页面:
// templates/agent-chat-page.tsx// AI 可以直接复制这个模板,然后根据需求调整
3. 约束清单(Do's and Don'ts)
AI 读到这些就不会跑偏:
## ✅ Do's- Use white background (#FFFFFF)
- Use rational-500 for primary actions
- Use sentient-500 for thinking/processing states
- Use gray-100 for agent message bubbles
- Show avatar for agent messages, hide for user messages
- Use 16px border-radius for bubbles
## ❌ Don'ts- Never use purple (no AI purple cliché)
- Never use dark/black background
- Never use gradients for backgrounds
- Don't show avatar for user's own messages
- Don't use different colors for different agents (use avatar to distinguish)
核心洞察
Lucid UI 的真正价值不是"给人用的组件库",而是 "给 AI 读的设计规范"。
用户场景
目标用户
核心定位转变
MVP 定义
MVP = AI 读取后能正确应用的设计系统
1. AI-Readable 规范文档
结构化的规则,不是散文:
2. 完整代码模板
不是零散 API,是"照抄就对"的完整页面:
3. 约束清单(Do's and Don'ts)
AI 读到这些就不会跑偏:
成功标准
护城河
代码谁都能写,但"让 AI 遵循的设计规范"是真正的壁垒。
执行计划
docs/ai-guide.md- AI 专用的结构化规范templates/目录 - 完整页面模板相关 Issue