Skill library

Agent skill Web motion

Page Transition Animation

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

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add iart-ai/web-animation-skills --skill page-transition-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
Two original view stubs and the direction of navigation
Example
Standalone HTML with a seekable time or state.
Preview query example
?view=b
Skill name
page-transition-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. Prototype a route transition with two local views
  2. Two original view stubs and the direction of navigation

Page Transition Animation operation manual

Prototype a route transition with two local views

Two original view stubs and the direction of navigation

  1. Define what the fixture should prove

    Two original view stubs and the direction of navigation

    Prompt · Step 1
    Use iArt’s page-transition-animation in [Local preview directory]. Read the installed SKILL.md and the relevant bundled references. For [Target effect], prepare Two original view stubs and the direction of navigation. Confirm the browser and project constraints and outline one small acceptance fixture.
  2. Build a standalone preview

    Two original view stubs and the direction of navigation

    Prompt · Step 2
    Use iArt’s page-transition-animation in [Local preview directory]. Build one HTML fixture for [View A] and [View B]. Use native View Transitions where supported or a documented fallback. Use ?view=b to render the destination state directly. Keep this prototype separate from framework-specific router changes.
  3. Verify it in the browser

    Check direct URLs, forward and reverse switching, reduced motion, and fallback without view-transition support. Test actual Next.js navigation separately if you later integrate the prototype.

    Prompt · Step 3
    Use iArt’s page-transition-animation in [Local preview directory]. Check direct URLs, forward and reverse switching, reduced motion, and fallback without view-transition support. Test actual Next.js navigation separately if you later integrate the prototype.

Look up a specific preview issue

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

Open a known time or state?view=b
Command or reference
Preview URL query
Examples
Build one HTML fixture for [View A] and [View B]. Use native View Transitions where supported or a documented fallback. Use ?view=b to render the destination state directly. Keep this prototype separate from framework-specific router changes.
Check the resultBrowser
Command or reference
Prototype a route transition with two local views
Examples
Check direct URLs, forward and reverse switching, reduced motion, and fallback without view-transition support. Test actual Next.js navigation separately if you later integrate the prototype.

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?

Check direct URLs, forward and reverse switching, reduced motion, and fallback without view-transition support. Test actual Next.js navigation separately if you later integrate the prototype.