重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
attention-management by dylantarre/animation-principles
npx skills add https://github.com/dylantarre/animation-principles --skill attention-management运用迪士尼动画原则来正确引导用户注意力。
问题:多个元素争夺注意力 修复:一次只让一个元素动起来。为最重要的元素添加动画;保持其他元素静止。
问题:所有元素以相同速度动画 修复:主要内容:更快的动画。次要内容:更慢或延迟的动画。速度暗示重要性。
问题:层级结构中动画效果单一 修复:重要元素使用更戏剧化的动画。背景元素使用微妙的动画。
问题:没有引导视线的铺垫动作 修复:利用预备动作来引导注意力。一个微小的动作可以在主要动作发生前吸引视线。
问题:错误的元素在视觉上更有趣 修复:让最重要的元素在视觉上最具吸引力。动画应增强层级结构,而非与之冲突。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
/* 按重要性错开动画 */
.hero-title {
animation: fadeInUp 400ms ease-out;
}
.hero-subtitle {
animation: fadeInUp 400ms ease-out 100ms backwards;
}
.hero-cta {
animation: fadeInUp 400ms ease-out 200ms backwards,
pulse 2s ease-in-out 1s infinite;
}
/* 弱化背景 */
.background-element {
animation: subtleDrift 20s linear infinite;
opacity: 0.3;
}
| 优先级 | 动画风格 |
|---|---|
| 主要 | 快速、显著,可能循环 |
| 次要 | 中等速度,一次性 |
| 三级 | 缓慢、微妙,或静态 |
| 背景 | 非常缓慢或无动画 |
每周安装量
56
代码仓库
GitHub 星标数
28
首次出现
2026年1月24日
安全审计
安装于
codex50
gemini-cli47
opencode47
cursor46
github-copilot44
cline40
Direct user focus correctly using Disney's principles.
Issue : Multiple elements compete for attention Fix : One thing moves at a time. Animate the most important element; keep others still.
Issue : Everything animates at same speed Fix : Primary content: faster animation. Secondary: slower or delayed. Speed implies importance.
Issue : Uniform motion across hierarchy Fix : Important elements get more dramatic animation. Background elements get subtle motion.
Issue : No buildup directs eyes Fix : Use anticipation to guide attention. A small movement can draw eyes before the main action.
Issue : Wrong elements are visually interesting Fix : Make important elements the most visually appealing. Animation should enhance hierarchy, not fight it.
/* Stagger by importance */
.hero-title {
animation: fadeInUp 400ms ease-out;
}
.hero-subtitle {
animation: fadeInUp 400ms ease-out 100ms backwards;
}
.hero-cta {
animation: fadeInUp 400ms ease-out 200ms backwards,
pulse 2s ease-in-out 1s infinite;
}
/* De-emphasize background */
.background-element {
animation: subtleDrift 20s linear infinite;
opacity: 0.3;
}
| Priority | Animation Style |
|---|---|
| Primary | Fast, prominent, potentially looping |
| Secondary | Medium speed, one-time |
| Tertiary | Slow, subtle, or static |
| Background | Very slow or no animation |
Weekly Installs
56
Repository
GitHub Stars
28
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex50
gemini-cli47
opencode47
cursor46
github-copilot44
cline40
React视图过渡API使用指南:实现原生浏览器动画与状态管理
7,500 周安装
产品分发渠道指南:如何通过AWS、Azure、Shopify等市场与App Store优化软件销售
343 周安装
轮播布局设计指南:最佳实践、SEO优化与可访问性
344 周安装
Symfony质量检查工具:优化架构、安全执行复杂变更的PHP开发助手
334 周安装
Cloudflare Durable Objects 教程:使用 SQLite 和 WebSocket 构建有状态应用
332 周安装
Go 代码风格核心原则与最佳实践 | Google/Uber 权威指南
337 周安装
App Store Connect 崩溃问题排查与性能诊断工具 - 自动化分析TestFlight报告
340 周安装