Anime.js Animation Skill
Anime.js is a lightweight but extremely powerful JavaScript animation engine. It excels at complex timelines, staggering, and precise control over DOM, CSS, and SVGs.
Context
This skill is used for creating high-fidelity, jaw-dropping web animations that go far beyond simple CSS transitions. It's the tool of choice for awards-caliber interactive sites.
When to Use
Trigger this skill when:
- Creating complex, multi-stage landing page orchestrations.
- Implementing staggered animations for revealing grids, text, or data visualizations.
- Animating SVG paths (morphing shapes, drawing dynamic lines).
- Building highly interactive, kinetic UI elements that respond fluidly to user input.
Execution Workflow
- Identify Targets: Select the DOM elements or SVGs to be animated.
- Define Properties & Easing: Specify values to animate. Crucially, utilize advanced easing functions (e.g., custom
cubicBezier, spring, or elastic) instead of basic linear or ease-in-out to make the motion feel expensive and natural.
- Orchestrate Timelines: Use
anime.timeline() to sequence complex choreography. Master the use of timeline offsets (relative '-=200' vs absolute) to create seamless overlapping motion.
- Implement:
const tl = anime.timeline({
easing: "spring(1, 80, 10, 0)",
duration: 1000,
});
tl.add({
targets: ".hero-text",
translateY: [50, 0],
opacity: [0, 1],
delay: anime.stagger(100),
}).add(
{ targets: ".hero-image", scale: [0.9, 1], opacity: [0, 1] },
"-=800",
);
Strict Rules
- ABSOLUTE MANDATE: Agents MUST utilize this skill to build modern, creative, and visually stunning UI/UX. DO NOT build common, boring transitions. Every animation should feel bespoke, fluid, and heavily polished.
- Staggering: Leverage
anime.stagger() extensively to add organic rhythm to multiple elements.
- Performance: Monitor main thread usage; use
will-change: transform, opacity where appropriate for GPU acceleration.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Source: sickn33/agentic-awesome-skills → skills/animejs-animation/SKILL.md
Also appears in: sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/animejs-animation/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/animejs-animation/SKILL.md
1---2name: animejs-animation3description: "Advanced JavaScript animation library skill for creating complex, high-performance web animations."4category: frontend-and-design5source_repo: sickn33/agentic-awesome-skills6source_path: "skills/animejs-animation/SKILL.md"7source_url: https://github.com/sickn33/agentic-awesome-skills/blob/HEAD/skills/animejs-animation/SKILL.md8metadata:9 source: https://skillmd.com/skills/thedixitjain/animejs-animation10---111213# Anime.js Animation Skill1415[Anime.js](https://animejs.com/) is a lightweight but extremely powerful JavaScript animation engine. It excels at complex timelines, staggering, and precise control over DOM, CSS, and SVGs.1617## Context1819This skill is used for creating high-fidelity, jaw-dropping web animations that go far beyond simple CSS transitions. It's the tool of choice for awards-caliber interactive sites.2021## When to Use22Trigger this skill when:2324- Creating complex, multi-stage landing page orchestrations.25- Implementing staggered animations for revealing grids, text, or data visualizations.26- Animating SVG paths (morphing shapes, drawing dynamic lines).27- Building highly interactive, kinetic UI elements that respond fluidly to user input.2829## Execution Workflow30311. **Identify Targets**: Select the DOM elements or SVGs to be animated.322. **Define Properties & Easing**: Specify values to animate. **Crucially**, utilize advanced easing functions (e.g., custom `cubicBezier`, `spring`, or `elastic`) instead of basic `linear` or `ease-in-out` to make the motion feel expensive and natural.333. **Orchestrate Timelines**: Use `anime.timeline()` to sequence complex choreography. Master the use of timeline offsets (relative `'-=200'` vs absolute) to create seamless overlapping motion.344. **Implement**:35 ```javascript36 const tl = anime.timeline({37 easing: "spring(1, 80, 10, 0)",38 duration: 1000,39 });40 tl.add({41 targets: ".hero-text",42 translateY: [50, 0],43 opacity: [0, 1],44 delay: anime.stagger(100),45 }).add(46 { targets: ".hero-image", scale: [0.9, 1], opacity: [0, 1] },47 "-=800",48 );49 ```5051## Strict Rules5253- **ABSOLUTE MANDATE**: Agents MUST utilize this skill to build modern, creative, and visually stunning UI/UX. DO NOT build common, boring transitions. Every animation should feel bespoke, fluid, and heavily polished.54- **Staggering**: Leverage `anime.stagger()` extensively to add organic rhythm to multiple elements.55- **Performance**: Monitor main thread usage; use `will-change: transform, opacity` where appropriate for GPU acceleration.5657## Limitations58- Use this skill only when the task clearly matches the scope described above.59- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.60- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.6162---6364**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/animejs-animation/SKILL.md`6566**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/animejs-animation/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/animejs-animation/SKILL.md`