animation-vocabulary

作者: emilkowalski

反向查詢詞彙表,將模糊描述的網頁動畫或動態效果轉換為精確術語(例如:「彈出視窗開啟時的彈跳效果」→ Pop in;「iOS橡皮筋滾動」→ Rubber-banding)。適用於使用者詢問「那個叫什麼…」或描述某個動態效果卻不知其名稱,並希望獲得正確詞彙以提示AI或設計師時使用。此功能僅用於命名效果,而非設計或實作。

npx skills add https://github.com/emilkowalski/skills --skill animation-vocabulary

Animation Vocabulary

Turn a vague description of a motion or effect into the precise term, so the user knows what to ask for.

Quick Start

The user describes an effect loosely. You return the matching term(s) in this format:

**Stagger** — Animate several items one after another with a small delay between each, creating a cascade.

If several terms could fit, list the best match first, then 1–2 alternates with a one-line note on how they differ.

Instructions

  1. Read for intent, not keywords. Users describe what they see or feel ("springy", "slides off", "draws itself in"), not the technical name. Map the sensation to the glossary below.
  2. Quote the glossary verbatim. Its descriptions are authoritative — use them as-is, don't paraphrase.
  3. Disambiguate close terms. When two compete (Clip-path vs Mask, Pop in vs Bounce, Shared element transition vs Layout animation), contrast them so the user can pick.
  4. When nothing matches exactly, name the closest term and say plainly it's an approximation, or describe the effect in the glossary's vocabulary (e.g. "that's a stagger of scale-in entrances").
  5. Stay within this glossary. If a term genuinely isn't here, say so rather than inventing one — though you may explain the concept using these words.
  6. Keep it tight. A naming question wants a name, not an essay. Lead with the term; expand only if asked.

Examples

Example 1 — feel-based User: "What's it called when a popover seems to grow out of the button you clicked instead of from its middle?" Output:

**Origin-aware animation** — An element animates out of its trigger, like a popover growing from the button that opened it instead of from its own center which is the default in CSS.

Example 2 — disambiguation User: "The thing where one image turns into another image." Output:

**Morph** — One shape smoothly turns into another shape, e.g. Dynamic Island.

Close alternates:
- **Crossfade** — if they simply fade over each other in the same spot.
- **Shared element transition** — if an element travels and transforms from one position into another.

Example 3 — physics feel User: "That iOS scroll where it resists and snaps back when you pull too far." Output:

**Rubber-banding** — Resistance and snap-back when you drag past a boundary (the iOS overscroll feel).

Glossary

A curated snapshot mirroring the project's /vocabulary page; keep the two in sync when either changes.

Entrances & Exits — how elements appear and disappear

  • Fade in / Fade out — Element appears or disappears by changing opacity.
  • Slide in — Element enters by sliding in from off-screen (left, right, top, or bottom).
  • Scale in — Element grows from smaller to full size as it appears, often paired with a fade.
  • Pop in — Element appears with a slight overshoot, like it bounces into place.
  • Reveal — Content is uncovered gradually, often by animating a clip-path or mask.
  • Enter / Exit — The animation an element plays when it's added to or removed from the screen.

Sequencing & Timing — coordinating multiple elements or moments

  • Keyframes — Defined points in an animation (0%, 50%, 100%) that the browser fills the gaps between.
  • Interpolation / Tween — Generating all the in-between frames between a start and end value, so motion is continuous.
  • Stagger — Animate several items one after another with a small delay between each, creating a cascade.
  • Orchestration — Deliberately timing multiple animations so they feel like one coordinated motion.
  • Delay — Time before an animation starts.
  • Duration — How long an animation takes.
  • Fill mode — Whether an element keeps its first or last frame's styles before the animation starts or after it ends (e.g. forwards).
  • Stepped animation — An animation that is divided into discrete steps, like a countdown timer.

Movement & Transforms — changing an element's position, size, or angle

  • Translate — Move an element along the X or Y axis.
  • Scale — Make an element bigger or smaller.
  • Rotate — Spin an element around a point.
  • Skew — Slant an element along the X or Y axis, shearing it out of its rectangular shape.
  • 3D tilt / Flip — Rotate in 3D space (rotateX / rotateY) to add depth.
  • Perspective — How strong the 3D effect looks — a lower value exaggerates depth, like the viewer is closer.
  • Transform origin — The anchor point a scale or rotation grows or spins from.
  • Origin-aware animation — An element animates out of its trigger, like a popover growing from the button that opened it instead of from its own center which is the default in CSS.

