Agent skill Web motion
To Spring Or Not To Spring
Design, implement or review motion on the web.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/raphaelsalaja/skills/tree/f2ebb04413252993c5245f5920fdf91b09b1915e/skills/to-spring-or-not-to-spring --skill to-spring-or-not-to-spring --agent claude-code --yesCheck this file in your project.claude/skills/to-spring-or-not-to-spring/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/raphaelsalaja/skills/tree/f2ebb04413252993c5245f5920fdf91b09b1915e/skills/to-spring-or-not-to-spring --skill to-spring-or-not-to-springSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. The pinned Raphael skill v2.0.0 and a browser-testable original interaction with drag and a system status.
View operation manualWhat this skill helps with
- Design, implement or review motion on the web.
Good for
- Web motion and transitions
- Publisher
- Raphael Salaja
- Control points
- spring retargeting · drag-end velocity · easing · linear progress
- Result
- A timing review with an interruptible gesture, bounded status feedback, and honest linear progress.
- Skill name
to-spring-or-not-to-spring- Repository
raphaelsalaja/skills
Common pitfall
Avoid this prompt
Use the same 300ms ease-out for a fast flick and for time-based progress.
A fixed curve loses gesture momentum, while easing a progress representation changes the apparent timing.
Use these steps
- Inspect source and behavior
- Apply the documented technique
- Verify the original interaction
Project walkthrough
Audit a drag release, an ordinary status update, and a progress value using separate timing choices.
Audit a drag release, an ordinary status update, and a progress value using separate timing choices.
Inspect source and behavior
Inspect source and behavior
Prompt · Step 1Use To Spring or Not To Spring v2.0.0 to audit [my draggable queue tile]. List the drag release, its saved status, and any timed progress. Record current durations, ability to interrupt, and rule IDs from the pinned skill.Apply the documented technique
Apply the documented technique
Prompt · Step 2For the approved update, keep one spring value for gesture travel and retarget it from the current pose. When animating a release using Motion animate with a spring, pass the real drag-end velocity when it determines the feel. Keep the saved status’s short fade separate and map true time-based progress linearly. Provide immediate movement under reduced motion.Verify the original interaction
A fast and slow gesture produce different initial motion while status and true progress remain independent.
- A fast and slow gesture produce different initial motion while status and true progress remain independent.
Prompt · Step 3Perform a slow release and a fast flick, then interrupt and reverse once. Check the starting release motion and final position, compare timed progress at its midpoint, and verify the status remains legible with reduced motion. Report the gesture and system timings separately.
Implementation lookup
Find the documented inputs and verification target for this walkthrough.
Check the control pointsInputs
- Command or reference
spring retargeting · drag-end velocity · easing · linear progress- Examples
- A fast and slow gesture produce different initial motion while status and true progress remain independent.
FAQ
Should a progress bar bounce?
Use a linear timeline for time-based progress, or set a determinate bar from the actual measured fraction.
Where are the instructions?
Open the installed SKILL.md and following references for the selected technique. The publisher link points to the revision verified for this handbook.