Skill library

Agent skill Web motion

12 Principles of Animation

Review web motion with animation principles and connect recommendations to the code.

  • Animation
  • Interaction design
  • Archived version

Install the skill

Installation method

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

npx skills@latest add https://github.com/raphaelsalaja/skills/tree/f2ebb04413252993c5245f5920fdf91b09b1915e/skills/12-principles-of-animation --skill 12-principles-of-animation --agent claude-code --yes

Check this file in your project.claude/skills/12-principles-of-animation/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/raphaelsalaja/skills/tree/f2ebb04413252993c5245f5920fdf91b09b1915e/skills/12-principles-of-animation --skill 12-principles-of-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. Install the pinned v2.0.0 snapshot in the coding assistant and provide the target source files or a local route. Browser access lets you verify the timings and interaction in use.

View operation manual

What this skill helps with

  • Review web motion using Disney’s animation principles, with findings tied to the code.

Good for

  • Web motion and transitions
Publisher and version
Raphael Salaja, archived v2.0.0.
Rule groups
Timing, easing, physics, and staging for web interface motion.
Review format
Source file and line, rule ID, description, and a summary of counts and severity.
Inputs
The named interaction, affected source, and a way to open the actual state.
Skill name
12-principles-of-animation

Turn the motion critique into findings

A subjective request

Make the dialog feel more natural and add some bounce.

The request leaves the timing, focus of the motion, and interaction to be preserved open to guesswork.

A source-backed motion review

  1. Name the dialog, how it is opened, and which states to inspect.
  2. Ask for rule IDs, source locations, and measured or declared timings.
  3. Implement the approved changes and recheck keyboard handling and interruption.

12 Principles of Animation operation manual

Review an existing settings dialog or tighten up a row context menu with the archived Skill’s rule IDs and output format.

Check how the dialog enters, exits, and directs attention. Keep keyboard and focus behavior usable during the change.

  1. Find motion rules that apply

    Locate the dialog and its backdrop, then tie each finding to a rule and exact code line.

    Prompt · Step 1
    Use the installed 12-principles-of-animation Skill v2.0.0 to audit my existing settings dialog. Find the route, trigger, panel, backdrop, and current motion styles. Review timing, easing, physics, and staging across opening and closing, including timing-under-300ms, easing-entrance-ease-out, easing-exit-ease-in, staging-one-focal-point, and staging-dim-background where applicable. Include the time from interaction to finished movement when you can measure it, with any delay or stagger. Return one file:line - [rule-id] finding per issue and the Rule, Count, Severity summary table. State which findings came from the browser or source and keep this pass read-only.
    src/components/example-dialog.tsx:45 - [timing-under-300ms] The exit takes 400ms.
  2. Keep the panel as the visual focus

    Apply the agreed timing and easing, then preserve the dialog’s original controls and focus handling.

    Prompt · Step 2
    Use 12-principles-of-animation to apply the approved motion findings to the current settings dialog. Keep its component and motion library. Make the panel the primary movement and give the backdrop a supporting dim. Use an ease-out entrance and ease-in exit, with each user-initiated transition finished within 300ms under this Skill’s timing rule. Use the project’s equivalent easing tokens if present. Honor reduced motion and preserve focus handling, Escape, dismissal, and the owner’s existing form behavior. Record the rule IDs addressed and where I can test the result.
  3. Verify interruption and reduced motion

    Operate the dialog quickly and with the keyboard to check the revised movement and behavior together.

    • The panel leads the movement and the backdrop supports it.
    • Escape and focus return work during interrupted movement.
    • Timing and reduced-motion checks are backed by browser evidence or marked unverified.
    Prompt · Step 3
    Use 12-principles-of-animation to verify the settings dialog in the local browser. Open it with the keyboard, close it with Escape midway through entry, and reopen it during the exit. Check focus enters and returns to the correct controls and that the backdrop stays behind the dialog. Repeat with reduced motion. Inspect the actual transition values and measure the completion where possible. Resolve each original rule ID as fixed, still present, or unverified and include the matching observation.

Look up a motion rule

Use the archived Skill’s rule IDs when you ask for a focused review.

A control takes too long to finish an actionTiming
Command or reference
timing-under-300ms
Examples
Check the full duration of the user-triggered movement, including any delays in its path.
The panel drifts in and snaps awayEasing
Command or reference
easing-entrance-ease-out / easing-exit-ease-in
Examples
Inspect each direction separately and map the project’s easing tokens to their actual curves.
Page chrome competes with the dialogStaging
Command or reference
staging-one-focal-point / staging-dim-background
Examples
Make the panel the main movement and check that the backdrop dims the background content.

Animation principles troubleshooting

Why is the Skill installed from a commit?

The catalog entry follows Raphael Salaja’s archived v2.0.0 Skill. Its install points to the commit that contains the verified rule file.

Does the 300ms rule apply to all animation?

This snapshot uses it to audit movement initiated by a user, such as a dialog or button response. Identify the start and finish of the interaction you are reviewing.

Can I review animation from source alone?

Source can establish declared timings, curves, and conditions. Use browser playback for actual completion, interruption, and focus, and mark those checks unverified when only source was available.