适用于已有网站 / 页面原型,希望进一步提升整体 UI 质量、视觉完成度与高级动效体验的项目。
主要提升方向:
- ✨ 视觉高级感
- 🔤 排版与字体
- 🎨 色彩与视觉层级
- 🧩 UI 细节与组件质量
- 🎬 动效与微交互
- 🌀 高级滚动动画
- 📐 布局与设计规范
- 🌐 浏览器真实环境验收
1. Anthropic Frontend Design
作用
负责整体视觉方向与审美质量,重点改善:
- 整体视觉风格
- Typography
- 页面布局
- 信息层级
- UI 审美
- 减少模板化设计
- 避免明显的「AI 味 UI」
安装
npx skills add anthropics/skills --skill frontend-design -y
2. UI UX Pro Max
作用
提供较完整的 UI / UX 设计系统能力,重点包括:
- Design System
- 配色体系
- 字体组合
- 页面布局
- UX 规范
- 设计规范统一
- Responsive Design
- Accessibility
全平台安装
npx uipro-cli init --ai all
安装到指定 Agent
npx uipro-cli init --ai <platform>
例如:
npx uipro-cli init --ai codex
npx uipro-cli init --ai claude
npx uipro-cli init --ai cursor
3. shadcn/ui Skill
作用
让 Agent 更规范地使用 shadcn/ui,包括:
- UI 组件
- Design Token
- Theme
- 组件组合
- 组件规范
- 设计系统落地
- 可维护的组件架构
安装 Skill
npx skills add shadcn/ui -y
初始化 shadcn/ui
如果当前项目还没有初始化 shadcn/ui:
npx shadcn@latest init
4. Impeccable
作用
专门用于对已有页面进行视觉 Critique、Polish 和高级感提升。
比较适合:
页面已经可以正常使用,但视觉完成度仍然不够高。
重点解决:
- 页面缺乏视觉张力
- Typography 不够高级
- Layout 比较普通
- 留白不合理
- 页面缺乏重点
- 视觉层级不够明显
- AI 模板感过强
- 页面细节完成度不足
安装
npx impeccable skills install
推荐重点使用
/impeccable critique
/impeccable bolder
/impeccable typeset
/impeccable layout
/impeccable polish
推荐理解:
| Command | 主要用途 |
|---|---|
critique |
找出当前页面的视觉问题 |
bolder |
提升视觉张力与设计感 |
typeset |
优化 Typography 与文字排版 |
layout |
调整页面布局与空间关系 |
polish |
最后一轮视觉细节打磨 |
更新
npx impeccable skills update
检查新版本
npx impeccable skills check
5. Emil Kowalski Design Skills
作用
负责 UI 的「最后一公里」设计打磨。
尤其适合改善:
- Animation
- Easing
- Shadow
- Border
- Hover
- Transition
- 微交互
- Motion Design
- UI 细节
- 交互反馈
- 动效节奏
安装整套 Skills
npx skills@latest add emilkowalski/skills
推荐重点使用
emil-design-eng
animate
improve-animations
review-animations
其中最重要的是:
emil-design-eng
它更偏向:
Design Engineering
+
Motion Taste
+
Interaction Polish
适合在静态视觉已经基本完成之后,对交互质感进行进一步升级。
6. GSAP
定位
GSAP 不属于普通的 UI Design Skill。
它更准确的定位是:
Motion Engineering / 高级动效执行层
在整个 UI 工作流中:
emil-design-eng
↓
定义 Motion Taste
↓
GSAP
↓
实现 Motion Engineering
也就是说:
Emil → 决定动画应该是什么感觉
GSAP → 真正把高级动画实现出来
GSAP 应该在哪个阶段使用
GSAP 不应该在页面刚开始设计时就大量加入。
推荐顺序:
Layout
↓
Typography
↓
Color
↓
Components
↓
Visual Polish
↓
Motion Taste
↓
GSAP
也就是说:
静态视觉基本定稿后,再进入 GSAP 阶段。
不要通过动画掩盖:
- 糟糕的 Layout
- 不合理的留白
- 错误的 Typography
- 不统一的 Design System
- 不成熟的视觉层级
GSAP 适合负责什么
简单动画
例如:
Button Hover
Opacity
Color Change
Simple Scale
Simple Transition
优先考虑:
CSS
中高级动画
例如:
Hero Entrance
Multi-element Sequence
Stagger Animation
Section Reveal
Typography Animation
Image Reveal
Card Entrance
Navigation Transition
CTA Animation
推荐:
GSAP
滚动动画
例如:
Scroll Reveal
Parallax
Scroll Progress
Pinned Section
Scroll Storytelling
Horizontal Scroll
Sticky Sequence
Scrub Animation
推荐:
GSAP
+
ScrollTrigger
复杂动画编排
例如:
Hero
↓
Headline
↓
Subtitle
↓
CTA
↓
Image
↓
Background Effect
推荐:
gsap.timeline()
不要让 Agent 创建大量:
delay: 0.2
delay: 0.4
delay: 0.6
delay: 0.8
而应该统一交给 Timeline 管理。
GSAP 安装
基础安装
npm install gsap
React / Next.js 项目
推荐同时安装:
npm install gsap @gsap/react
React / Next.js 项目优先使用:
useGSAP()
而不是自己手动维护大量:
useEffect()
动画生命周期。
GSAP 基础使用
import gsap from "gsap";
gsap.from(".hero-title", {
y: 40,
opacity: 0,
duration: 1,
ease: "power3.out"
});
Timeline
复杂动画序列推荐:
const tl = gsap.timeline();
tl.from(".hero-title", {
y: 40,
opacity: 0,
duration: 0.9
})
.from(".hero-description", {
y: 24,
opacity: 0,
duration: 0.7
}, "-=0.5")
.from(".hero-actions", {
y: 16,
opacity: 0,
duration: 0.6
}, "-=0.4");
ScrollTrigger
滚动动画:
import gsap from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
gsap.registerPlugin(ScrollTrigger);
例如:
gsap.from(".feature-card", {
y: 40,
opacity: 0,
stagger: 0.1,
scrollTrigger: {
trigger: ".features",
start: "top 80%"
}
});
React / Next.js 推荐方式
import gsap from "gsap";
import { useGSAP } from "@gsap/react";
import { useRef } from "react";
export function Hero() {
const container = useRef(null);
useGSAP(() => {
gsap.from(".hero-title", {
y: 40,
opacity: 0,
duration: 0.9,
ease: "power3.out"
});
}, {
scope: container
});
return (
<section ref={container}>
<h1 className="hero-title">
Build better products
</h1>
</section>
);
}
GSAP Motion Design 原则
Agent 使用 GSAP 时应该遵守:
Premium
Refined
Smooth
Intentional
Subtle
Consistent
Controlled
必要时可以:
Cinematic
Expressive
Bold
但不要默认所有页面都 Cinematic。
避免这些动画
不要默认:
所有元素 fade-up
所有元素 scale-in
大量 bounce
随机 rotation
过度 blur
大量 stagger
大量 parallax
过度 scroll hijacking
所有 section 都做不同特效
尤其避免这种模式:
页面元素
↓
全部 opacity: 0
↓
全部从下面飞上来
这很容易产生新的:
「AI Motion 味」
Motion Language
在真正写 GSAP 代码之前,Agent 应先确定 Motion Language。
例如:
Motion Character:
Premium / Quiet / Smooth
Primary Ease:
power3.out
Entrance Distance:
16px - 40px
Duration:
0.5s - 1.0s
Stagger:
0.04s - 0.12s
Scale:
0.96 - 1
Hover Duration:
150ms - 300ms
Scroll Animation:
Subtle
Bounce:
Avoid
这样整个网站的动画才会统一。
Responsive Motion
Desktop 和 Mobile 不应该完全共享相同动画复杂度。
建议:
Desktop
↓
完整 Motion
Tablet
↓
适度简化
Mobile
↓
减少 Parallax
减少 Pin
减少复杂 ScrollTrigger
降低动画距离
缩短 Timeline
可以使用:
gsap.matchMedia();
根据不同屏幕应用不同动画。
Reduced Motion
必须考虑:
prefers-reduced-motion
如果用户开启 Reduced Motion:
减少 Motion
关闭 Parallax
关闭复杂 Scroll Animation
减少移动距离
保留必要状态变化
GSAP 与 CSS 的职责划分
推荐原则:
| 场景 | 使用 |
|---|---|
| Button Hover | CSS |
| Link Hover | CSS |
| 简单 Color Transition | CSS |
| 简单 Opacity | CSS |
| 多元素 Sequence | GSAP |
| Timeline | GSAP |
| Stagger | GSAP |
| Hero Entrance | GSAP |
| Scroll Animation | GSAP + ScrollTrigger |
| Parallax | GSAP + ScrollTrigger |
| Pinned Storytelling | GSAP + ScrollTrigger |
| Complex Page Transition | GSAP |
| Advanced SVG Motion | GSAP |
原则:
CSS 做简单动画,GSAP 做复杂 Motion。
Agent 使用 GSAP 的工作规则
建议将下面内容加入:
AGENTS.md
CLAUDE.md
.cursor/rules/
或者独立 gsap-motion Skill
内容:
# GSAP Motion Rules
当页面静态视觉、Typography、Spacing、Color、Layout 和组件层级基本完成后,再使用 GSAP 对页面进行 Motion Design。
目标不是增加动画数量,而是通过克制、统一、有节奏的动画提升视觉品质。
## 工作流程
1. 首先检查当前静态页面。
2. 不允许使用动画掩盖 Layout 或视觉设计问题。
3. 识别真正值得动画化的区域。
4. 在编码前定义 Motion Language。
5. 普通 Hover / Focus 优先使用 CSS。
6. 多元素 Sequence 使用 GSAP。
7. 多步骤动画优先使用 gsap.timeline()。
8. Scroll-driven Animation 使用 ScrollTrigger。
9. React / Next.js 优先使用 @gsap/react 的 useGSAP()。
10. 不要默认给所有 Section 添加动画。
11. 必须支持 Responsive Motion。
12. 必须考虑 prefers-reduced-motion。
13. 动画完成后使用 Playwright 进行真实浏览器验收。
14. 删除没有明显提升体验或视觉质量的动画。
## 优先检查区域
- Hero
- Navigation
- Headline
- Typography
- Images
- Cards
- CTA
- Section Transitions
- Data Visualization
- Scroll Storytelling
- Page Transitions
## Motion Style
整体 Motion 应:
- Premium
- Refined
- Smooth
- Intentional
- Subtle
避免:
- Bounce Everywhere
- Excessive Scale
- Random Rotation
- Excessive Blur
- Animation Everywhere
- Scroll Hijacking
- Long Blocking Animations
7. Playwright MCP
作用
让 Agent 真正打开网站,在浏览器环境中完成最终验收,而不是只基于代码判断页面质量。
尤其是在加入 GSAP 以后,Playwright 的价值更高。
因为静态截图无法完全判断:
Animation Timing
Scroll Behavior
Hover
Transition
ScrollTrigger
Pinned Section
Responsive Motion
Interaction
主要能力:
- 打开真实页面
- 页面截图
- 点击与交互
- 表单输入
- 响应式检查
- 不同视口检查
- 滚动页面
- GSAP 动画检查
- ScrollTrigger 检查
- 视觉问题发现
- UI 迭代验证
通用 MCP 配置
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@playwright/mcp@latest"]
}
}
}
直接运行
npx @playwright/mcp@latest
推荐完整工作流
对于已经存在的网站或页面原型:
已有网站 / 页面原型
│
▼
frontend-design
确定整体视觉方向
│
▼
UI UX Pro Max
统一 Design System
│
▼
shadcn/ui
规范组件实现
│
▼
Impeccable
critique
→ bolder
→ typeset
→ layout
│
▼
emil-design-eng
确定 Motion Taste
│
▼
GSAP
实现 Motion Engineering
│
▼
Playwright MCP
真实浏览器
截图 / 滚动 / 交互 / 响应式检查
│
▼
improve-animations
review-animations
│
▼
Impeccable polish
最终视觉打磨
│
▼
Playwright MCP
最终 Browser QA
│
▼
完成
各 Skill / Tool 核心职责
| Skill / Tool | 主要职责 |
|---|---|
frontend-design |
整体审美、视觉方向、Typography、布局 |
UI UX Pro Max |
Design System、配色、字体、UX |
shadcn/ui |
高质量组件实现与设计系统落地 |
Impeccable |
Critique、静态视觉高级感、Polish |
emilkowalski/skills |
Motion Taste、微交互、Design Engineering |
GSAP |
Motion Engineering、高级动画、Scroll Animation |
Playwright MCP |
浏览器截图、交互、Motion 与最终验收 |
能力分层
整个 UI Visual Engineering Pipeline 可以理解为:
frontend-design
↓
Aesthetic Direction
UI UX Pro Max
↓
Design System
shadcn/ui
↓
Component Implementation
Impeccable
↓
Visual Polish
emil-design-eng
↓
Motion Taste
GSAP
↓
Motion Engineering
Playwright MCP
↓
Browser QA
对应中文:
frontend-design
→ 审美方向
UI UX Pro Max
→ 设计系统
shadcn/ui
→ 组件实现
Impeccable
→ 静态视觉高级感
emil-design-eng
→ 动效品味
GSAP
→ 动效工程
Playwright MCP
→ 真实浏览器验收
推荐使用原则
页面还比较粗糙
优先:
frontend-design
→ UI UX Pro Max
→ shadcn/ui
先解决:
视觉方向
Design System
Typography
Layout
Components
此时:
不要急着上 GSAP。
页面已经成型,但不够高级
优先:
Impeccable
→ frontend-design
→ emil-design-eng
重点解决:
Typography
Spacing
Hierarchy
Visual Tension
Details
Motion Taste
静态页面已经很好,但感觉“不够活”
进入:
emil-design-eng
→ GSAP
先让 Emil 定义:
Motion Taste
再让 GSAP 实现:
Motion Engineering
页面需要高级滚动体验
使用:
GSAP
+
ScrollTrigger
适合:
Hero Animation
Scroll Reveal
Pinned Sections
Parallax
Scroll Storytelling
Product Showcase
Horizontal Scroll
Timeline Animation
GSAP 已经完成
不要直接认为页面完成。
必须进入:
Playwright MCP
检查:
Desktop
Mobile
Tablet
Scroll
Hover
Interaction
Animation Timing
ScrollTrigger
Layout Shift
Performance
Reduced Motion
发现 Motion 不够高级
进入:
review-animations
↓
improve-animations
↓
GSAP 调整
↓
Playwright
形成动画迭代闭环。
准备上线
最终:
Playwright MCP
↓
Impeccable polish
↓
Playwright MCP
完成:
Visual QA
Interaction QA
Responsive QA
Motion QA
最核心组合
如果你的目标是:
“我已经有网站了,但它看起来还不够高级。”
优先:
frontend-design
+
Impeccable
+
emil-design-eng
+
GSAP
+
Playwright MCP
分别解决:
frontend-design
→ 整体审美与视觉方向
Impeccable
→ 静态视觉高级感
emil-design-eng
→ Motion Taste
GSAP
→ Motion Engineering
Playwright MCP
→ Browser QA
而:
UI UX Pro Max
→ Design System
shadcn/ui
→ Component System
作为长期基础能力保留。
推荐 Agent 执行顺序
以后可以直接要求 Agent:
1. 使用 frontend-design 分析当前页面整体视觉方向。
2. 使用 UI UX Pro Max 检查 Design System、
Typography、Spacing、Color 和 Layout。
3. 使用 shadcn/ui 规范组件实现。
4. 使用 Impeccable critique 分析当前视觉问题。
5. 根据需要执行:
bolder
typeset
layout
6. 使用 emil-design-eng 检查 UI 细节,
并制定统一 Motion Language。
7. 判断哪些动画应该使用 CSS,
哪些应该使用 GSAP。
8. 使用 GSAP 实现:
Hero Animation
Timeline
Stagger
Section Transition
ScrollTrigger
Parallax
Scroll Storytelling
9. 不允许为了炫技而增加动画。
删除没有明显提升视觉和体验的 Motion。
10. 使用 Playwright 打开真实网站,
检查 Desktop / Mobile / Scroll / Hover /
Animation / ScrollTrigger。
11. 使用 review-animations 和
improve-animations 继续优化 Motion。
12. 使用 Impeccable polish 进行最终视觉打磨。
13. 再使用 Playwright 完成最终验收。
UI + Motion 的核心原则
整个过程应该遵循:
Design First
↓
Polish Second
↓
Motion Third
↓
QA Last
而不是:
页面不好看
↓
疯狂加动画
真正的高级感来自:
Typography
+
Spacing
+
Hierarchy
+
Composition
+
Components
+
Micro Details
+
Motion
+
Consistency
GSAP 只负责其中:
Motion
它无法代替好的:
Design
Typography
Layout
Visual Hierarchy
TL;DR
最终完整链路:
Design Direction
↓
Design System
↓
Components
↓
Visual Polish
↓
Motion Taste
↓
Motion Engineering
↓
Browser QA
对应工具:
frontend-design
↓
UI UX Pro Max
↓
shadcn/ui
↓
Impeccable
↓
emil-design-eng
↓
GSAP
↓
Playwright MCP
最重要的关系:
Impeccable
→ 页面看起来高级
emil-design-eng
→ 动画应该怎么动才高级
GSAP
→ 把高级动画真正实现出来
Playwright MCP
→ 验证它实际上看起来是否高级
核心思路不是堆 Skills,而是让每一个 Skill / Tool 负责视觉升级链路中的不同阶段。