Skill library

Agent skill Web motion

Anatomy

Design, implement or review motion on the web.

  • Animation

Install the skill

Installation method

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

npx skills@latest add wheresryan22/anatomy --skill anatomy --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add wheresryan22/anatomy --skill anatomy

    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. A mechanism or technical concept, true values and limits, optional brand direction, and Node.js and Chrome or Chromium for local verification.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Task
Create an original isometric figure that teaches one working mechanism
Inputs
A mechanism or technical concept, true values and limits, optional brand direction, and Node.js and Chrome or Chromium for local verification.
Deliverable
A local dark and light explainer with a truthful readout, responsive interaction, and captured geometry checks.
Skill name
anatomy

Decide what the illustration should show

A broad brief

Draw an isometric dial gauge like this screenshot.

The visitor needs to see what a real input changes. Shapes alone cannot explain how the mechanism works.

A verifiable result

  1. Produce an object mapping, a Figure-sized parts list and a truthful input/output table.
  2. The SVG paths are generated at rest, with depth order and movement tied to the model.
  3. Both themes render, interactions update real values and there are no unresolved line ends.

Anatomy operation manual

A local dark and light explainer with a truthful readout, responsive interaction, and captured geometry checks.

A mechanism or technical concept, true values and limits, optional brand direction, and Node.js and Chrome or Chromium for local verification.

  1. Choose the mechanism and support its facts

    Produce an object mapping, a Figure-sized parts list and a truthful input/output table.

    Prompt · Step 1
    Use Anatomy from wheresryan22/anatomy for [concept, known values and audience]. Choose the Figure tier. Write what moves and what that motion represents. Use the actual interval and units for a small data model and record what to do at boundaries. List Figure-sized structural, mechanism and control parts before drawing, using the published dial-indicator source as an API reference for an original object.
  2. Build the static geometry and allowed motion

    The SVG paths are generated at rest, with depth order and movement tied to the model.

    Prompt · Step 2
    Build [approved original figure] with the installed kit, using fitProjection, appropriate filled solids and recorded depth order. Paint static paths once and move existing parts on input. If there are round parts or pipes, record real geometry for the audit. Wrap the SVG in the figure plate with a title, interaction hint, live readout and caption. Use keyboard operation and a static reduced-motion state.
  3. Check actual captures and line ends

    Both themes render, interactions update real values and there are no unresolved line ends.

    Prompt · Step 3
    Build [local figure preview] with node build.mjs and node build.mjs --light. Follow references/verify.md and run scripts/lines.mjs on the generated HTML for both modes with --out for the annotated PNG. When applicable, run the figure build --audit and fix the underlying geometry. Capture phone, wide, and multiple motion positions. Check line ends, zoom in at 4× and test a keyboard input against the model’s readout.

Look up build and export

Use the actual bundled tools and example source.

Which example should I inspect to learn the builder?Anatomy kit
Command or reference
node build.mjs --light · node scripts/lines.mjs
Examples
Start from examples/dial-indicator/build.mjs for the geometry-to-page pipeline. Design your own mechanism and values, then apply the motion, accessibility and audit instructions to it.

Troubleshooting and FAQ

Which example should I inspect to learn the builder?

Start from examples/dial-indicator/build.mjs for the geometry-to-page pipeline. Design your own mechanism and values, then apply the motion, accessibility and audit instructions to it.