跳到正文
cccskills
免费在 GitHub 公开

zt-anime-scroll-observer

Scroll-driven choreography: production-level sticky progress, sync, enter/leave, bidirectional timeline. Use when implementing, reviewing or testing scroll-driven choreography for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Scroll-driven choreography

When to activate

Use on tasks involving sticky progress, sync, enter/leave, bidirectional timeline. For unrelated backend tasks do not load this skill.

Implementation sequence

  1. Specify timeline: targets, start/end states, duration, easing, repeat, pause, reversal, cleanup.
  2. Import named Anime.js v4 APIs into client-only lifecycle; do not use v3 anime({...}) signatures.
  3. Use transforms and opacity for animation; sequence with timeline rather than disconnected timeouts.
  4. Bind scroll to normalized progress and apply exactly one owner per property.
  5. Implement reduced-motion and cleanup; test reverse scroll, refresh at mid-scroll and resize.

Task-specific requirements

  • Scope: sticky progress, sync, enter/leave, bidirectional timeline. Design the full execution path, not a screenshot placeholder.
  • Identify dependency version and actual supported API signature; avoid inventing APIs.
  • Use original code, or install licensed upstream through its maintained tool if the user wants upstream code.
  • Choose measurable states, error handling, accessibility and performance budgets.

Implementation starter

import { animate, onScroll } from 'animejs';
const el = document.querySelector('.stage');
if (el) animate(el, { rotate: [0, 360], ease:'linear', autoplay:onScroll({ sync:true }) });

Check target visibility and scroll range in actual DOM before treating this as a finished animation.

Evidence / acceptance

  • Prove deterministic playback in forward/reverse scroll; no timer leaks; reduced-motion shows full content.
  • Test common, edge, interrupted, accessibility and responsive states; provide concrete artifacts/evidence.

Deep references

  • ../perfect-ai-master/references/01-animejs-motion.md
  • ../perfect-ai-master/references/06-motion-recipes.md
  • ../perfect-ai-master/references/16-animejs-api-matrix.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build, audit, and refactor premium Persian/English responsive websites and interactive 3D experiences with Anime.js v4, Three.js, motion choreography, color theory, RTL design systems, accessible UI/UX and VibeFarsi registry. Use for website design, animations, motion, landing pages, 3D/WebGL, responsive interfaces, visual quality, or Perfect_AI projects in Codex.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月22日 更新

Accessibility automation: production-level axe audits and manual keyboard checks. Use when implementing, reviewing or testing accessibility automation for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月22日 更新

قواعد پروژه assistant for Codex; apply when building Persian/RTL web products, localizing content or integrating the related Iranian workflow. Local independent adaptation inspired by publicly documented VibeFarsi topics.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月22日 更新

Easing mathematics: production-level cubic bezier, damped spring, velocity continuity. Use when implementing, reviewing or testing easing mathematics for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月22日 更新

Anime.js v4 core animations: production-level target selection, property keyframes, duration, ease, loop, play/pause. Use when implementing, reviewing or testing anime.js v4 core animations for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月22日 更新

Layout changes: production-level FLIP layout, additive composition, measurement. Use when implementing, reviewing or testing layout changes for React, Vite, Next.js or Perfect_AI projects.

中文简介正在准备中。当前显示原文说明。

Realjustawall/Perfect-AI62026年10月22日 更新

查看 Realjustawall 的全部技能

报告此技能的问题