Skill library

Agent skill Web motion

SVG Animation

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 iart-ai/web-animation-skills --skill svg-animation --agent claude-code --yes

Check this file in your project.claude/skills/svg-animation/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add iart-ai/web-animation-skills --skill svg-animation

    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. Use a browser, a local preview and one reproducible example. Verify dependencies for the selected animation driver.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Inputs
One original SVG path, stroke direction and intended duration
Example
Standalone HTML with a seekable time or state.
Preview query example
?t=1.5
Skill name
svg-animation

Make one state reproducible before integration

Vague request

Give the page a nice animation.

It gives the assistant no trigger, target state or acceptance check.

A scoped example

  1. Animate one vector path and inspect key frames
  2. One original SVG path, stroke direction and intended duration

SVG Animation operation manual

Animate one vector path and inspect key frames

One original SVG path, stroke direction and intended duration

  1. Define what the fixture should prove

    One original SVG path, stroke direction and intended duration

    Prompt · Step 1
    Use iArt’s svg-animation in [Local preview directory]. Read the installed SKILL.md and the relevant bundled references. For [Target effect], prepare One original SVG path, stroke direction and intended duration. Confirm the browser and project constraints and outline one small acceptance fixture.
  2. Build a standalone preview

    One original SVG path, stroke direction and intended duration

    Prompt · Step 2
    Use iArt’s svg-animation in [Local preview directory]. Inline [Original SVG] in an HTML fixture. Pick one animation driver. For a stroke reveal, use a reliable path length and animate stroke-dashoffset. Use ?t=N to pause at a reproducible point in the selected animation mechanism.
  3. Verify it in the browser

    Inspect first, intermediate and final frames. Verify the path draws from the intended edge, final stroke is continuous, and the static reduced-motion result communicates the same symbol.

    Prompt · Step 3
    Use iArt’s svg-animation in [Local preview directory]. Inspect first, intermediate and final frames. Verify the path draws from the intended edge, final stroke is continuous, and the static reduced-motion result communicates the same symbol.

Look up a specific preview issue

Check that the example is in the intended state before comparing it.

Open a known time or state?t=1.5
Command or reference
Preview URL query
Examples
Inline [Original SVG] in an HTML fixture. Pick one animation driver. For a stroke reveal, use a reliable path length and animate stroke-dashoffset. Use ?t=N to pause at a reproducible point in the selected animation mechanism.
Check the resultBrowser
Command or reference
Animate one vector path and inspect key frames
Examples
Inspect first, intermediate and final frames. Verify the path draws from the intended edge, final stroke is continuous, and the static reduced-motion result communicates the same symbol.

Troubleshooting and FAQ

What if the screenshot helper is absent after installation?

Open the chosen time or state in the local preview and take screenshots in the browser. Check the publisher repository if you want its optional helpers.

How do I judge the finished result?

Inspect first, intermediate and final frames. Verify the path draws from the intended edge, final stroke is continuous, and the static reduced-motion result communicates the same symbol.