motion-design
Installation
SKILL.md
Motion Design
Produces motion that explains the interface: each animation has a stated purpose, uses durations and easings from a small token set, has a reduced-motion fallback, and animates only compositor-friendly properties.
When to use
- "Add some animation", "make it feel smoother" or "make it feel more alive"
- Defining hover, press, toggle and focus feedback
- Transitions for menus, modals, drawers, toasts, accordions and route changes
- Motion that feels sluggish, janky or distracting
- Setting up motion tokens for a design system
Workflow
- Gather: stack (plain CSS, or React with Motion, formerly Framer Motion, already installed), brand character (calm or energetic) and the interactions in scope. Default to CSS; use Motion only if it is already a dependency or requested.
- Give each candidate animation one purpose: feedback (confirms an action), orientation (shows where something came from or went), continuity (preserves context between states) or attention (rare). No purpose, no animation.
- Assign duration by size and travel distance, and easing by direction.
- Choreograph groups: what leads, what follows, stagger interval and cap.
- Write the reduced-motion fallback for each animation.
- Implement with transform and opacity; test with 4× CPU throttling and on a low-end phone.
- Store durations and easings as tokens (design-tokens).