transitions-polish
What it does
This skill checks animations that already exist in a project and adjusts their timing, distance, scale, blur and easing to a shared set of values. It is for developers who want motion to feel consistent.
When to use it
- βWhen your site already has animations that feel slightly off or inconsistent.
- βWhen you want modal, dropdown or tooltip timings to match one standard.
- βWhen you want to adjust stagger and delay rules for animated lists.
Skill link
https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-polish/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βPolish the existing animations in my app so they follow one consistent timing and easing scale.β
5 new skills a week. 1 minute to read.
How it works
The agent works out what each animation does, such as a modal close or a hover, and picks the matching token value. It leaves values alone when no token fits.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Transitions Polish
An add-on to the transitions-dev skill. Where transitions-dev installs whole transitions, this skill polishes motion that already exists: it scans the five motion-token dimensions β duration, distance, scale, blur, easing β and suggests the token each value should reference, plus the higher-order rules for when a value is right (open/close asymmetry, hover in/out, stagger, delay).
Install it alongside transitions-dev, or on its own β the token values are restated below so this skill can audit a project standalone. When it is installed, the transitions.dev Refine panel automatically feeds these rules into every Small refinement job.
Core doctrine: match on usage, never on the nearest number
A value is not "wrong" because it is off by 20ms. It is wrong when it does not fit what the motion does. Always infer the usage first β modal close, dropdown open, tooltip, badge appear, page slide, text reveal, shake β then pick the token whose documented usage matches. A 300ms modal close maps to --duration-quick (150ms) because both are "modal close", even though the numbers differ. If a value's usage matches no token usage, leave it untouched. Never force a swap just because a number is close.
The five dimensions
Same scale the transitions.dev Motion tokens tab exposes. Copy this skill's _root.css into your project once; once imported, reference any token as var(--β¦). The transitions-dev transitions ship literal values, so they work without these tokens β install this skill to tune them against the shared scale.
Durations
| Token | Value | Usage |
|---|---|---|
--duration-stagger |
40ms |
per-item stagger offset |
--duration-micro |
80ms |
tooltip/path delay, shake segment, large stagger |
--duration-quick |
150ms |
modal/dropdown close, text swap, tooltip appear |
--duration-fast |
250ms |
icon swap, dropdown/modal open, tabs sliding, page slide |
--duration-medium |
350ms |
panel close, toast close |
--duration-slow |
400ms |
panel open, skeleton content reveal, input clear |
--duration-very-slow |
500ms |
emphasis moments, badge appear, text reveal, success check |
Easings
| Token | Value | Usage |
|---|---|---|
--ease-smooth-out |
cubic-bezier(0.22, 1, 0.36, 1) |
modal/dropdown/panel open + close, page slide, resize, position change |
--ease-in-out |
ease-in-out |
icon swap, text swap, text reveal, skeleton reveal |
--ease-out |
ease-out |
tooltip open / close |
--ease-linear |
linear |
shimmer, skeleton pulse, spinner |
--ease-bounce |
cubic-bezier(0.34, 1.36, 0.64, 1) |
badge pop open |
--ease-bounce-strong |
cubic-bezier(0.34, 3.85, 0.64, 1) |
bouncy hover-out (avatar return) |
--ease-smooth-out is the default. Nudge generic ease, ease-in, or any hand-rolled cubic-bezier(...) / linear(...) toward it only for surface motion (open/close, slide, resize, position). Leave the other five token easings alone β they are already on-grid and each carries its own intent.
Distances
| Token | Value | Usage |
|---|---|---|
--distance-micro |
4px |
text swap |
--distance-small |
6px |
error shake (small segment) |
--distance-base |
8px |
badge diagonal reveal, page slide, error shake (large segment) |
--distance-medium |
12px |
text reveal |
--distance-large |
30px |
check badge appear |
Travel distance scales down with frequency and up with ceremony: an in-place text swap barely moves (4px), a page slide travels a readable 8px, a one-off celebratory badge can sweep 30px. If a translate distance is larger than ~40px for anything but a full panel/drawer, it usually reads as sluggish β pull it toward --distance-base.
Scales
| Token | Value | Usage |
|---|---|---|
--scale-large |
0.96 |
modal open / close |
--scale-medium |
0.97 |
dropdown open |
--scale-small |
0.98 |
tooltip open |
--scale-tiny |
0.99 |
dropdown close |
The captured value is the non-resting "pre" scale the surface animates from; it always settles to 1. Bigger surfaces start from further away (0.96 modal), small hints barely scale (0.98β0.99). A pre-scale below ~0.9 reads as a "zoom" and rarely fits UI chrome β snap it to the usage token.
Blur
| Token | Value | Usage |
|---|---|---|
| `--blu |
FAQ
Does it add new animations?
No. It tunes motion that already exists. The transitions-dev skill is the one that adds new ones.
Will it change values that do not fit?
No. If a value matches no token usage, it is left as it is.
Does it need the transitions-dev skill?
No. It can run on its own, though it works alongside transitions-dev.
Details
Original description by the author
Polish and refine existing motion against the transitions.dev motion-token scale β duration, distance, scale, blur, and easing β plus the rules for WHEN each token applies (open/close asymmetry, hover-in vs hover-out, stagger offsets, and intent delays). An add-on to the transitions-dev skill, focused on tuning what already animates rather than adding new transitions. Use when the user asks to "polish my transitions", "refine the motion", "tune the timing / easing", "make the animation feel better / less janky", "tighten the durations", "fix the stagger", "align to the motion tokens", "audit t
Popularity
- GitHub stars
- 6.0k
- Ranking position
- #14456
- License
- β
- Updated
- 10/29/2026
Comments
- β¦
More skills from this repository
transitions-agent
6.0kLets your agent scan a website's code for missing or uneven UI motion, then fix it with proven transitions.dev recipes.
refine-live
6.0kLets your agent answer Refine requests from the transitions.dev Timeline Inspector by polling a local relay in the chat.
transitions-dev
6.0kTeaches your agent to add 32 ready-made CSS transitions, such as modals, dropdowns, badges and text swaps, to a web app.
transitions-ui-generation
6.0kLets your agent add an AI-generation effect where a UI, headline or image draws itself in dots before the real content appears.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.