animation-vocabulary
它能做什么
当你只知道某种视觉效果的外观或感觉时,这个技能会为它命名。适合希望为动效找到正确术语的设计师和开发者。
适用场景
- ✓当你描述一种动效,并想知道它的正式名称时。
- ✓当你想区分两个相似的动画术语时。
- ✓当你需要正确的词汇向 AI 或设计师请求某种效果时。
技能链接
https://github.com/spree/spree/blob/main/.agents/skills/animation-vocabulary/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“当弹出框略微越过最终位置、然后再回弹稳定下来时,这种效果叫什么?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会根据描述中的外观或感觉进行理解,将其匹配到术语表中的某个术语,并引用该定义。当两个术语很接近时,它会解释二者的区别。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
- 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.
- Quote the glossary verbatim. Its descriptions are authoritative — use them as-is, don't paraphrase.
- 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.
- 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").
- 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.
- 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 ancho
常见问题
如果没有完全匹配的术语怎么办?
该技能会给出最接近的术语,并明确说明这只是近似。
它会创造新术语吗?
不会。它只使用术语表中的术语,并且在术语不在表中时会说明。
答案会是很长的解释吗?
不会。命名类问题会得到名称和简短解释,而不是长篇论述。
详情
作者的原始描述
Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.
repo: spree/spree
热度
- GitHub 星标
- 16k
- 排名
- #10873
- 许可证
- BSD-3-Clause
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
animate
16k从零开始构建动画,先判断是否应该产生动效,再在编写代码之前确定其目的、时长和曲线。
apple-design
16k把 Apple 的流畅设计理念带到网页上,涵盖响应式手势、弹簧动效、可中断的过渡和减少动态效果。
find-animation-opportunities
16k在界面中搜索最适合添加动效的地方,并排除其余部分。给出一份简短的精确动画建议清单,且不改动代码。
improve-animations
16k审计代码库中的动画,并编写有优先级的计划,供另一个智能体执行。只提供计划,不改动源代码。