Agent skill · software engineering · aiskillstore

animejs

Anime.js adapter patterns for HyperFrames. Use when writing Anime.js animations or timelines inside HyperFrames compositions, registering animations on window.__hfAnime, making Anime.js seek-driven and deterministic, or translating Anime.js examples into render-safe HyperFrames HTML.

Why this skill is useful

Provides specific patterns and practices for integrating Anime.js with HyperFrames that are not commonly found in public documentation.

What it needs

About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

Anime.js for HyperFrames HyperFrames can seek Anime.js instances through its animejs runtime adapter. The composition owns the animation objects; HyperFrames owns the clock. Contract Create animations or timelines synchronously during composition initialization. Set autoplay: false so Anime.js does not advance on its own clock. Register every returned animation or timeline on window.hfAnime. Use finite durations and loop counts. Avoid callbacks that mutate DOM based on wall-clock time, network state, or unseeded randomness. The adapter seeks every registered instance with instance.seek(timeMs), where timeMs is HyperFrames time in milliseconds. Basic Pattern Timeline Pattern Module Builds If you use an ES module build, the adapter does not care how the instance was created. It only needs the returned object to expose seek(), pause(), and preferably play(): Good Uses Small SVG and DOM flourishes where Anime.js syntax is compact. Imported Anime.js examples that can be made seek-driven. Multiple independent micro-animations pushed into the same registry. Use GSAP for complex scene sequencing unless the user specifically asks for Anime.js. GSAP is still the primary HyperFrames authoring path. Avoid Leaving autoplay at the Anime.js default. Depending on anime.running auto-discovery instead of explicit window.hfAnime.push(...). Infinite loops. Compute a finite repeat count from the composition duration. Building animations in timers, promises, event handlers, or after async asset loads. Validation After editing a composition that uses Anime.js: Credits And References HyperFrames adapter source: packages/core/src/runtime/adapters/animejs.ts. Anime.js documentation for autoplay, pause(), and seek(): https://animejs.com/documentation/

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/animejs

View the source on GitHub

Browse the @skills marketplace