animejs-animation
できること
このツールは、JavaScriptコードを使って、ウェブサイト向けの複雑で滑らかなアニメーションを作成します。視覚要素を動かしたり、大きさを変えたり、凝った方法で表示させたりできます。
使う場面
- ✓複数の段階を持つランディングページのアニメーションを作るとき。
- ✓要素を順番に表示させるとき(スタッガー効果)。
- ✓SVGのベクター画像をアニメーションさせて、動的な図形や線を作るとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/animejs-animation/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
📦 このスキルを含むパック
AIへの頼み方の例
“ページのタイトルとメイン画像にアニメーションを作ってください。タイトルは少し動きながら最初に表示され、その後に画像が現れるようにしたいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
アニメーションさせたいページの要素と、その動き方(例:下から上へ、縮小しながら)を指定します。ツールがこれらの指示を組み合わせ、滑らかで制御されたアニメーションの流れを作ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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, orelastic) instead of basiclinearorease-in-outto make the motion feel expensive and natural.Orchestrate Timelines: Inspect the installed major version first. This example targets Anime.js v3; use
anime.timeline()to sequence complex choreography. Master the use of timeline offsets (relative'-=200'vs absolute) to create seamless overlapping motion.Implement: For a bundler with Anime.js v3 installed,
import anime from "animejs";supplies theanimebinding. The selectors must exist in the rendered DOM.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", );
Motion and Compatibility
- Scope: Use motion when it serves the product brief and user task. Respect the existing design system; simple transitions and static states are valid choices.
- Staggering: Leverage
anime.stagger()extensively to add organic rhythm to multiple elements. - Performance: Monitor main thread usage; use
will-change: transform, opacitywhere appropriate for GPU acceleration.
Example
User request:
Create complex, multi-stage landing page orchestrations.
Limitations
- The code above uses the v3 API. Anime.js v4 uses imported
createTimeline()and a different target/parameter signature; do not mix major-version examples. Consult official timeline documentation for the installed version. - Respect
prefers-reduced-motion: provide a static final state, avoid scroll hijacking, and keep focus/keyboard interactions immediately usable. Dispose animations when their component unmounts. will-changeis a temporary optimization hint, not a guarantee of GPU acceleration; measure real frames and avoid leaving it on every element.- 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.
よくある質問
「スタッガー」とは何ですか?
複数の要素を、それぞれの間に少しの遅延を入れて次々と表示させたり動かしたりする効果のことです。視覚的なリズムが生まれます。
「イージング関数」とは何ですか?
アニメーションの時間の経過に伴う速度を調整する関数です。現実世界の動きのように自然で、機械的になりすぎない動きを作ります。
どのウェブサイトでも使えますか?
はい、使えます。ただし、デザインや利用体験に本当に価値を加えるような凝ったアニメーションに最適で、単純なアニメーションには向いていません。
詳細
作者による元の説明
Advanced JavaScript animation library skill for creating complex, high-performance web animations.
人気
- GitHubのスター
- 48k
- ランキング
- #3750
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。