Skill library

Agent skill Web motion

Feel

Design, implement or review motion on the web.

  • Animation
  • Interaction design

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add diip3sh/feel --skill feel --agent claude-code --yes

Check this file in your project.claude/skills/feel/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add diip3sh/feel --skill feel

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An existing switch with two states, the installed Feel runtime and rig, Node.js for the audit, and a browser for interactive verification.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Task
Make one pointer-responsive setting switch using a physical model
Requirements
An existing switch with two states, the installed Feel runtime and rig, Node.js for the audit, and a browser for interactive verification.
Deliverable
One working switch interaction, the reason for each physical parameter, an audit result and observed behavior.
Skill name
feel
Repository
diip3sh/feel

Start from the actual design decision

An underspecified request

Pick a 300 ms CSS transition and call it spring motion.

A fixed transition lacks a physical state model for interruption and pointer release.

A result you can check

  1. One switch, one body, two stable states.
  2. Derive position from the physical body and preserve controls.
  3. Verify rules and interaction separately.

Feel operation manual

One working switch interaction, the reason for each physical parameter, an audit result and observed behavior.

An existing switch with two states, the installed Feel runtime and rig, Node.js for the audit, and a browser for interactive verification.

  1. Describe the feel and model

    One switch, one body, two stable states.

    Prompt · Step 1
    Use diip3sh’s installed feel Skill and read its SKILL.md first.
    
    Treat [focus light switch] as one interaction. Map the requested words “heavy, snappy” with Feel.words, then write mass, natural frequency and damping with one sentence each for their purpose. Read models.md and choose a spring to a target with wall limits for the thumb.
  2. Connect the actual switch and rig

    Derive position from the physical body and preserve controls.

    Prompt · Step 2
    Use diip3sh’s installed feel Skill and read its SKILL.md first.
    
    Use the existing switch semantics and the installed heavy-toggle example as a code reference. Drive the thumb from the body, make pointer input interruptible, and keep equivalent keyboard operation and reduced-motion state changes. Put it in Feel.rig and compare initial measures with the motion trace.
  3. Run the audit and inspect browser behavior

    Verify rules and interaction separately.

    • The installed audit passes for the implementation, with browser evidence for interruption, keyboard and reduced motion or a clear pending list.
    Prompt · Step 3
    Use diip3sh’s installed feel Skill and read its SKILL.md first.
    
    Run node [installed Feel folder]/scripts/audit.mjs [switch implementation] --feel "heavy, snappy". In the local browser try a slow drag, a quick release, an interrupted return, the keyboard and reduced motion. Record actual results, including any path or rig difference and which tests were unavailable.

Find the relevant source guidance

Read the cited section in your installed Skill.

Make one pointer-responsive setting switch using a physical modelSKILL.md
Command or reference
Workflow and The runtime
Examples
The installed audit passes for the implementation, with browser evidence for interruption, keyboard and reduced motion or a clear pending list.

Troubleshooting

Does a passing audit mean my hand feel is correct?

The audit verifies code and model constraints. The rig and browser operation provide the remaining evidence about the actual interaction.