Agent skill

12 Principles Of Animation

by elophanto in elophanto/EloPhanto

Audit animation code against Disney's 12 principles adapted for web.

MITAuto-check passedFrontend & Design

Install 12 Principles Of Animation

skills CLI
$ npx skills add elophanto/EloPhanto --skill 12-principles-of-animation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install elophanto/EloPhanto 12-principles-of-animation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/elophanto/EloPhanto.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/12-principles-of-animation .claude/skills/12-principles-of-animation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
12-principles-of-animation
GitHub stars
106
Token cost
~1.5k tokens
SKILL.md length
366 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Audit animation code against Disney's 12 principles adapted for web.

  • Works in 3 steps: Read the specified files (or prompt user… → Check against all rules below → Output findings in file:line format
  • Reviewing motion
  • SKILL.md covers Triggers, How It Works, Rule Categories and Rules, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

12 Principles Of Animation is an agent skill from elophanto/EloPhanto. Audit animation code against Disney's 12 principles adapted for web. Use when reviewing motion, implementing animations, or checking animation quality. Outputs file:line findings.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Web animation and motion. The repository describes itself as: Source-available autonomous AI agent with a self-model that actually changes as it runs - ego, affect and identity grounded in real psychology (Higgins, PAD/OCC). Writes its own… The licence is MIT.

When your agent uses it

  • Reviewing motion
  • Implementing animations
  • Checking animation quality

Example prompts

  • “/12-principles-of-animation”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the specified files (or prompt user for files/pattern)
  2. Check against all rules below
  3. Output findings in file:line format

What it can do on your machine

Read from SKILL.md and the folder at commit 7bfc65d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are css and typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • amazon.com
    • developer.apple.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

12 Principles Of Animation loads about 1.5k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 366 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from elophanto/EloPhanto at commit 7bfc65d, republished under its MIT licence (© elophanto). 366 words, ~1,471 tokens.

Download SKILL.mdSave it as .claude/skills/12-principles-of-animation/SKILL.md (or your agent's skills folder).
name
12-principles-of-animation
description
Audit animation code against Disney's 12 principles adapted for web. Use when reviewing motion, implementing animations, or checking animation quality. Outputs file:line findings.
license
MIT
metadata.author
raphael-salaja
metadata.version
2.0.0
metadata.source
/content/12-principles-of-animation/index.mdx

12 Principles of Animation

Review animation code for compliance with Disney's 12 principles adapted for web interfaces.

Triggers

  • animation
  • motion
  • transition
  • keyframe
  • spring
  • ease
  • timing
  • squash
  • stretch
  • anticipation
  • animate
  • css animation
  • framer motion
  • gsap

How It Works

  1. Read the specified files (or prompt user for files/pattern)
  2. Check against all rules below
  3. Output findings in file:line format

Rule Categories

PriorityCategoryPrefix
1Timingtiming-
2Easingeasing-
3Physicsphysics-
4Stagingstaging-

Rules

Timing Rules
timing-under-300ms

User-initiated animations must complete within 300ms.

Fail:

css
.button { transition: transform 400ms; }

Pass:

css
.button { transition: transform 200ms; }
timing-consistent

Similar elements must use identical timing values.

Fail:

css
.button-primary { transition: 200ms; }
.button-secondary { transition: 150ms; }

Pass:

css
.button-primary { transition: 200ms; }
.button-secondary { transition: 200ms; }
timing-no-entrance-context-menu

Context menus should not animate on entrance (exit only).

Fail:

tsx
<motion.div initial={{ opacity: 0 }} animate={{ opacity: 1 }} />

Pass:

tsx
<motion.div exit={{ opacity: 0 }} />
Easing Rules
easing-entrance-ease-out

Entrances must use ease-out (arrive fast, settle gently).

Fail:

css
.modal-enter { animation-timing-function: ease-in; }

Pass:

css
.modal-enter { animation-timing-function: ease-out; }
easing-exit-ease-in

Exits must use ease-in (build momentum before departure).

Fail:

css
.modal-exit { animation-timing-function: ease-out; }

Pass:

css
.modal-exit { animation-timing-function: ease-in; }
easing-no-linear-motion

Linear easing should only be used for progress indicators, not motion.

Fail:

css
.card { transition: transform 200ms linear; }

Pass:

css
.progress-bar { transition: width 100ms linear; }
easing-natural-decay

Use exponential ramps, not linear, for natural decay.

Fail:

ts
gain.gain.linearRampToValueAtTime(0, t + 0.05);

Pass:

ts
gain.gain.exponentialRampToValueAtTime(0.001, t + 0.05);
Physics Rules
physics-active-state

Interactive elements must have active/pressed state with scale transform.

Fail:

css
.button:hover { background: var(--gray-3); }
/* Missing :active state */

Pass:

css
.button:active { transform: scale(0.98); }
physics-subtle-deformation

Squash/stretch deformation must be subtle (0.95-1.05 range).

Fail:

tsx
<motion.div whileTap={{ scale: 0.8 }} />

Pass:

tsx
<motion.div whileTap={{ scale: 0.98 }} />
physics-spring-for-overshoot

Use springs (not easing) when overshoot-and-settle is needed.

Fail:

tsx
<motion.div transition={{ duration: 0.3, ease: "easeOut" }} />
// When element should bounce/settle

Pass:

tsx
<motion.div transition={{ type: "spring", stiffness: 500, damping: 30 }} />
physics-no-excessive-stagger

Stagger delays must not exceed 50ms per item.

Fail:

tsx
transition={{ staggerChildren: 0.15 }}

Pass:

tsx
transition={{ staggerChildren: 0.03 }}
Staging Rules
staging-one-focal-point

Only one element should animate prominently at a time.

Fail:

tsx
// Multiple elements with competing entrance animations
<motion.div animate={{ scale: 1.1 }} />
<motion.div animate={{ scale: 1.1 }} />
Show full SKILL.md (148 more words)Show less
staging-dim-background

Modal/dialog backgrounds should dim to direct focus.

Fail:

css
.overlay { background: transparent; }

Pass:

css
.overlay { background: var(--black-a6); }
staging-z-index-hierarchy

Animated elements must respect z-index layering.

Fail:

css
.tooltip { /* No z-index, may render behind other elements */ }

Pass:

css
.tooltip { z-index: 50; }

Output Format

When reviewing files, output findings as:

file:line - [rule-id] description of issue

Example:
components/modal/index.tsx:45 - [timing-under-300ms] Exit animation 400ms exceeds 300ms limit
components/button/styles.module.css:12 - [physics-active-state] Missing :active transform

Summary Table

After findings, output a summary:

RuleCountSeverity
timing-under-300ms2HIGH
physics-active-state3MEDIUM
easing-entrance-ease-out1MEDIUM

Verify

  • The change was rendered in a browser/simulator and a screenshot or DOM snapshot was captured, not just code-reviewed
  • Layout was checked at the breakpoints the 12-principles-of-animation guide calls out (mobile + desktop minimum); evidence of each is attached
  • Color, typography, and spacing values used come from the project's design tokens / theme, not hard-coded ad-hoc values
  • Keyboard navigation and focus order were exercised on every interactive element introduced
  • Reduced-motion / dark-mode (when supported) variants were verified, not assumed to inherit
  • No console errors or hydration warnings were emitted during the verification render

References

© elophanto, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/12-principles-of-animation of elophanto/EloPhanto.

Open the folder on GitHubat commit 7bfc65d

Compare with similar skills

12 Principles Of Animation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

12 Principles Of Animation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
12 Principles Of Animation this skillelophanto/EloPhanto106—~1.5kAutomated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k26 repos~2.6kAutomated safety check: PassMIT
GSAP ScrollTriggergreensock/gsap-skills16k4 repos~4.6kAutomated safety check: PassMIT
GSAP Core Animationgreensock/gsap-skills16k3 repos~3.7kAutomated safety check: PassMIT
Web Animation DesignbaptisteArno/typebot.io11k2 repos~2.7kAutomated safety check: PassCustom licence
Scroll World Landing Pageoso95/scroll-world9.9k1 repos~12kAutomated safety check: NotesMIT

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 26 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP ScrollTrigger

    greensock/gsap-skills

    Teaches an agent how to wire up GSAP's ScrollTrigger plugin for scroll-linked animation, pinned sections and scrub, including the start and end position syntax.

    16k GitHub starsUsed in 4 repos~4.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP Core Animation

    greensock/gsap-skills

    Covers the GSAP core API for tweens, easing, staggers, defaults and matchMedia, and when to choose GSAP over CSS animations or other JavaScript animation libraries.

    16k GitHub starsUsed in 3 repos~3.7k tokens
    Frontend & DesignAuto-check passed
  • Web Animation Design

    baptisteArno/typebot.io

    Guides easing, timing and animation choices for UI motion, based on a web animation course, and reviews existing animations in a before-and-after table.

    11k GitHub starsUsed in 2 repos~2.7k tokens
    Frontend & DesignAuto-check passed
  • Scroll World Landing Page

    oso95/scroll-world

    Builds a scroll-driven landing page where a pre-rendered camera flies through connected AI-generated scenes, using Higgsfield for stills and video clips.

    9.9k GitHub starsUsed in 1 repo~12k tokens
    Frontend & DesignAuto-check: notes
  • Make Interfaces Feel Better

    samuelclay/NewsBlur

    Design engineering principles for making interfaces feel polished.

    7.6k GitHub starsUsed in 10 repos~1.5k tokens
    Frontend & DesignAuto-check passed

More from elophanto/EloPhanto

All 11 skills in this repo
  • Pikastream Video Meeting

    elophanto/EloPhanto

    Join a Google Meet or Zoom call as a video meeting agent via PikaStreaming.

    106 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Metaplex

    elophanto/EloPhanto

    Metaplex development on Solana — NFTs, tokens, compressed NFTs, candy machines, token launches.

    106 GitHub stars~1.6k tokensUpdated 10 days ago
    Auto-check passed
  • Deep Research

    elophanto/EloPhanto

    A skill your agent uses when investigating any claim, question, or topic where the easy first answer is likely insufficient.

    106 GitHub stars~2.4k tokensUpdated 10 days ago
    Auto-check passed
  • Kid Agents

    elophanto/EloPhanto

    A skill your agent uses when running dangerous shell commands, installing untrusted packages, or testing untrusted code that could damage the host.

    106 GitHub stars~1.6k tokensUpdated 10 days ago
    Auto-check passed
  • Nextjs16 Skills

    elophanto/EloPhanto

    Key facts and links for Next.js 16. An agent skill from elophanto/EloPhanto.

    106 GitHub stars~1.4k tokensUpdated 10 days ago
    Auto-check passed
  • Pumpfun Livestream

    elophanto/EloPhanto

    Stream a local video file to Pump.fun's livestream UI for the agent's coin.

    106 GitHub stars~3.2k tokensUpdated 10 days ago
    Auto-check passed

Questions about 12 Principles Of Animation

What does 12 Principles Of Animation do?

Audit animation code against Disney's 12 principles adapted for web. 12 Principles Of Animation is an agent skill from elophanto/EloPhanto. Audit animation code against Disney's 12 principles adapted for web.

When should I use 12 Principles Of Animation?

12 Principles Of Animation fits situations like: reviewing motion; implementing animations; checking animation quality.

How do I install 12 Principles Of Animation in Claude Code?

Run `npx skills add elophanto/EloPhanto --skill 12-principles-of-animation -a claude-code`. Or copy the skill folder (skills/12-principles-of-animation in elophanto/EloPhanto) into .claude/skills/12-principles-of-animation in your project. Claude Code loads it when a task matches its description.

How do I install 12 Principles Of Animation in Codex?

Run `npx skills add elophanto/EloPhanto --skill 12-principles-of-animation -a codex`. Or copy the skill folder (skills/12-principles-of-animation in elophanto/EloPhanto) into .agents/skills/12-principles-of-animation in your project. Codex loads it when a task matches its description.

Can I use 12 Principles Of Animation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elophanto/EloPhanto --skill 12-principles-of-animation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/12-principles-of-animation, .gemini/skills/12-principles-of-animation, .github/skills/12-principles-of-animation and .opencode/skills/12-principles-of-animation in your project.

What does 12 Principles Of Animation need to run?

SKILL.md names no scripts, command-line tools or credentials: 12 Principles Of Animation is instructions for the agent only.

Does 12 Principles Of Animation access the network?

SKILL.md names 2 domains. As links in the text: amazon.com and developer.apple.com. This is read from the text; nothing was executed.

Is 12 Principles Of Animation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 12 Principles Of Animation use?

12 Principles Of Animation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 12 Principles Of Animation use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to 12 Principles Of Animation?

Skills that share tags, products or a category with 12 Principles Of Animation: Impeccable (bestofjs/bestofjs, 3.1k stars), GSAP ScrollTrigger (greensock/gsap-skills, 16k stars), GSAP Core Animation (greensock/gsap-skills, 16k stars) and Web Animation Design (baptisteArno/typebot.io, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 12 Principles Of Animation?

elophanto (a GitHub user) maintains it in elophanto/EloPhanto, which has 106 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 1, 2026.

Source: elophanto/EloPhanto on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.