to-spring-or-not-to-spring
Installation
SKILL.md
To Spring or Not to Spring — Motion Physics Decision Matrix
Mandatory Pre-Flight Context Inspection
Before selecting animation model (Spring vs Cubic-Bezier), you MUST inspect:
- Spring vs Duration Decision Matrix (Section 22) → Use Spring physics ONLY for interruptible gestures, drag, toggles, and playful badges
- Modal & Dropdown Rule → Use deterministic cubic-bezier curves (
cubic-bezier(0.16, 1, 0.3, 1)) for modals, dropdowns, and route transitions - Anti-Conflict Rule (Section 46) → Never specify both
durationAND springstiffness/dampingparameters together in Framer Motion
Decide when to use physics-driven spring models (Framer Motion / Reanimated) vs duration-based cubic-bezier easing curves.
Activation Boundaries
- Activate when: Operating in tasks requiring Audit and decide when to use physics-based spring animations (stiffness, damping, mass) vs duration-based cubic-bezier easing curves..
- DO NOT activate when: The task falls strictly outside to-spring-or-not-to-spring domain or belongs to a different dedicated specialist.