Skill library

Agent skill Web motion

Rossark Motion Skill

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 rossark0/rossark-motion-skill --skill rossark-motion-skill --agent claude-code --yes

Check this file in your project.claude/skills/rossark-motion-skill/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add rossark0/rossark-motion-skill --skill rossark-motion-skill

    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 your own layered drawing and a compatible SwiftUI target with its macro toolchain, or use the separate React Native template in a compatible app.

View operation manual

What this skill helps with

  • Design, implement or review motion on the web.

Good for

  • Web motion and transitions
Publisher
rossark0
Controls
MOTION.md · FlowKeys · flow() · LoopClock · OneShotClock · seeded()
Result
The installed interpolation reaches the key poses without an extra reversal or overshoot.
Skill name
rossark-motion-skill

Common pitfall

Avoid this prompt

Drive every piece with its own clock and use stop-at-every-key track() for connected body poses.

One clock keeps the scene coordinated. flow() carries movement through intermediate key poses.

Use these steps

  1. Inspect the project and source
  2. Apply the motion recipe
  3. Verify behavior and fallback

Project walkthrough

Animate an original signal flag through steady key poses using one shared clock.

Animate an original signal flag through steady key poses using one shared clock.

  1. Inspect the project and source

    Use your own layered drawing and a compatible SwiftUI target with its macro toolchain, or use the separate React Native template in a compatible app.

    Prompt · Step 1
    Use Rossark Motion Skill on [my original signal flag]. Read the project motion notes or use the installed MOTION.md structure. Mark the hinge, main raise, cloth follow-through and the final meaningful pose. Read templates/swiftui/Motion.swift for the actual clock and interpolation helpers.
  2. Apply the motion recipe

    Animate an original signal flag through steady key poses using one shared clock.

    Prompt · Step 2
    Create a single OneShotClock for the raise and use flow() with sorted millisecond FlowKeys for the flag angle. Keep the hinge fixed. Offset cloth motion by strip in a separately controlled idle pass only when it supports the scene, and pause any LoopClock offscreen. Design a readable start and end frame.
  3. Verify behavior and fallback

    The installed interpolation reaches the key poses without an extra reversal or overshoot.

    • The installed interpolation reaches the key poses without an extra reversal or overshoot.
    Prompt · Step 3
    Sample values before, at and after a middle key. Verify continuous change and a held final value. In an app build, toggle reduced motion and check the final frame appears immediately during play while decorative loops hold at frame zero.

Implementation lookup

Compare the implementation with the recipe and its expected outcome.

Inspect the implementation controlsVerify
Command or reference
MOTION.md · FlowKeys · flow() · LoopClock · OneShotClock · seeded()
Examples
The installed interpolation reaches the key poses without an extra reversal or overshoot.

FAQ

What should I prepare first?

Use your own layered drawing and a compatible SwiftUI target with its macro toolchain, or use the separate React Native template in a compatible app.

How do I verify the result?

The installed interpolation reaches the key poses without an extra reversal or overshoot.