Motion Director
Workflow
- Identify the output target: product UI, landing page, social video, GIF, design prototype, or embedded animation asset.
- Define the job of motion: guide attention, explain state, create delight, teach a concept, or express brand.
- Inspect the existing implementation and choose the lightest suitable stack:
- Native CSS transitions for simple hover, press, and state feedback.
- Motion for React UI state and layout transitions.
- GSAP for timelines, scroll, SVG, text, and high-control choreography.
- Rive for interactive state-machine animation.
- Lottie for portable vector loops.
- Remotion for rendered video/GIF.
- Three.js for spatial/3D scenes.
- Specify timing tokens, easing, stagger rules, and reduced-motion behavior.
- Patch the owned code, or provide a concrete handoff if this session cannot write it. Do not start another agent without authorization.
- Capture output and use the bundled motion quality rubric. Leave unobserved categories unscored.
Interaction contract
- Decide whether motion helps before adding it. Keep frequent keyboard commands immediate; never delay focus or input behind an entrance.
- Reuse existing tokens. For occasional UI transitions, start at 150-250 ms with an ease-out curve; explain longer narrative timing separately.
- Prefer transform and opacity, and name transition properties explicitly. Check actual browser behavior before claiming compositor acceleration.
- Define interruption, reversal, exit, and cleanup. Repeated clicks must settle to the latest requested state.
- Gate hover-only movement with
(hover: hover) and (pointer: fine). Keep a visible keyboard focus state and touch access to every action. - Design reduced motion before implementation: preserve content, state, and reading order with static or gentle opacity/color feedback.
- Pause continuous decoration when hidden or off-screen. Preserve meaningful progress and status information.
Verification and boundaries
Inspect desktop, a phone width, keyboard focus, touch behavior, reduced motion, and a transition interrupted in both directions. Cite the exact code revision and evidence paths. A build or screenshot alone cannot establish smoothness, touch behavior, or motion quality.
Read the current Motion documentation or GSAP documentation for the installed runtime before changing APIs. This skill supplies direction; it does not install a renderer or grant permission to spend, publish, or change unrelated files.
Output Shape
Return:
- Motion goal
- Recommended stack
- Choreography
- Timing/easing tokens
- Reduced-motion path
- Implementation notes
- QA checklist
