[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M733K9ES1EEKTJYZJ71D44G2":3,"skill-same:01M733K9ES1EEKTJYZJ71D44G2":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M733K9ES1EEKTJYZJ71D44G2","transitions-dev",null,"Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, or error state shakes. Triggers on \"add a transition\", \"animate the dropdown\", \"make the modal open smoothly\", \"swap icon\", \"page slide\", \"stagger animation\", \"open \u002F close transition\", \"make it animate\", \"tween the size\", \"fade between\", \"smooth open\", \"smooth close\", \"success animation\", \"checkmark animation\", \"confirmation animation\", \"form error\", \"shake on invalid\", \"validation feedback\", \"hover lift\", \"avatar stack hover\", \"chip group hover\".","LiamVisionary\u002Fhivemindos","LiamVisionary","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F102138294?v=4","01M73379NZZ99TT4ZS17XR3Q9D","01M73379PX6AKQNWN05VNSYRXW",13,"MIT","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fpackaged-skills\u002Foptional\u002Fdesign\u002Fjakubantalik\u002Ftransitions-dev\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: transitions-dev\ndescription: Production-ready CSS transitions for web apps. Use when implementing notification badges, dropdowns, modals, panel reveals, page transitions, card resizes, number pop-ins, text swaps, icon swaps, success checks, avatar group hovers, or error state shakes. Triggers on \"add a transition\", \"animate the dropdown\", \"make the modal open smoothly\", \"swap icon\", \"page slide\", \"stagger animation\", \"open \u002F close transition\", \"make it animate\", \"tween the size\", \"fade between\", \"smooth open\", \"smooth close\", \"success animation\", \"checkmark animation\", \"confirmation animation\", \"form error\", \"shake on invalid\", \"validation feedback\", \"hover lift\", \"avatar stack hover\", \"chip group hover\".\n---\n\n# Transitions.dev\n\nTwelve portable CSS transitions, each namespaced under `t-*` selectors with semantic CSS custom properties. Drop-in: paste the snippet, wire the documented HTML hooks, done. No framework dependencies, no demo-specific markup, and every snippet ships a `prefers-reduced-motion` guard.\n\n## Quick reference\n\n| Transition | When to use | Reference |\n| --- | --- | --- |\n| **Card resize** | Tween a container's width or height when its layout state changes. | [01-card-resize.md](.\u002F01-card-resize.md) |\n| **Number pop-in** | Re-enter each digit with a blurred slide when a number updates. | [02-number-pop-in.md](.\u002F02-number-pop-in.md) |\n| **Notification badge** | Slide a small badge onto a trigger and pop the dot. | [03-notification-badge.md](.\u002F03-notification-badge.md) |\n| **Text states swap** | Swap text in place with a blurred up-and-down transition. | [04-text-states-swap.md](.\u002F04-text-states-swap.md) |\n| **Menu dropdown** | Open an origin-aware dropdown that grows from its trigger. | [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) |\n| **Modal open \u002F close** | Scale-up modal dialog with a softer scale-down on close. | [06-modal.md](.\u002F06-modal.md) |\n| **Panel reveal** | Slide a panel into a region with a cross-blur. | [07-panel-reveal.md](.\u002F07-panel-reveal.md) |\n| **Page side-by-side** | Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). | [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) |\n| **Icon swap** | Cross-fade two icons in the same slot with blur and scale. | [09-icon-swap.md](.\u002F09-icon-swap.md) |\n| **Success check** | Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. | [10-success-check.md](.\u002F10-success-check.md) |\n| **Avatar group hover** | Distance-falloff lift on a row of items with a bouncy spring on return. | [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) |\n| **Error state shake** | Per-segment cubic-bezier shake with auto-reverting border + message. | [12-error-state-shake.md](.\u002F12-error-state-shake.md) |\n\n## Decision rules\n\nWhen the user asks for a transition, match against the visible UI element first, then the verb:\n\n- **Trigger + small dot floating on top** → notification badge.\n- **Trigger + surface that grows from it** → dropdown (anchored, origin-aware) or modal (centered, no anchor).\n- **Surface that slides into a region of the page** → panel reveal.\n- **Two screens, list ↔ detail or step 1 ↔ step 2** → page side-by-side.\n- **Element changes width or height** → card resize.\n- **Element's text content changes in place** → text states swap.\n- **Two icons in the same slot** → icon swap.\n- **A number updates** → number pop-in.\n- **Confirmation \u002F success \u002F \"done\" moment** (checkmark, payment processed, file uploaded) → success check.\n- **Hovering an item in a horizontal stack** (avatars, chips, segmented buttons, tag pills) → avatar group hover.\n- **Form validation error \u002F \"this is wrong\" feedback** (invalid field, wrong PIN, duplicate name) → error state shake.\n\nIf two transitions could fit, prefer the lower-overhead one (card resize over panel reveal, dropdown over modal, success check over a full modal celebration) unless the design clearly calls for the heavier surface. The success check is animation-only — if you also need to swap from a spinner to the check, pair it with **icon swap**.\n\n## Universal install\n\nDrop this `:root` block into your project **once**. Every transition snippet reads from these semantic names — there are no per-component values to chase down later.\n\n```css\n\u002F* transitions-dev — copy this :root block into your project once.\n   Every transition snippet reads from these semantic names. *\u002F\n:root {\n  \u002F* Card resize *\u002F\n  --resize-dur: 300ms;\n  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Number pop-in *\u002F\n  --digit-dur: 500ms;\n  --digit-distance: 8px;\n  --digit-stagger: 70ms;\n  --digit-blur: 2px;\n  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);\n  --digit-dir-x: 0;\n  --digit-dir-y: 1;\n  \u002F* Notification badge *\u002F\n  --badge-slide-dur: 260ms;\n  --badge-pop-dur: 500ms;\n  --badge-pop-close-dur: 180ms;\n  --badge-fade-dur: 400ms;\n  --badge-fade-close-dur: 180ms;\n  --badge-blur: 2px;\n  --badge-offset-x: -8.2px;\n  --badge-offset-y: 12.4px;\n  --badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);\n  --badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);\n  \u002F* Text states swap *\u002F\n  --text-swap-dur: 200ms;\n  --text-swap-translate-y: 8px;\n  --text-swap-blur: 2px;\n  --text-swap-ease: ease-out;\n  \u002F* Menu dropdown *\u002F\n  --dropdown-open-dur: 250ms;\n  --dropdown-close-dur: 150ms;\n  --dropdown-pre-scale: 0.97;\n  --dropdown-closing-scale: 0.99;\n  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Modal open \u002F close *\u002F\n  --modal-open-dur: 250ms;\n  --modal-close-dur: 150ms;\n  --modal-scale: 0.96;\n  --modal-scale-close: 0.96;\n  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Panel reveal *\u002F\n  --panel-open-dur: 400ms;\n  --panel-close-dur: 350ms;\n  --panel-translate-y: 100px;\n  --panel-blur: 2px;\n  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Page side-by-side *\u002F\n  --page-slide-dur: 200ms;\n  --page-fade-dur: 200ms;\n  --page-slide-distance: 8px;\n  --page-blur: 3px;\n  --page-stagger: 0ms;\n  --page-exit-enabled: 1;\n  --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Icon swap *\u002F\n  --icon-swap-dur: 200ms;\n  --icon-swap-blur: 2px;\n  --icon-swap-start-scale: 0.25;\n  --icon-swap-ease: ease-in-out;\n  \u002F* Success check *\u002F\n  --check-opacity-dur: 550ms;\n  --check-rotate-dur: 550ms;\n  --check-rotate-from: 80deg;\n  --check-bob-dur: 450ms;\n  --check-y-amount: 40px;\n  --check-blur-dur: 500ms;\n  --check-blur-from: 10px;\n  --check-path-dur: 550ms;\n  --check-path-delay: 80ms;\n  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);\n  --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Avatar group hover *\u002F\n  --avatar-lift: -4px;\n  --avatar-dur: 320ms;\n  --avatar-scale: 1.05;\n  --avatar-falloff: 0.45;\n  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);\n  --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);\n  \u002F* Error state shake *\u002F\n  --shake-distance: 6px;\n  --shake-overshoot: 4px;\n  --shake-dur-a: 80ms;\n  --shake-dur-b: 60ms;\n  --shake-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --revert-hold: 3000ms;\n  --revert-dur: 280ms;\n}\n```\n\nThe `--pX-*` source tokens used by the live demo at [transitions.dev](https:\u002F\u002Ftransitions.dev) are intentionally **not** exported here. Tunable values are renamed to semantic names (`--badge-*`, `--dropdown-*`, `--modal-*`, …) so the user owns the design vocabulary.\n\n## Output format\n\nWhen inserting a transition into the user's project:\n\n1. **Add the `:root` block above** to the user's global stylesheet, but only if it isn't already there. If the user already imported the universal install block once, do **not** duplicate it.\n2. **Paste the chosen transition's CSS verbatim** from the relevant reference file. Do not rewrite selectors, do not collapse the transition into shorthand, do not strip `will-change`. The snippets are tuned and tested.\n3. **Wire the documented HTML hooks** — class names (`.t-dropdown`, `.t-modal`, `.t-success-check`, `.t-avatar`, `.t-input`, …) and state attributes (`data-open`, `data-state`, `data-page`, `.is-open`, `.is-closing`, `.is-exit`, `.is-enter-start`, `.is-animating`, `.is-error`, `.is-shaking`).\n4. **Preserve the `@media (prefers-reduced-motion: reduce)` block.** Every snippet ships one. Removing it makes the component fail accessibility audits.\n5. **For transitions that need JS** (dropdown, modal, text swap, number pop-in, page slide, success check, avatar group hover, error state shake), copy the small orchestration snippet from the reference file and adapt the selectors to the user's DOM. Keep the timing reads (`getComputedStyle(...)getPropertyValue(\"--…\")`) so durations stay in sync with the `:root` values.\n\nKeep the diff small: only edit the files needed to introduce the transition. Don't rename the user's existing variables, don't reformat unrelated CSS, don't pull in a motion library.\n\n## Common mistakes to avoid\n\n- **Stripping the close-state class cleanup** on dropdown\u002Fmodal — without the `setTimeout` that removes `.is-closing`, the next open jumps from the closing scale instead of the resting pre-open scale.\n- **Forgetting the reflow** in the text swap, number pop-in, success check replay, and error state shake — `void el.offsetWidth` (or `offsetHeight`) between class\u002Fattribute removal and re-addition is what guarantees the animation replays.\n- **Animating a single container** instead of the inner pieces — for the badge, animate the dot, not the trigger; for page slide, animate the page sections, not the container.\n- **Replacing `transition: …` with `transition: all`** — every snippet enumerates exact properties on purpose so unrelated style changes don't ride in for free.\n- **Hardcoding the success check's `stroke-dasharray`** — the snippet ships `20` as a placeholder. Replace it with `path.getTotalLength()` rounded up by 1 for *your* path, otherwise the stroke pre-reveals or over-draws.\n- **Setting `transition-timing-function` in CSS** for the avatar group hover — it has to be set inline in JS *before* the `--shift` \u002F `--scale-active` writes so the bouncy ease-out only applies on `mouseleave`.\n- **Mixing `.is-error` and `.is-shaking` into one class** for the error state shake — keeping them orthogonal is what allows the shake to replay (remove → reflow → re-add) without flickering the whole error treatment.\n\n## Reference files\n\n- [01-card-resize.md](.\u002F01-card-resize.md) — Card resize\n- [02-number-pop-in.md](.\u002F02-number-pop-in.md) — Number pop-in\n- [03-notification-badge.md](.\u002F03-notification-badge.md) — Notification badge\n- [04-text-states-swap.md](.\u002F04-text-states-swap.md) — Text states swap\n- [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) — Menu dropdown\n- [06-modal.md](.\u002F06-modal.md) — Modal open \u002F close\n- [07-panel-reveal.md](.\u002F07-panel-reveal.md) — Panel reveal\n- [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) — Page side-by-side\n- [09-icon-swap.md](.\u002F09-icon-swap.md) — Icon swap\n- [10-success-check.md](.\u002F10-success-check.md) — Success check\n- [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) — Avatar group hover\n- [12-error-state-shake.md](.\u002F12-error-state-shake.md) — Error state shake\n- [_root.css](.\u002F_root.css) — the universal install block on its own, ready to import directly.\n","# Transitions.dev\n\nTwelve portable CSS transitions, each namespaced under `t-*` selectors with semantic CSS custom properties. Drop-in: paste the snippet, wire the documented HTML hooks, done. No framework dependencies, no demo-specific markup, and every snippet ships a `prefers-reduced-motion` guard.\n\n## Quick reference\n\n| Transition | When to use | Reference |\n| --- | --- | --- |\n| **Card resize** | Tween a container's width or height when its layout state changes. | [01-card-resize.md](.\u002F01-card-resize.md) |\n| **Number pop-in** | Re-enter each digit with a blurred slide when a number updates. | [02-number-pop-in.md](.\u002F02-number-pop-in.md) |\n| **Notification badge** | Slide a small badge onto a trigger and pop the dot. | [03-notification-badge.md](.\u002F03-notification-badge.md) |\n| **Text states swap** | Swap text in place with a blurred up-and-down transition. | [04-text-states-swap.md](.\u002F04-text-states-swap.md) |\n| **Menu dropdown** | Open an origin-aware dropdown that grows from its trigger. | [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) |\n| **Modal open \u002F close** | Scale-up modal dialog with a softer scale-down on close. | [06-modal.md](.\u002F06-modal.md) |\n| **Panel reveal** | Slide a panel into a region with a cross-blur. | [07-panel-reveal.md](.\u002F07-panel-reveal.md) |\n| **Page side-by-side** | Slide between two side-by-side pages (list ↔ detail, step 1 ↔ step 2). | [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) |\n| **Icon swap** | Cross-fade two icons in the same slot with blur and scale. | [09-icon-swap.md](.\u002F09-icon-swap.md) |\n| **Success check** | Compose fade + rotate + Y-bob + path stroke-draw to celebrate a completed action. | [10-success-check.md](.\u002F10-success-check.md) |\n| **Avatar group hover** | Distance-falloff lift on a row of items with a bouncy spring on return. | [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) |\n| **Error state shake** | Per-segment cubic-bezier shake with auto-reverting border + message. | [12-error-state-shake.md](.\u002F12-error-state-shake.md) |\n\n## Decision rules\n\nWhen the user asks for a transition, match against the visible UI element first, then the verb:\n\n- **Trigger + small dot floating on top** → notification badge.\n- **Trigger + surface that grows from it** → dropdown (anchored, origin-aware) or modal (centered, no anchor).\n- **Surface that slides into a region of the page** → panel reveal.\n- **Two screens, list ↔ detail or step 1 ↔ step 2** → page side-by-side.\n- **Element changes width or height** → card resize.\n- **Element's text content changes in place** → text states swap.\n- **Two icons in the same slot** → icon swap.\n- **A number updates** → number pop-in.\n- **Confirmation \u002F success \u002F \"done\" moment** (checkmark, payment processed, file uploaded) → success check.\n- **Hovering an item in a horizontal stack** (avatars, chips, segmented buttons, tag pills) → avatar group hover.\n- **Form validation error \u002F \"this is wrong\" feedback** (invalid field, wrong PIN, duplicate name) → error state shake.\n\nIf two transitions could fit, prefer the lower-overhead one (card resize over panel reveal, dropdown over modal, success check over a full modal celebration) unless the design clearly calls for the heavier surface. The success check is animation-only — if you also need to swap from a spinner to the check, pair it with **icon swap**.\n\n## Universal install\n\nDrop this `:root` block into your project **once**. Every transition snippet reads from these semantic names — there are no per-component values to chase down later.\n\n```css\n\u002F* transitions-dev — copy this :root block into your project once.\n   Every transition snippet reads from these semantic names. *\u002F\n:root {\n  \u002F* Card resize *\u002F\n  --resize-dur: 300ms;\n  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Number pop-in *\u002F\n  --digit-dur: 500ms;\n  --digit-distance: 8px;\n  --digit-stagger: 70ms;\n  --digit-blur: 2px;\n  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);\n  --digit-dir-x: 0;\n  --digit-dir-y: 1;\n  \u002F* Notification badge *\u002F\n  --badge-slide-dur: 260ms;\n  --badge-pop-dur: 500ms;\n  --badge-pop-close-dur: 180ms;\n  --badge-fade-dur: 400ms;\n  --badge-fade-close-dur: 180ms;\n  --badge-blur: 2px;\n  --badge-offset-x: -8.2px;\n  --badge-offset-y: 12.4px;\n  --badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);\n  --badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);\n  \u002F* Text states swap *\u002F\n  --text-swap-dur: 200ms;\n  --text-swap-translate-y: 8px;\n  --text-swap-blur: 2px;\n  --text-swap-ease: ease-out;\n  \u002F* Menu dropdown *\u002F\n  --dropdown-open-dur: 250ms;\n  --dropdown-close-dur: 150ms;\n  --dropdown-pre-scale: 0.97;\n  --dropdown-closing-scale: 0.99;\n  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Modal open \u002F close *\u002F\n  --modal-open-dur: 250ms;\n  --modal-close-dur: 150ms;\n  --modal-scale: 0.96;\n  --modal-scale-close: 0.96;\n  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Panel reveal *\u002F\n  --panel-open-dur: 400ms;\n  --panel-close-dur: 350ms;\n  --panel-translate-y: 100px;\n  --panel-blur: 2px;\n  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Page side-by-side *\u002F\n  --page-slide-dur: 200ms;\n  --page-fade-dur: 200ms;\n  --page-slide-distance: 8px;\n  --page-blur: 3px;\n  --page-stagger: 0ms;\n  --page-exit-enabled: 1;\n  --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Icon swap *\u002F\n  --icon-swap-dur: 200ms;\n  --icon-swap-blur: 2px;\n  --icon-swap-start-scale: 0.25;\n  --icon-swap-ease: ease-in-out;\n  \u002F* Success check *\u002F\n  --check-opacity-dur: 550ms;\n  --check-rotate-dur: 550ms;\n  --check-rotate-from: 80deg;\n  --check-bob-dur: 450ms;\n  --check-y-amount: 40px;\n  --check-blur-dur: 500ms;\n  --check-blur-from: 10px;\n  --check-path-dur: 550ms;\n  --check-path-delay: 80ms;\n  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);\n  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);\n  --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* Avatar group hover *\u002F\n  --avatar-lift: -4px;\n  --avatar-dur: 320ms;\n  --avatar-scale: 1.05;\n  --avatar-falloff: 0.45;\n  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);\n  --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);\n  \u002F* Error state shake *\u002F\n  --shake-distance: 6px;\n  --shake-overshoot: 4px;\n  --shake-dur-a: 80ms;\n  --shake-dur-b: 60ms;\n  --shake-ease: cubic-bezier(0.22, 1, 0.36, 1);\n  --revert-hold: 3000ms;\n  --revert-dur: 280ms;\n}\n```\n\nThe `--pX-*` source tokens used by the live demo at [transitions.dev](https:\u002F\u002Ftransitions.dev) are intentionally **not** exported here. Tunable values are renamed to semantic names (`--badge-*`, `--dropdown-*`, `--modal-*`, …) so the user owns the design vocabulary.\n\n## Output format\n\nWhen inserting a transition into the user's project:\n\n1. **Add the `:root` block above** to the user's global stylesheet, but only if it isn't already there. If the user already imported the universal install block once, do **not** duplicate it.\n2. **Paste the chosen transition's CSS verbatim** from the relevant reference file. Do not rewrite selectors, do not collapse the transition into shorthand, do not strip `will-change`. The snippets are tuned and tested.\n3. **Wire the documented HTML hooks** — class names (`.t-dropdown`, `.t-modal`, `.t-success-check`, `.t-avatar`, `.t-input`, …) and state attributes (`data-open`, `data-state`, `data-page`, `.is-open`, `.is-closing`, `.is-exit`, `.is-enter-start`, `.is-animating`, `.is-error`, `.is-shaking`).\n4. **Preserve the `@media (prefers-reduced-motion: reduce)` block.** Every snippet ships one. Removing it makes the component fail accessibility audits.\n5. **For transitions that need JS** (dropdown, modal, text swap, number pop-in, page slide, success check, avatar group hover, error state shake), copy the small orchestration snippet from the reference file and adapt the selectors to the user's DOM. Keep the timing reads (`getComputedStyle(...)getPropertyValue(\"--…\")`) so durations stay in sync with the `:root` values.\n\nKeep the diff small: only edit the files needed to introduce the transition. Don't rename the user's existing variables, don't reformat unrelated CSS, don't pull in a motion library.\n\n## Common mistakes to avoid\n\n- **Stripping the close-state class cleanup** on dropdown\u002Fmodal — without the `setTimeout` that removes `.is-closing`, the next open jumps from the closing scale instead of the resting pre-open scale.\n- **Forgetting the reflow** in the text swap, number pop-in, success check replay, and error state shake — `void el.offsetWidth` (or `offsetHeight`) between class\u002Fattribute removal and re-addition is what guarantees the animation replays.\n- **Animating a single container** instead of the inner pieces — for the badge, animate the dot, not the trigger; for page slide, animate the page sections, not the container.\n- **Replacing `transition: …` with `transition: all`** — every snippet enumerates exact properties on purpose so unrelated style changes don't ride in for free.\n- **Hardcoding the success check's `stroke-dasharray`** — the snippet ships `20` as a placeholder. Replace it with `path.getTotalLength()` rounded up by 1 for *your* path, otherwise the stroke pre-reveals or over-draws.\n- **Setting `transition-timing-function` in CSS** for the avatar group hover — it has to be set inline in JS *before* the `--shift` \u002F `--scale-active` writes so the bouncy ease-out only applies on `mouseleave`.\n- **Mixing `.is-error` and `.is-shaking` into one class** for the error state shake — keeping them orthogonal is what allows the shake to replay (remove → reflow → re-add) without flickering the whole error treatment.\n\n## Reference files\n\n- [01-card-resize.md](.\u002F01-card-resize.md) — Card resize\n- [02-number-pop-in.md](.\u002F02-number-pop-in.md) — Number pop-in\n- [03-notification-badge.md](.\u002F03-notification-badge.md) — Notification badge\n- [04-text-states-swap.md](.\u002F04-text-states-swap.md) — Text states swap\n- [05-menu-dropdown.md](.\u002F05-menu-dropdown.md) — Menu dropdown\n- [06-modal.md](.\u002F06-modal.md) — Modal open \u002F close\n- [07-panel-reveal.md](.\u002F07-panel-reveal.md) — Panel reveal\n- [08-page-side-by-side.md](.\u002F08-page-side-by-side.md) — Page side-by-side\n- [09-icon-swap.md](.\u002F09-icon-swap.md) — Icon swap\n- [10-success-check.md](.\u002F10-success-check.md) — Success check\n- [11-avatar-group-hover.md](.\u002F11-avatar-group-hover.md) — Avatar group hover\n- [12-error-state-shake.md](.\u002F12-error-state-shake.md) — Error state shake\n- [_root.css](.\u002F_root.css) — the universal install block on its own, ready to import directly.\n",{"name":5,"description":7},"main","f270c4ae4f9d09c4e5da9cfa8adab7e89ae1f53e","packaged-skills\u002Foptional\u002Fdesign\u002Fjakubantalik\u002Ftransitions-dev",4,"https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos","https:\u002F\u002Fgithub.com\u002FLiamVisionary","2026-11-10 21:48:41",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add LiamVisionary\u002Fhivemindos --skill transitions-dev",{"tool":36,"command":37},"bunx","bunx skills add LiamVisionary\u002Fhivemindos --skill transitions-dev",{"tool":39,"command":40},"pnpm","pnpm dlx skills add LiamVisionary\u002Fhivemindos --skill transitions-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fpackaged-skills\u002Foptional\u002Fdesign\u002Fjakubantalik\u002Ftransitions-dev\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},".hivemind-skill-source.json","REFERENCE","参考文档",1486,"https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fpackaged-skills\u002Foptional\u002Fdesign\u002Fjakubantalik\u002Ftransitions-dev\u002F.hivemind-skill-source.json",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M734AA85KQEXDQXQJ3T7769M","tailscale-generation-skill-authoring","This skill should be used when the user asks to \"create a Tailscale generation skill\", \"add a local generation skill\", \"document a generation endpoint\", \"add an image generation provider\", \"add a TTS provider\", \"add video generation\", \"add 3D generation\", or needs guidance on where HivemindOS Tailscale or local generation providers belong in the shared skills shelf.","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fskills\u002Ftailscale-generation-skill-authoring\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M734A7VD69PRA0C0EV5EFY9T","localtts","This skill should be used when the user asks to \"generate local TTS\", \"use local text to speech\", \"use remote TTS over Tailscale\", \"make speech audio\", \"add a TTS provider\", \"use Qwen3-TTS\", or needs TTS endpoint setup through local or HivemindOS Tailscale routes.","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fskills\u002Flocaltts\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M734A4K2Z0F74QZP7V7WBFRY","karpathy-guidelines","Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fskills\u002Fkarpathy-guidelines\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M734A1HMVYVJX3YJGNQ6KF6C","comfyui-image-generation","This skill should be used when the user asks to \"generate images\", \"generate images with ComfyUI\", \"use local ComfyUI\", \"use remote ComfyUI\", \"use Z-Image\", \"add an image generation provider\", or needs image-generation endpoint setup through local or HivemindOS Tailscale routes.","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fskills\u002Fcomfyui-image-generation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7349Y684Q676DNNHZPSC8W1","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fskills\u002Fcloudflare\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7349V3WCBF835QP74SA9Q8C","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FLiamVisionary\u002Fhivemindos\u002Fblob\u002Fmain\u002Fskills\u002Fcloudflare\u002Fworkers-best-practices\u002FSKILL.md",[],[]]