Transitions Between States — connecting one state, view, or element to another

  • Crossfade — One element fades out as another fades in, in the same spot.
  • Continuity transition — A change that keeps the user oriented by visually connecting before and after. For example, making the same rectangle bigger and smaller.
  • Morph — One shape smoothly turns into another shape, e.g. Dynamic Island.
  • Shared element transition — An element travels and transforms from one position into another, like a thumbnail expanding into a card.
  • Layout animation — When an element's size or position changes, it animates to the new spot instead of snapping.
  • Accordion / Collapse — A section smoothly expands and collapses its height to show or hide content.
  • Direction-aware transition — Content slides one way going forward and the opposite way going back, so navigation has a sense of direction.

Scroll — motion tied to scrolling or navigating between views

  • Scroll reveal — Elements fade or slide into place as they enter the viewport.
  • Scroll-driven animation — An animation whose progress is tied directly to scroll position.
  • Parallax — Background and foreground move at different speeds while scrolling, creating depth.
  • Page transition — An animation that plays when navigating from one page or route to another.
  • View transition — The browser morphs between two states or pages, connecting shared elements.

Feedback & Interaction — responding to the user's actions

  • Hover effect — Visual change when the cursor moves over an element.
  • Press / Tap feedback — A subtle scale-down when an element is clicked, so it feels physical.
  • Hold to confirm — A progress effect that fills up while the user holds a button.
  • Drag — Moving an element by grabbing it, often with momentum when released.
  • Drag to reorder — Dragging items in a list to rearrange them, while the others shift to make room.
  • Swipe to dismiss — Dragging an element off-screen to close it, like a drawer or toast.
  • Rubber-banding — Resistance and snap-back when you drag past a boundary (the iOS overscroll feel).
  • Shake / Wiggle — A quick side-to-side jitter signaling an error or rejected input.
  • Ripple — A circle expanding from the point of a tap, confirming the press.

Easing — how speed changes over an animation

  • Easing — The rate at which an animation speeds up or slows down.
  • Ease-out — Starts fast, ends slow. The default for most UI and anything responding to the user.
  • Ease-in — Starts slow, ends fast. Usually avoided; can feel sluggish.
  • Ease-in-out — Slow, fast, slow. Good for elements already on screen moving from A to B.
  • Linear — Constant speed. Avoid for UI; reserve for spinners or marquees.
  • Cubic-bezier — A custom easing curve you define for precise control.
  • Asymmetric easing — A curve that accelerates and decelerates at different rates. Feels more alive than a symmetric one.

Spring Animations — physics-based motion as an alternative to fixed-duration easing

  • Spring — Motion driven by physics (tension, mass, damping) rather than a set duration.
  • Stiffness / Tension — How strongly the spring pulls toward its target. Higher feels snappier.
  • Damping — How quickly a spring settles. Lower damping means more bounce and oscillation.
  • Mass — How heavy the animated element feels. More mass makes it slower and more sluggish.
  • Bounce — A spring that overshoots and settles, adding playfulness.
  • Perceptual duration — How long a spring feels finished, even though it keeps micro-settling underneath.
  • Momentum — Motion that carries velocity, especially after a drag or interruption.
  • Velocity — How fast and in which direction an element is moving. A spring carries it into the next animation when interrupted, so a flicked element keeps its speed.
  • Interruptible animation — An animation that can be smoothly redirected mid-flight instead of finishing first.

Looping & Ambient Motion — animations that run on their own

  • Marquee — Text or content that scrolls continuously in a loop.
  • Loop — An animation that repeats, a set number of times or infinitely.
  • Alternate (yoyo) — A loop that plays forward then reverses each iteration, instead of jumping back to the start.
  • Orbit — An element circling around another in a continuous path.
  • Pulse — A gentle repeating scale or opacity change to draw attention.
  • Float — A gentle, continuous up-and-down drift that makes a static element feel alive and weightless.
  • Idle animation — Subtle motion that plays while an element is just sitting there, waiting to be interacted with.

Polish & Effects — the small touches that separate good from great

  • Blur — A blur filter used to soften an element or mask tiny imperfections.
  • Clip-path — Clipping an element to a shape, used for reveals, masks, and before/after sliders.
  • Mask — Hiding or revealing parts of an element using a shape or gradient — like clip-path, but with soft, fadeable edges.
  • Before / after slider — A draggable divider that wipes between two overlaid images to compare them.
  • Line drawing — An SVG path that draws itself in, like an invisible pen tracing it.
  • Text morph — Text that animates character by character when it changes, drawing attention to the new value.
  • Skeleton / Shimmer — A placeholder with a moving sheen shown while content loads.
  • Number ticker — Digits rolling or counting up to a value.
  • Tabular numbers — Fixed-width digits so numbers don't shift around as they change. Essential for tickers, timers, and counters.
  • Typewriter — Text appearing one character at a time, as if being typed.

