Command Palette

Search for a command to run...

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

design-motion

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

Use when adding or reviewing motion on an already-settled layout or component — never to hide or compensate for an unfinished one.

Fusengineот Fusengine★ 36 звёзд на GitHub

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

A motion pass applied on top of an already-settled layout: the animation-decision gate (should this even animate, what's its purpose, what easing, what duration), transform/opacity-first materials, the 100/300/500ms duration scale, exponential/emphasized easing curves (bounce and elastic are banned outright), and the mandatory `prefers-reduced-motion` fallback shipped in the same pass.

Also enforces the ban on the AI motion signature (opacity:0 + translateY(20px) + ease-in-out applied uniformly to every entrance).

Runs only after the static body/component exists (design-web, design-webapp, design-ios, design-android) — never used to hide or compensate for an unfinished layout.

Design Motion — Timing, Easing, Materials, Restraint

When

After the static body/component exists. Motion is applied on top of a settled layout — never used to compensate for or distract from an unfinished one. Hands off to design-review next (Part 1 checks the reduced-motion fallback + transform/opacity discipline; Part 2's motion-verdict.md issues the Block/Approve).

Input

  • design-system.md motion personality / MOTION_INTENSITY dial (1-10).
  • The static markup/components to animate.

The animation gate — before writing any motion code

Run every candidate through references/animation-decision-framework.md's 4 questions, in order: (1) should this animate at all — frequency decides, never animate keyboard-initiated or 100+/day actions; (2) what's the one-sentence purpose (spatial consistency / state indication / explanation / feedback / preventing jarring change); (3) what easing; (4) what duration. Most "let's animate this" ideas should die at question 1 — that is the point, not a formality to skip.

Materials — transform/opacity first, other properties gated

Default to transform and opacity — they skip layout and paint and run on the GPU. Animating width/height/top/left/margin/padding triggers layout+paint+composite and drops frames; see references/motion-performance.md for the Framer Motion shorthand caveat (x/y/scale shorthands are NOT hardware-accelerated, use the full transform string), the CSS-var recalc trap (never drive child transforms via a custom property on the parent), CSS transitions vs. keyframes for interruptible UI, and velocity-based drag dismissal (~0.11 threshold, not distance alone). Other atmospheric materials — blur, backdrop-filter, clip-path, shadow bloom, masks — are allowed when they demonstrably read as premium and stay smooth on the target viewports, verified in-browser, never a default reach; keep expensive effects bounded to small/isolated areas. references/motion-physics.md covers physical-correctness rules for whichever material is used: never scale(0), origin-aware popovers, asymmetric enter/exit timing (exit ~75% of enter duration), staggered lists (cap total stagger time), blur masking, @starting-style.

Durations — the 100/300/500 rule

Tier Duration Use
Micro 100-150ms button press, toggle, instant feedback
State 200-300ms menu open, tooltip, hover states
Layout 300-500ms accordion, modal, drawer
Entrance 500-800ms page load, hero reveal

Exit animations run at ~75% of the matching enter duration. Hard rule for anything that isn't a marketing/explanatory sequence: UI feedback stays under 300ms — a 180ms dropdown reads as more responsive than a 400ms one (references/animation-decision-framework.md §4).

Easing — exponential/emphasized, no bounce

Entering/exiting → ease-out. Moving/morphing on-screen (A→B) or state toggles → ease-in-out. Hover/color change → ease. Constant motion (marquee, progress) → linear. Never ease-in on UI — it delays the exact moment the user is watching most closely. Use the strong custom curves in references/motion-tokens.md (--ease-out: cubic-bezier(0.23, 1, 0.32, 1), --ease-in-out, --ease-drawer) or the exponential/quint-out family (cubic-bezier(0.16, 1, 0.3, 1) and similar) — never the weak built-in CSS easings. Bounce and elastic curves are banned outright — they read as a toy interaction, not a premium one. Hard mechanical gate, zero tolerance: any cubic-bezier with a y-control-point > 1, or the literal elastic/bounce keywords, fails design-review/references/pre-flight-checklist.md check 9. Springs (when used — gesture-driven/interruptible motion only) keep bounce in 0.1-0.3, biased toward 0.1 for dashboards/product register and up to 0.3 for playful/brand register.

Reduced motion — mandatory, not optional

Every animated deliverable ships a prefers-reduced-motion: reduce fallback in the same commit — never a follow-up pass. Full patterns: references/reduced-motion.md (global override, Framer Motion's useReducedMotion()/MotionConfig, per-animation-type disable-vs-simplify table, WCAG 2.2 SC 2.3.3/2.3.1/2.2.2). Disable spatial movement entirely (paral

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

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

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

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

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

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

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

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

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

references/animation-decision-framework.mdreferences/animation-glossary.mdreferences/entrance-patterns.mdreferences/glassmorphism-advanced-ref.mdreferences/gsap-scroll-skeletons.mdreferences/interactive-states-ref.mdreferences/layered-backgrounds-ref.mdreferences/micro-interactions.mdreferences/motion-patterns.mdreferences/motion-performance.mdreferences/motion-physics.mdreferences/motion-principles.mdreferences/motion-tokens.mdreferences/page-transitions.mdreferences/patterns-buttons.mdreferences/patterns-cards.mdreferences/patterns-microinteractions.mdreferences/patterns-navigation.mdreferences/reduced-motion.md

FAQ

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

Use when adding or reviewing motion on an already-settled layout or component — never to hide or compensate for an unfinished one.

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

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

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

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

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

Сравнить design-motion с