motion-implement

Implements UI motion and animation by gating necessity and selecting mechanisms, timing, and reduced-motion variants.

1|Updated Sep 11, 2026
One-click install
npx skills add https://github.com/rebuildup/my-web-2026 --skill motion-implement-rebuildup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion-implement
Source: https://github.com/rebuildup/my-web-2026/tree/main/skills/motion-implement
Command: npx skills add https://github.com/rebuildup/my-web-2026 --skill motion-implement-rebuildup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adding animation to a web project often leads to unnecessary motion, duplicated motion systems, magic-number timings, and inaccessible experiences. This Skill provides a disciplined, ordered workflow for deciding whether motion is needed at all and then implementing it correctly within an existing project. ## Core Features & Use Cases - Motion Gate: Evaluates frequency, purpose, interference, and spatial continuity before writing any animation, treating "no animation" as a valid successful outcome. - Mechanism Selection: Chooses the cheapest suitable tool — CSS transitions, CSS animations, WAAPI, an existing motion library, or View Transition API — based on the interaction type rather than library availability. - Timing, Interruption & Reduced Motion: Derives duration from project tokens and reference hierarchies, ensures animations are interruptible and reversible, and defines reduced-motion variants for meaningful movement. - Use Case: When adding a route transition or a micro-interaction to a React/TanStack Start project, use this Skill to inspect existing motion tokens, pick the right mechanism, align direction with spatial continuity, and verify rendered behavior across input types. ## Quick Start Ask the agent to implement a specific animation, such as "add an enter transition to this modal following the motion-implement workflow," and it will gate, design, implement, and verify the motion.

Frequently Asked Questions about motion-implement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decide whether a UI animation is necessary?

Run the motion through a gate checking frequency, purpose, interference, and spatial continuity. If the motion fails the gate, skip the animation entirely and use an instant state change instead, treating that as a successful outcome.

How do I choose between CSS transitions, WAAPI, and a motion library?

Pick the cheapest suitable mechanism: CSS transitions for simple state feedback, CSS animations for deterministic sequences, WAAPI for imperative browser control, and an existing motion library for gestures, springs, or shared layout. Never add a library just because it exists.

How should animation timing and duration be determined?

Derive timing from existing project tokens and reference hierarchies rather than fixed universal defaults. Keep frequent feedback short, allow longer durations for large scene changes, never make exits block the user, and use stagger only to show hierarchy.

How do I handle reduced motion accessibility for animations?

Define a reduced-motion variant for every meaningful animation: convert large movement to fades or reduced distance, parallax to static, ambient loops to stills, and bounce to tighter responses. Also avoid using hover as the primary feedback on touch devices.

Why does my animation feel broken during rapid clicks or interruptions?

Animations that cannot be reversed, cancelled, or retargeted mid-flight block the UI during repeated input. Design every repeated action to be interruptible, and verify behavior under rapid clicks, target switches, scrolling away, and resizing.