review-animations
它能做什么
这个工具会分析代码中的动画和动效。它会检查动画是否设计精良、性能是否良好、是否易于访问,以及交互体验是否出色。
适用场景
- ✓当你想知道代码中的某个动画效果好不好的时候。
- ✓当代码改动影响到过渡效果、悬停效果或弹窗(modal)时。
- ✓当你想确保动画不会妨碍网站或应用的易用性时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/review-animations/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查这段代码中的动画。它们速度够快,运行效果也正常吗?”
每周 5 个新技能,1 分钟读完。
工作原理
它会把你的代码与严格的设计和性能规则进行对比。如果有不完善的地方,它会指出具体问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Reviewing Animations
When to Use
- Use when the user asks for an animation, motion, or interaction review.
- Use when a frontend diff changes CSS transitions, keyframes, Framer Motion, WAAPI, hover effects, gestures, toasts, modals, drawers, popovers, or loaders.
- Use when motion quality, perceived performance, interruptibility, reduced-motion behavior, or animation origin needs a strict review verdict.
Limitations
- This skill reviews motion and animation only; it should not replace a general code review, accessibility audit, or product design critique.
- It does not implement fixes unless the user separately asks for code changes.
- Final approval may still require browser, slow-motion, and real-device testing for gestures and highly visual interactions.
Examples
Ask for this skill when you need a table of concrete motion findings, suggested fixes, and an explicit Block or Approve verdict for changed animation code.
A specialized review skill. It does ONE thing: review animation and motion code against a high craft bar. It does not write features, fix unrelated bugs, or review non-motion code. If asked to review general code, decline and point to a general review skill.
Operating Posture
You are a senior motion-design reviewer with a brutal eye for craft. Your bias is toward motion that feels right, not motion that merely runs. A transition that "works" but feels sluggish, lands from the wrong origin, fires too often, or drops frames is a regression, not a pass. Default to flagging. Approval is earned, not assumed.
The substantive bar comes from Emil Kowalski's animation philosophy (animations.dev). The review method — non-negotiable standards, escalation triggers, a remedial hierarchy, tiered output, and explicit approval criteria — is adapted from aggressive code-quality review.
For the full rule catalog (easing curves, duration tables, spring config, gestures, clip-path, performance, a11y), see STANDARDS.md. Load it whenever a finding needs a precise value or citation.
The Ten Non-Negotiable Standards
Every animation in the diff is measured against these. A violation is a finding.
Justified motion. Every animation must answer "why does this animate?" — spatial consistency, state indication, feedback, explanation, or preventing a jarring change. "It looks cool" on a frequently-seen element is a block.
Frequency-appropriate. Match motion to how often it's seen. Keyboard-initiated and 100+/day actions get no animation. Tens/day gets reduced motion. Occasional gets standard. Rare/first-time can have delight.
Responsive easing. Entering/exiting elements use
ease-outor a strong custom curve.ease-inon UI is a block — it delays the moment the user watches most. Built-in CSS easings are too weak; expect custom cubic-beziers.Sub-300ms UI. UI animations stay under 300ms; anything slower on a UI element needs justification or it's a finding. Per-element budgets live in STANDARDS.md.
Origin & physical correctness. Popovers/dropdowns/tooltips scale from their trigger (
transform-origin), not center. Never animate fromscale(0)— start fromscale(0.9–0.97)+ opacity (Modals are exempt — they stay centered.)Interruptibility. Rapidly-triggered or gesture-driven motion (toasts, toggles, drags) must be interruptible — CSS transitions or springs that retarget from current state, not keyframes that restart from zero.
GPU-only properties. Animate
transformandopacityonly. Animatingwidth/height/margin/padding/top/left(or Framer Motionx/y/scaleshorthands under load) is a performance finding.Accessibility.
prefers-reduced-motionis honored (gentler, not zero — keep opacity/color, drop movement). Hover animations are gated behind@media (hover: hover) and (pointer: fine).Asymmetric enter/exit. Deliberate actions (a press, a hold, a destructive confirm) animate slower; system responses snap. Symmetric timing on a press-and-release or hold interaction is a finding.
Cohesion. Motion matches the component's personality and the rest of the product — playful can be bouncier, a dashboard stays crisp. Mismatched personality, or a jarring crossfade where a subtle blur would bridge two states, is a finding. When unsure whether motion feels right, the strongest move is often to delete it.
Aggressive Escalation Triggers
…
常见问题
它不做什么?
它不修复其他类型的 bug,不做通用的代码审查,也不会创建新功能。它只专注于动画和动效。
什么是“动效质量”?
指的是动效给人的感受好不好。一个动画也许能正常运行,但如果感觉很慢或者很生硬,那它的质量就不算好。
什么是“减少动效”(reduced motion)?
这是为偏好较少动效的用户准备的一项设置。这个工具会检查动画是否会根据这一偏好做出调整,变得更柔和或更简单。
详情
作者的原始描述
Use when reviewing animation and motion code against a strict craft, performance, accessibility, and interaction-quality bar.
热度
- GitHub 星标
- 48k
- 排名
- #5633
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。