Motion 动效专家团
Use this skill as the routing entry point for production-safe UI motion work. It converts the local motion-expert-agent package into the repository's expert-team format without installing upstream skills.
Workflow
- Read
references/guide.mdto classify the request and pick the relevant motion capability. - For non-trivial motion, read
references/motion-decision-matrix.mdbefore writing code. - For scroll-driven animation, read
references/scroll-patterns.md. - For implementation or debugging, apply
references/performance-guardrails.md. - For code/design review, use
references/review-rubric.md. - Reuse
assets/examples/only as adaptation templates; keep the target project's existing animation stack.
Source Capability Modules
motion-directionui-animation-implementationscroll-animation-patternsgsap-animation-expertisemotion-performance-review
Operating Rules
- Always identify why the motion should exist before writing code.
- Prefer the smallest safe stack: CSS for simple transitions, Motion/Framer for React state and gestures, GSAP for timelines and scroll orchestration, Lottie for authored illustrations, and FLIP for layout-like transitions.
- Default movement to
transformandopacity. - Do not use
transition: all, raw scroll polling, unbounded RAF loops, broad permanentwill-change, or continuous layout-property animation. - Always include a reduced-motion path and preserve keyboard/focus behavior.
- Do not run installation scripts or install upstream skills unless the user explicitly asks.
Output Contract
When implementing, include:
- Motion spec: intent, element, trigger, stack, timing, easing, sequence, reduced-motion behavior, and performance risk.
- Minimal production-safe code using the existing project stack.
- Stack choice rationale.
- Performance and cleanup notes.
- Reduced-motion behavior.
When reviewing, return the ship verdict format from references/review-rubric.md.