transitions-polish
यह क्या करती है
यह स्किल प्रोजेक्ट में पहले से मौजूद animations जाँचती है और उनके समय, दूरी, scale, blur और easing को साझा मानों पर लाती है। यह उन डेवलपर के लिए है जो चाहते हैं कि motion एक जैसी लगे।
कब इस्तेमाल करें
- ✓जब आपकी साइट पर मौजूद animations थोड़ी अजीब या असंगत लगें।
- ✓जब आप modal, dropdown या tooltip के समय को एक मानक से मिलाना चाहें।
- ✓जब आप एनिमेटेड सूचियों के stagger और delay नियम ठीक करना चाहें।
Skill का लिंक
https://github.com/Jakubantalik/transitions.dev/blob/main/skills/transitions-polish/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे ऐप की मौजूदा animations को एक जैसे समय और easing पैमाने पर ठीक कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट समझता है कि हर animation क्या करती है, जैसे modal का बंद होना या hover, और उसके लिए सही token मान चुनता है। जिस मान से कोई token मेल नहीं खाता, उसे वैसा ही छोड़ देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 |
अक्सर पूछे जाने वाले सवाल
क्या यह नई animations जोड़ती है?
नहीं। यह मौजूदा motion ठीक करती है। नई animations जोड़ने का काम transitions-dev स्किल करती है।
क्या जो मान फ़िट नहीं होते, उन्हें बदला जाएगा?
नहीं। अगर कोई मान किसी token उपयोग से मेल नहीं खाता, तो उसे नहीं बदला जाता।
क्या इसके लिए transitions-dev स्किल चाहिए?
नहीं। यह अकेले भी चल सकती है, हालाँकि transitions-dev के साथ अच्छा काम करती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14456
- लाइसेंस
- —
- अपडेट की गई
- 29/10/2026
कमेंट
- …
इस repository की और skills
transitions-agent
6.0kयह आपके एजेंट को वेबसाइट के कोड में UI की गायब या असमान motion जाँचने देती है, फिर transitions.dev के तैयार तरीकों से उसे ठीक करती है।
refine-live
6.0kयह आपके एजेंट को चैट में एक लोकल रिले से Refine अनुरोध लेकर transitions.dev Timeline Inspector के सुझाव देने देती है।
transitions-dev
6.0kयह आपके एजेंट को वेब ऐप में 32 तैयार CSS transitions जोड़ना सिखाती है, जैसे modal, dropdown, badge और text swap।
transitions-ui-generation
6.0kयह आपके एजेंट को एक AI-generation इफ़ेक्ट जोड़ने देती है, जिसमें UI, headline या image असली सामग्री आने से पहले बिंदुओं में खुद बनता दिखता है।
मिलती-जुलती skills
canvas
394kयह आपके एजेंट को जुड़े Mac पैनल पर होस्टेड विज़ुअल विजेट दिखाने, पैनल छिपाने या उसे दूसरे पेज पर ले जाने देती है।
control-ui
394kयह आपके एजेंट को OpenClaw Control UI को व्यवस्थित करने और उसमें आने वाली दिक्कतें सुलझाने में मदद करती है, जिसमें सेशन, डैशबोर्ड और जुड़े Gateway शामिल हैं।
diagram-maker
394kयह आपके एजेंट को प्रक्रियाओं, सिस्टम आर्किटेक्चर और व्हाइटबोर्ड स्केच के लिए SVG, HTML या संपादन योग्य Excalidraw फ़ाइलों में साफ़ डायग्राम बनाने में मदद करती है।