Performance — what keeps motion smooth instead of stuttering

  • Frame rate (FPS) — Frames drawn per second. 60fps is the baseline for smooth motion; 120fps on newer displays.
  • Jank — Visible stutter when the browser drops frames because it can't keep up with the animation.
  • Dropped frame — A frame the browser missed its deadline to draw, causing a tiny hitch in motion.
  • Compositing — Letting the GPU move or fade an element on its own layer without redoing layout or paint.
  • will-change — A CSS hint that an element is about to animate, so the browser can promote it to its own layer ahead of time.
  • Layout thrashing — Animating properties like width, height, top, or left that force the browser to recalculate layout every frame, causing jank.

Principles to Know — concepts that guide when and how to animate

  • Purposeful animation — Motion should serve a function — orient, give feedback, show relationships — not just decorate.
  • Anticipation — A small wind-up in the opposite direction before a move, hinting at what's about to happen.
  • Follow-through — Parts of an element keep moving and settle slightly after the main motion stops, adding weight.
  • Squash & stretch — Deforming an element as it moves to convey weight, speed, and flexibility.
  • Perceived performance — The right animation makes an interface feel faster, even when it isn't.
  • Frequency of use — The more often a user sees an animation, the shorter and subtler it should be.
  • Spatial consistency — Animating so an element keeps its identity and position across states, so users never lose track of where things went.
  • Hardware acceleration — Animating transform and opacity lets the GPU keep motion smooth.
  • Reduced motion — Respecting the user's prefers-reduced-motion setting by toning down or removing motion.

來自 emilkowalski 的更多技能

find-animation-opportunities
emilkowalski
搜尋程式碼庫或 UI 中應該有動畫但沒有的地方,並排除所有不應該有動畫的部分。唯讀;它會提出具有精確數值的動畫建議,但不會實際實作。當使用者詢問「這裡可以加入什麼動畫?」或想要「讓這個感覺更有生命力」時使用。若要修復現有的動畫,請改用 improve-animations 或 review-animations。
developmentdesigncreative
animate
emilkowalski
從零開始建立動畫,依序做出決定,以判斷整體是否自然流暢——是否該有動畫、目的為何、選用哪種工具、哪些屬性、哪條曲線與時長、如何打斷、如何結束。並撰寫實作內容。當被要求為某個東西加上動畫、增添動態感、讓元件更有生命力,或建立轉場效果時使用。若要評論現有動態效果,請使用 review-animations;若要審查整個程式碼庫,請使用 improve-animations。
pick-ui-library
emilkowalski
從精心策劃且具主觀推薦的清單中,為指定的前端任務挑選合適的函式庫——涵蓋數字、OTP輸入、圖表、指令選單、虛擬化、拖放、提示訊息、狀態管理、樣式等。僅在明確呼叫時執行;不會自行觸發。
prototype
emilkowalski
為你描述的UI元件建立多個真正不同的版本,並在視覺選取器後方渲染,讓你能夠即時切換瀏覽,選出最合適的那一個。僅在明確呼叫時執行;不會自行觸發。
developmentdesigncreative
ask-sonner
emilkowalski
Sonner(React toast 函式庫)使用指南——安裝並接上 Toaster、選用正確的 toast() 呼叫、promise 與 loading toast、更新、關閉及持久化 toast、樣式、主題與圖示、定位與多個 toaster。適用於使用 Sonner 或排解其問題時——例如 toast 未出現、出現兩次、失去樣式、忽略 Tailwind 類別、位於 modal 後方,或未跟隨深色模式。
emil-design-eng
emilkowalski
此技能編碼了 Emil Kowalski 關於 UI 打磨、元件設計、動畫決策,以及那些讓軟體體驗出色的隱形細節的設計哲學。
designdevelopmentcreative
review-animations
emilkowalski
根據 Emil Kowalski 的設計工程哲學所建立的高標準,審查動畫與動態程式碼。預設為標記問題;需主動爭取才能獲得核准。
improve-animations
emilkowalski
以資深動畫顧問的身份,審查程式碼庫中的動畫與動態程式碼,產出優先排序的稽核報告與可獨立執行的實作計畫,供其他代理(或較低成本模型)執行。僅對原始碼進行唯讀操作——負責規劃改進,不實際套用。適用於使用者要求「改善動畫」、「稽核動態」、「讓這個應用程式感覺更好」,或希望獲得動畫修正路線圖(而非單一差異審查)時。