animejs
Write correct anime.js v4 animations with the right imports, API patterns, easing, timelines, and advanced features.
Skill by delexw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/delexw-animejs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, backend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/animejs
What's inside
- Skill name
animejs- Description
- Write correct anime.js v4 animations with the right imports, API patterns, easing, timelines, and advanced features. Use this skill whenever the user asks to animate DOM elements, create CSS/SVG animations, build scroll-linked effects, add drag interactions, choreograph timeline sequences, or write any JavaScript animation code — even if they don't mention 'anime.js' by name. Also triggers when the user mentions 'animejs', 'anime.js', 'createTimeline', 'createDraggable', 'stagger', 'spring easing', or imports from the 'animejs' package. If the user wants smooth, performant web animations and isn't already using GSAP or Framer Motion, this skill applies.
- License
- MIT
- Instructions
- 460 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- api-reference.md · references/
- examples.md · references/
SKILL.md (first lines)
# Anime.js v4 Animation Skill
Anime.js v4 is a modular JavaScript animation engine (10KB full / 3KB WAAPI-only). This skill ensures you write correct v4 syntax — the API changed significantly from v3.
## Installation
```bash
npm install animejs
```
CDN (ESM):
```html
<script type="module">
import { animate } from 'https://cdn.jsdelivr.net/npm/animejs/+esm';
</script>
```
## Core Concept: Named Imports
v4 uses named exports, not a default `anime` object. Import only what you need:
```js
import { animate, stagger, createTimeline, utils } from 'animejs';
```
Subpath imports for smaller bundles:
```js
import { animate } from 'animejs/animation';
import { createTimeline } from 'animejs/timeline';
import { createDraggable } from 'animejs/draggable';
import { onScroll } from 'animejs/events';
import { stagger, utils } from 'animejs/utils';
import { waapi } from 'animejs/waapi';
```
## Quick Reference: `animate()`
```js
animate(targets, parameters);
```
**Targets**: CSS selectors, DOM elements, NodeLists, JS objects, or arrays of these.
**Parameters** combine animatable properties + playback settings + callbacks:
```js
animate('.box', {
translateX: 250, // CSS transform
opacity: [0, 1], // [from, to]
scale: { from: 0.5, to: 1 },
backgroundColor: '#FF0000', // color animation
duration: 800,
delay: stagger(100), // stagger per element
ease: 'outExpo', // easing function
loop: 2, // repeat 2 times (3 total plays)
alternate: true, // ping-pong
onComplete: () => console.log('done'),
});
```
### Animatable Properties
| Category | Examples |
|----------|---------|
| CSS | `opacity`, `width`, `height`, `backgroundColor`, `borderRadius` |
| Transforms | `translateX`, `translateY`, `rotate`, `scale`, `skewX` |
| CSS Variables | `'--my-var': 100` |
| SVG Attributes | `cx`, `r`, `points`, `d` (via morphTo) |
| HTML Attributes | `value`, `data-count` |
| JS Object Props | Any numeric property on a plain object |
### Value Formats
```js
translateX: 250, // unitless (px for transforms)
translateX: '10rem', // with unit
translateX: '+=100', // relative (add 100)
translateX: '-=50px', // relative subtract
opacity: [0, 1], // [from, to] shorthand
scale: { from: 0.5, to: 1.5 }, // explicit from/to
rotate: '1turn', // CSS units work
```
### Function-Based Values
```js
animate('.item', {
translateX: (el, i, total) => i * 50, // per-element
delay: (el, i) => i * 100,
});
```
### Keyframes (Per-Property)
```js
animate('.ball', {
y: [
{ to: '-2.75rem', ease: 'outExpo', duration: 600 },
{ to: 0, ease: 'outBounce', duration: 800, delay: 100 },
],
});
```
## Playback Settings
| Setting | Default | Description |
|---------|---------|-------------|
| `duration` | 1000 | ms |
| `delay` | 0 | ms before start |
| `loop` | 0 | repetitions (0 = play once, `true` = infinite) |
| `loopDelay` | 0 | ms between loops |
| `alternate` | false | reverse on each loop |
| `reversed` | false | play backward |
| `autoplay` | true | start immediately |
| `playbackRate` | 1 | speed multiplier |
| `frameRate` | null | cap FPS |
## CallbacksFrom delexw/claude-code-misc, MIT.
More from delexw/claude-code-misc
- 0.448score
adr-author
delexw
Guide writing clear, enforceable Architectural Decision Records (ADRs) that work with AI-powered review systems and human teams alike.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
telegram-bot
delexw
Interact with Telegram — read messages from your channel and send messages back.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
inktui
delexw
Build beautiful CLI apps with Ink (React for terminals), ink-ui components, and create-ink-app scaffolding.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
ladybugdb
delexw
Expert guide for LadybugDB — an embedded, in-process property graph database using openCypher.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
tauri-v2
delexw
Use this skill whenever "tauri" appears in the user's message, or they reference tauri.conf.json, src-tauri, or @tauri-apps packages.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
oxfmt
delexw
Run and configure oxfmt — the high-performance JavaScript/TypeScript formatter built on the Oxc compiler stack, ~30x faster than Prettier.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
oxlint
delexw
Run and configure oxlint — the high-performance JavaScript/TypeScript linter built on the Oxc compiler stack.
SkillDFreshness: D★ 2Claude Code +9 - 0.439score
a2a-js-dev
delexw
Build A2A (Agent-to-Agent) protocol applications using the @a2a-js/sdk TypeScript/JavaScript SDK.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 28, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/delexw/claude-code-misc
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from delexw
- 0.448score
adr-author
delexw
Guide writing clear, enforceable Architectural Decision Records (ADRs) that work with AI-powered review systems and human teams alike.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
telegram-bot
delexw
Interact with Telegram — read messages from your channel and send messages back.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
inktui
delexw
Build beautiful CLI apps with Ink (React for terminals), ink-ui components, and create-ink-app scaffolding.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
ladybugdb
delexw
Expert guide for LadybugDB — an embedded, in-process property graph database using openCypher.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
tauri-v2
delexw
Use this skill whenever "tauri" appears in the user's message, or they reference tauri.conf.json, src-tauri, or @tauri-apps packages.
SkillDFreshness: D★ 2Claude Code +9 - 0.443score
oxfmt
delexw
Run and configure oxfmt — the high-performance JavaScript/TypeScript formatter built on the Oxc compiler stack, ~30x faster than Prettier.
SkillDFreshness: D★ 2Claude Code +9
Cite this page
animejs skill. Agent Mart. https://agentmart.dev/skills/delexw-animejs (last updated 2026-10-24)