Command Palette

Search for a command to run...

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

ui-transition-motion

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

Use when user asks to design, choose, explain, or implement UI transitions, motion patterns, easing/timing choices, state-change animations, shared-element…

Dwsyот Dwsy★ 26 звёзд на GitHub

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

UI Transition Motion

Use this skill to turn vague motion requests into a concrete transition choice.

Core idea: most premium UI motion in product work can be framed as one of three transition families:

  • Context Transition: content changes inside same surrounding layout.
  • Drill Transition: user moves from broad view into deeper detail.
  • Continuity Transition: shared element persists and morphs into next state.

Read references/three-transition-reference.md when you need fuller definitions, examples, prompt snippets, or platform mapping.

Read references/web-motion-principles.md when user needs better timing, easing, performance, or the answer to why does this motion feel wrong?.

Read references/web-pattern-catalog.md when user needs concrete UI motion patterns such as modal open/close, panel reveal, text swap, icon swap, badge pop, page transition, number animation, or card resize.

Workflow

  1. Identify what is changing.
  2. Classify transition family.
  3. Explain why that family fits.
  4. Describe motion behavior in product language.
  5. If user wants implementation, map it to concrete APIs for that stack.
  6. If motion feels off, diagnose timing, easing, animated properties, and hierarchy before changing style.

Fast Classification

Choose Context Transition when:

  • surrounding frame stays same
  • content swaps inside fixed area
  • user is still in same page context
  • examples: tabs, filters, segmented controls, list state changes, panel content refresh

Choose Drill Transition when:

  • user goes from summary to detail
  • hierarchy deepens by one level
  • navigation should feel like entering a sub-layer
  • examples: list item to detail page, feed to post, folder to subfolder, dashboard card to detailed view

Choose Continuity Transition when:

  • one visible element exists in both states
  • that element should keep identity while resizing, expanding, or morphing
  • spatial continuity matters more than simple navigation depth
  • examples: card to fullscreen, avatar to profile sheet, mini player to full player, FAB to radial/menu surface

Decision Rules

Use this order:

  1. If there is a strong shared element across states, prefer Continuity Transition.
  2. Else if user is clearly entering deeper hierarchy, use Drill Transition.
  3. Else use Context Transition.

This prevents overusing dramatic shared-element motion for ordinary content swaps.

Motion Principles

Do not treat motion as decoration. Treat it as interaction semantics plus perceptual tuning.

  • choose transition family first
  • then choose timing and easing
  • animate properties that preserve performance, usually transform and opacity
  • make motion reinforce hierarchy, not fight it
  • use strongest motion on structure changes, lighter motion on local state changes

If user says motion feels wrong, inspect these in order:

  1. Wrong transition family
  2. Wrong easing curve
  3. Wrong duration
  4. Wrong animated properties
  5. Too much motion on secondary elements

Output Format

When advising user or another model, structure answer like this:

Transition choice: [Context | Drill | Continuity]
Reason: [one concise sentence]
Motion spec:
- [key visual behavior]
- [what stays stable]
- [what moves or transforms]
Prompt snippet:
"..."
Implementation notes:
- [stack-specific API or CSS/animation hint]

Prompting Rules

Avoid vague motion guidance like make it dynamic or add nice animation.

Instead, name:

  • transition family
  • what remains visually stable
  • what changes
  • spatial direction or morphing behavior
  • easing character: crisp, gentle, springy, inertial, decelerated
  • duration band: fast, moderate, deliberate
  • desired feeling: calm, premium, fast, spatial, layered, immersive

For stronger prompts, also name:

  • entry behavior
  • exit behavior
  • interruption behavior
  • whether motion is reversible
  • whether shared elements must preserve radius, scale, and clipping continuity

Implementation Guidance

For web and React:

  • Context Transition: prefer content crossfade, subtle translate, or View Transitions API while keeping shell stable.
  • Drill Transition: use directional slide/scale with clear enter/back relationship.
  • Continuity Transition: use shared-element techniques such as Framer Motion layoutId, Motion layout, or platform view transitions.

For motion quality:

  • prefer animating transform and opacity over layout-heavy properties
  • use springs for interruptible UI state changes and continuity-heavy expansion
  • use duration-based easing for simple one-shot reveals, fades, and microfeedback
  • keep enter and exit asymmetry intentional; exit can be slightly faster than enter
  • blur can help perception during text/icon/content swaps, but keep it subtle

When implementing common app motion, start from pattern families in [references/web-pattern-catalog.md](referenc

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

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

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

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

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

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

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

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

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

references/three-transition-reference.mdreferences/web-motion-principles.mdreferences/web-pattern-catalog.md

FAQ

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

Use when user asks to design, choose, explain, or implement UI transitions, motion patterns, easing/timing choices, state-change animations, shared-element effects, drill-down navigation, tab/filter/list/detail switching, or vague requests like "make this feel smoother", "more iOS", "more natural", or "animate this UI" that need concrete motion taxonomy and implementation guidance.

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

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

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

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

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

Сравнить ui-transition-motion с