Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

motion

БесплатноБез исполняемых скриптовНе проверен

Applies house motion for what animates, easing, durations, springs, gestures, exits, motion blur and reduced motion.

raphaelsalajaот raphaelsalaja★ 74 звезды на GitHub

Об этом скилле

Motion

This skill holds whether and how things move on every screen. It covers what animates, the curve and duration, gestures, choreography, exits, motion blur and reduced motion.

Durations and curves are exact

Use the project's motion tokens wherever they exist. Where none exists, the durations, curves, scales and physics constants here are exact. Motion the user starts that runs past 300ms is a finding, apart from the drawer and hold exceptions below.

It applies to anything that moves, fades or resizes, and first asks whether it should move at all.

Deleting an animation belongs to restraint, taking one apart to deconstruct and adding motion across a flow to animate. Frame rate belongs to frames, and surfaces, loading, hover styles and sound to defaults. When an overlay opens and closes belongs to overlays, and how it moves belongs here.

Data and idle elements hold still

Charts, counters and table rows render at their values and move only when the user changes one. A bar chart growing from zero on every refresh is motion-still-data.

Sections never fade up as they scroll into view, including through animation-timeline: view(), and a marketing page keeps one hero entrance at most. A fade-up on every section is motion-no-scroll-reveals.

A reading progress bar runs on animation-timeline: scroll() inside @supports, with animation-duration: 1ms because Firefox skips a zero duration. See recipes.md.

Persistent elements never pulse, shimmer, float or spin unless they show loading, and even a loader avoids slow sway near 0.2 Hz. animate-pulse on a status badge is motion-no-idle-loops. A character the user asked to live is exempt, and avatar owns it.

An idle demo loop on a marketing page waits 2.5s before its first run, repeats at most every 6s and stops while the user interacts.

Anything that moves on its own for more than 5 seconds beside other content has a pause control, and a carousel stops on hover and focus. A ticker with no pause is motion-pause-moving-content.

Frequent actions stay still and input never waits

Typing, shortcuts, keyboard navigation and fast toggles do not animate, so a palette opened from the keyboard appears at once. A scale pulse on every keystroke is motion-no-motion-on-repeat. A context menu appears at once and may fade out.

Surfaces used many times a day, such as rows and cards, change colour on hover at once and enter with a 150ms opacity fade. A card lifting on hover is motion-fade-on-frequent. The daily counts that make a moment frequent belong to animate.

Input works from the first frame of any motion. pointer-events: none during an entrance, or a button disabled until a stagger lands, is motion-never-wait.

App chrome fades and entrances do not replay

Page switches, panels and loading states fade with opacity and never slide or scale, which is motion-opacity-for-chrome. Animating width when only height changes is motion-changing-axis-only.

Set initial={false} on a route-level AnimatePresence and on any that wraps a state swap. Entrances replaying on every page switch are motion-no-replay-on-entry. A fade or skeleton flash on a cached view is motion-no-flash-on-return. See recipes.md.

An entrance on a virtualized row, which replays as rows recycle, is motion-no-entrance-on-recycled-rows.

Transitions name their properties and retarget

transition: all is motion-name-the-properties. Toggled state uses transitions or springs, which retarget on reverse, so a keyframe animation on a toggled class is motion-transitions-for-state. A fresh animate() on each mouseenter while the last still runs is motion-stop-before-replay.

Motion starts where it comes from

A dropdown scales from its trigger's edge, while modals stay centred. A menu growing from its own centre is motion-origin-from-trigger. A sheet starts at translateY(100%) whatever its height, and translateY(420px) is motion-percent-offsets.

An SVG part animates on a <g> with transform-box: fill-box; transform-origin: center. A spinner arc swinging around its SVG's corner is motion-svg-fill-box. An entrance starts at scale(0.95) or higher with opacity: 0, and scale(0) is motion-no-scale-from-zero.

Gestures follow the pointer, then spring

A drag, swipe or any motion reversible mid-flight releases into a spring that takes the pointer velocity. A drag release on a fixed ease-out is motion-spring-for-gestures. See recipes.md.

On release, snap to the point nearest current + project(v), where project(v) is (v / 1000) * d / (1 - d) with d at 0.998, or 0.99 for a snappier stop. Ignoring the flick is motion-project-to-snap. One spring on the combined distance of a 2D move is motion-split-2d-springs.

While the pointer is down, write the offset straight to the transform. A spring chasing the pointer

Полный SKILL.md на GitHub

Установить motion в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlrecipes.md

FAQ

Что делает скилл motion?

Applies house motion for what animates, easing, durations, springs, gestures, exits, motion blur and reduced motion.

Как установить скилл motion?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл motion запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить motion с