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:

  1. Spring vs Duration Decision Matrix (Section 22) → Use Spring physics ONLY for interruptible gestures, drag, toggles, and playful badges
  2. Modal & Dropdown Rule → Use deterministic cubic-bezier curves (cubic-bezier(0.16, 1, 0.3, 1)) for modals, dropdowns, and route transitions
  3. Anti-Conflict Rule (Section 46) → Never specify both duration AND spring stiffness/damping parameters 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.
Installs
1
GitHub Stars
7
First Seen
Sep 13, 2026