Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)101k · #1223

review-animations

Skill này làm gì

Công cụ này đánh giá mã hoạt ảnh và chuyển động để đảm bảo đạt tiêu chuẩn chất lượng cao. Nó kiểm tra xem hoạt ảnh có mượt, nhanh và phù hợp ngữ cảnh không, tập trung vào cảm giác khi dùng chứ không chỉ việc hoạt ảnh có chạy hay không.

Khi nào nên dùng

  • ✓Khi bạn xem xét hoạt ảnh giao diện người dùng (UI).
  • ✓Khi bạn kiểm tra chất lượng của mã chuyển động.
  • ✓Khi bạn cần đảm bảo hoạt ảnh dễ tiếp cận và chạy hiệu quả.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/skills/review-animations/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/nexu-io/open-design/blob/main/skills/review-animations/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Xem các hoạt ảnh trong đoạn mã này và cho tôi biết chúng có đạt tiêu chuẩn chất lượng cao không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ đối chiếu mã hoạt ảnh của bạn với một bộ quy tắc nghiêm ngặt về cách hoạt ảnh nên hoạt động. Nó tìm các vấn đề như chậm chạp, chuyển động sai hoặc hoạt ảnh không cần thiết, và chỉ ra những gì cần cải thiện.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Reviewing Animations

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.

  1. 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.

  2. 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.

  3. Responsive easing. Entering/exiting elements use ease-out or a strong custom curve. ease-in on UI is a block — it delays the moment the user watches most. Built-in CSS easings are too weak; expect custom cubic-beziers.

  4. 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.

  5. Origin & physical correctness. Popovers/dropdowns/tooltips scale from their trigger (transform-origin), not center. Never animate from scale(0) — start from scale(0.9–0.97) + opacity (Modals are exempt — they stay centered.)

  6. 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.

  7. GPU-only properties. Animate transform and opacity only. Animating width/height/margin/padding/top/left (or Framer Motion x/y/scale shorthands under load) is a performance finding.

  8. Accessibility. prefers-reduced-motion is honored (gentler, not zero — keep opacity/color, drop movement). Hover animations are gated behind @media (hover: hover) and (pointer: fine).

  9. 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.

  10. 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

Flag these on sight, hard:

  • transition: all (unbounded property animation)
  • scale(0) or pure-fade entrances with no initial transform
  • ease-in on any UI interaction; weak built-in easing on a deliberate animation
  • Animation on a keyboard shortcut, command-palette toggle, or 100+/day action
  • UI duration > 300ms with no stated reason
  • transform-origin: center on a trigger-anchored popover/dropdown/tooltip
  • Keyframes on toasts, toggles, or anything added/triggered rapidly
  • Animating layout properties (width/height/margin/padding/top/left)
  • Framer Motion x/y/scale props on motion that runs while the page is busy
  • Updating a CSS variable on a parent to drive a child transform (style recalc storm)
  • Missing prefers-reduced-motion handling on movement
  • Ungated :hover motion
  • Symmetric enter/exit timing on a press-and-release or hold interaction

…

Câu hỏi thường gặp

“Tiêu chuẩn chất lượng cao” với hoạt ảnh nghĩa là gì?

Nghĩa là hoạt ảnh phải nhanh, mượt, có mục đích rõ ràng, phản hồi tốt với người dùng và không gây vấn đề về hiệu năng hay khả năng tiếp cận. Chúng phải có cảm giác đúng, chứ không chỉ chạy được.

Công cụ KHÔNG làm gì?

Công cụ không viết tính năng mới, không sửa lỗi ngoài hoạt ảnh, và không xem xét mã không liên quan đến chuyển động hay hoạt ảnh. Nếu được yêu cầu xem mã chung, nó sẽ từ chối.

Điều gì xảy ra nếu mã của tôi không đạt tiêu chuẩn?

Công cụ sẽ chỉ ra các vấn đề tìm được (gọi là “findings”) trong một bảng, giải thích vì sao mỗi vấn đề là một trục trặc và gợi ý cách sửa, theo thứ tự ưu tiên khi sửa.

Chi tiết

Mô tả gốc của tác giả

Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#1223
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự