本文へ移動
cccskills
無料GitHub で公開

zt-anime-spring-drag

Drag and spring: production-level createDraggable, bounds, friction and spring. Use when implementing, reviewing or testing drag and spring for React, Vite, Next.js or Perfect_AI projects.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Drag and spring

When to activate

Use on tasks involving createDraggable, bounds, friction and spring. 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: createDraggable, bounds, friction and spring. 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

Implementation notes: Model createDraggable, bounds, friction and spring as explicit states, define input/output props and independent cleanup. Read master reference(s) below before writing code.

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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-AI42026年10月10日 更新

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-AI42026年10月10日 更新

قواعد پروژه 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-AI42026年10月10日 更新

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-AI42026年10月10日 更新

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-AI42026年10月10日 更新

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-AI42026年10月10日 更新

Realjustawall のスキルをすべて見る

このスキルの問題を報告する