jpskill.com
🛠️ 開発・MCP コミュニティ

animate

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o animate.zip https://jpskill.com/download/19773.zip && unzip -o animate.zip && rm animate.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19773.zip -OutFile "$d\animate.zip"; Expand-Archive "$d\animate.zip" -DestinationPath $d -Force; ri "$d\animate.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して animate.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → animate フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[スキル名] animate 機能の分析を行い、理解を深め、フィードバックを提供し、喜びを生み出すアニメーションとマイクロインタラクションを戦略的に追加してください。

必須準備

コンテキスト収集(最初にこれを行ってください)

ターゲットオーディエンス(重要)、望ましいユースケース(重要)、ブランドの個性/トーン(遊び心があるか真面目か、エネルギッシュか落ち着いているか)、パフォーマンスの制約など、必要なコンテキストがなければ、素晴らしい仕事はできません。

現在のスレッドまたはコードベースからこれらを収集してみてください。

  1. 正確な情報が見つからず、既存のデザインと機能から推測する必要がある場合は、必ず停止し、{{ask_instruction}} に、それが正しいかどうかを尋ねてください。
  2. それ以外の場合、完全に推測できない場合、または自信のレベルが中程度以下である場合は、まず{{ask_instruction}} に明確な質問をして、コンテキストを完成させる必要があります。

回答が得られるまで続行しないでください。推測は不適切または過剰なアニメーションにつながります。

frontend-design スキルを使用する

デザイン原則とアンチパターンについては、frontend-design スキルを使用してください。それが実行され、すべての DO と DON'T を知るまで続行しないでください。


アニメーションの機会を評価する

モーションがエクスペリエンスを向上させる場所を分析します。

  1. 静的な領域を特定する:

    • フィードバックの欠如: 視覚的な確認がないアクション(ボタンクリック、フォーム送信など)
    • 不快なトランジション: 突然に感じる瞬時の状態変化(表示/非表示、ページ読み込み、ルート変更)
    • 不明瞭な関係: 空間的または階層的な関係が明確でない
    • 喜びの欠如: 機能的だが喜びのないインタラクション
    • 見逃されたガイダンス: 注意を向けたり、動作を説明したりする機会
  2. コンテキストを理解する:

    • 個性は何ですか?(遊び心があるか真面目か、エネルギッシュか落ち着いているか)
    • パフォーマンス予算はどのくらいですか?(モバイルファーストか?複雑なページか?)
    • 誰がオーディエンスですか?(モーションに敏感なユーザーか?速度を求めるパワーユーザーか?)
    • 何が最も重要ですか?(1つのヒーローアニメーションか、多くのマイクロインタラクションか?)

これらのいずれかがコードベースから不明な場合は、{{ask_instruction}}

重要: prefers-reduced-motion を尊重してください。必要なユーザーのために、常にアニメーションなしの代替手段を提供してください。

アニメーション戦略を計画する

目的のあるアニメーション計画を作成します。

  • ヒーローモーメント: 1つの特徴的なアニメーションは何ですか?(ページ読み込み?ヒーローセクション?主要なインタラクション?)
  • フィードバックレイヤー: どのインタラクションが確認を必要としますか?
  • トランジションレイヤー: どの状態変化がスムーズにする必要がありますか?
  • 喜びのレイヤー: どこで驚きと喜びを提供できますか?

重要: 適切に調整された1つのエクスペリエンスは、あちこちに散らばったアニメーションよりも優れています。影響の大きい瞬間に焦点を当ててください。

アニメーションを実装する

これらのカテゴリ全体にモーションを体系的に追加します。

エントランスアニメーション

  • ページ読み込みの振り付け: 要素の表示をずらす(100-150msの遅延)、フェード+スライドの組み合わせ
  • ヒーローセクション: 主要コンテンツの劇的なエントランス(スケール、パララックス、またはクリエイティブな効果)
  • コンテンツの表示: Intersection Observer を使用したスクロールトリガーアニメーション
  • モーダル/ドロワーのエントリ: スムーズなスライド+フェード、背景のフェード、フォーカス管理

マイクロインタラクション

  • ボタンのフィードバック:
    • ホバー: 微妙なスケール(1.02-1.05)、色の変化、影の増加
    • クリック: 素早いスケールダウンからアップ(0.95 → 1)、リップル効果
    • ローディング: スピナーまたはパルス状態
  • フォームのインタラクション:
    • 入力フォーカス: 枠線の色のトランジション、わずかなスケールまたはグロー
    • バリデーション: エラー時に揺れる、成功時にチェックマーク、スムーズな色のトランジション
  • トグルスイッチ: スムーズなスライド+色のトランジション(200-300ms)
  • チェックボックス/ラジオ: チェックマークアニメーション、リップル効果
  • いいね/お気に入り: スケール+回転、パーティクル効果、色のトランジション

状態遷移

  • 表示/非表示: フェード+スライド(瞬時ではない)、適切なタイミング(200-300ms)
  • 展開/折りたたみ: オーバーフロー処理を伴う高さのトランジション、アイコンの回転
  • ローディング状態: スケルトンスクリーンのフェード、スピナーアニメーション、プログレスバー
  • 成功/エラー: 色のトランジション、アイコンアニメーション、穏やかなスケールパルス
  • 有効/無効: 不透明度のトランジション、カーソル変更

ナビゲーションとフロー

  • ページトランジション: ルート間のクロスフェード、共有要素トランジション
  • タブ切り替え: インジケーターのスライド、コンテンツのフェード/スライド
  • カルーセル/スライダー: スムーズな変換、スナップポイント、慣性
  • スクロール効果: パララックスレイヤー、状態変化を伴うスティッキーヘッダー、スクロールプログレスインジケーター

フィードバックとガイダンス

  • ホバーヒント: ツールチップのフェードイン、カーソル変更、要素のハイライト
  • ドラッグ&ドロップ: リフト効果(影+スケール)、ドロップゾーンのハイライト、スムーズな再配置
  • コピー/ペースト: ペースト時の短いハイライトフラッシュ、「コピーしました」の確認
  • フォーカスフロー: フォームまたはワークフローを通るパスのハイライト

喜びの瞬間

  • 空の状態: イラストの微妙な浮遊アニメーション
  • 完了したアクション: 紙吹雪、チェックマークの装飾、成功のお祝い
  • イースターエッグ: 発見のための隠されたインタラクション
  • コンテキストアニメーション: 天気効果、時刻テーマ、季節のタッチ

技術的な実装

各アニメーションに適切なテクニックを使用します。

タイミングとイージング

目的別の持続時間:

  • 100-150ms: 瞬時のフィードバック(ボタン押し、トグル)
  • 200-300ms: 状態変化(ホバー、メニューオープン)
  • 300-500ms: レイアウト変更(アコーディオン、モーダル)
  • 500-800ms: エントランスアニメーション(ページ読み込み)

イージング曲線(CSSのデフォルトではなくこれらを使用してください):

/* 推奨 - 自然な減速 */
--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);    /* スムーズで洗練された */
--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);   /* ややキビキビとした */
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);     /* 自信に満ちた、決定的な */

/* 回避 - 古くさく、安っぽい印象を与える */
/* bounce: cubic-bezier(0.34, 1.56, 0.64, 1); */
/* elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6); */

終了アニメーションはエントランスアニメーションよりも高速です。 エントランス持続時間の約75%を使用してください。

CSSアニメーション

/* シンプルで宣言的なアニメーションにはこちらを推奨 */
- 状態変化には transitions
- 複雑なシーケンスには @keyframes

(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Analyze a feature and strategically add animations and micro-interactions that enhance understanding, provide feedback, and create delight.

MANDATORY PREPARATION

Context Gathering (Do This First)

You cannot do a great job without having necessary context, such as target audience (critical), desired use-cases (critical), brand personality/tone (playful vs serious, energetic vs calm), and performance constraints.

Attempt to gather these from the current thread or codebase.

  1. If you don't find exact information and have to infer from existing design and functionality, you MUST STOP and {{ask_instruction}} whether you got it right.
  2. Otherwise, if you can't fully infer or your level of confidence is medium or lower, you MUST {{ask_instruction}} clarifying questions first to complete your context.

Do NOT proceed until you have answers. Guessing leads to inappropriate or excessive animation.

Use frontend-design skill

Use the frontend-design skill for design principles and anti-patterns. Do NOT proceed until it has executed and you know all DO's and DON'Ts.


Assess Animation Opportunities

Analyze where motion would improve the experience:

  1. Identify static areas:

    • Missing feedback: Actions without visual acknowledgment (button clicks, form submission, etc.)
    • Jarring transitions: Instant state changes that feel abrupt (show/hide, page loads, route changes)
    • Unclear relationships: Spatial or hierarchical relationships that aren't obvious
    • Lack of delight: Functional but joyless interactions
    • Missed guidance: Opportunities to direct attention or explain behavior
  2. Understand the context:

    • What's the personality? (Playful vs serious, energetic vs calm)
    • What's the performance budget? (Mobile-first? Complex page?)
    • Who's the audience? (Motion-sensitive users? Power users who want speed?)
    • What matters most? (One hero animation vs many micro-interactions?)

If any of these are unclear from the codebase, {{ask_instruction}}

CRITICAL: Respect prefers-reduced-motion. Always provide non-animated alternatives for users who need them.

Plan Animation Strategy

Create a purposeful animation plan:

  • Hero moment: What's the ONE signature animation? (Page load? Hero section? Key interaction?)
  • Feedback layer: Which interactions need acknowledgment?
  • Transition layer: Which state changes need smoothing?
  • Delight layer: Where can we surprise and delight?

IMPORTANT: One well-orchestrated experience beats scattered animations everywhere. Focus on high-impact moments.

Implement Animations

Add motion systematically across these categories:

Entrance Animations

  • Page load choreography: Stagger element reveals (100-150ms delays), fade + slide combinations
  • Hero section: Dramatic entrance for primary content (scale, parallax, or creative effects)
  • Content reveals: Scroll-triggered animations using intersection observer
  • Modal/drawer entry: Smooth slide + fade, backdrop fade, focus management

Micro-interactions

  • Button feedback:
    • Hover: Subtle scale (1.02-1.05), color shift, shadow increase
    • Click: Quick scale down then up (0.95 → 1), ripple effect
    • Loading: Spinner or pulse state
  • Form interactions:
    • Input focus: Border color transition, slight scale or glow
    • Validation: Shake on error, check mark on success, smooth color transitions
  • Toggle switches: Smooth slide + color transition (200-300ms)
  • Checkboxes/radio: Check mark animation, ripple effect
  • Like/favorite: Scale + rotation, particle effects, color transition

State Transitions

  • Show/hide: Fade + slide (not instant), appropriate timing (200-300ms)
  • Expand/collapse: Height transition with overflow handling, icon rotation
  • Loading states: Skeleton screen fades, spinner animations, progress bars
  • Success/error: Color transitions, icon animations, gentle scale pulse
  • Enable/disable: Opacity transitions, cursor changes

Navigation & Flow

  • Page transitions: Crossfade between routes, shared element transitions
  • Tab switching: Slide indicator, content fade/slide
  • Carousel/slider: Smooth transforms, snap points, momentum
  • Scroll effects: Parallax layers, sticky headers with state changes, scroll progress indicators

Feedback & Guidance

  • Hover hints: Tooltip fade-ins, cursor changes, element highlights
  • Drag & drop: Lift effect (shadow + scale), drop zone highlights, smooth repositioning
  • Copy/paste: Brief highlight flash on paste, "copied" confirmation
  • Focus flow: Highlight path through form or workflow

Delight Moments

  • Empty states: Subtle floating animations on illustrations
  • Completed actions: Confetti, check mark flourish, success celebrations
  • Easter eggs: Hidden interactions for discovery
  • Contextual animation: Weather effects, time-of-day themes, seasonal touches

Technical Implementation

Use appropriate techniques for each animation:

Timing & Easing

Durations by purpose:

  • 100-150ms: Instant feedback (button press, toggle)
  • 200-300ms: State changes (hover, menu open)
  • 300-500ms: Layout changes (accordion, modal)
  • 500-800ms: Entrance animations (page load)

Easing curves (use these, not CSS defaults):

/* Recommended - natural deceleration */
--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);    /* Smooth, refined */
--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);   /* Slightly snappier */
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);     /* Confident, decisive */

/* AVOID - feel dated and tacky */
/* bounce: cubic-bezier(0.34, 1.56, 0.64, 1); */
/* elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6); */

Exit animations are faster than entrances. Use ~75% of enter duration.

CSS Animations

/* Prefer for simple, declarative animations */
- transitions for state changes
- @keyframes for complex sequences
- transform + opacity only (GPU-accelerated)

JavaScript Animation

/* Use for complex, interactive animations */
- Web Animations API for programmatic control
- Framer Motion for React
- GSAP for complex sequences

Performance

  • GPU acceleration: Use transform and opacity, avoid layout properties
  • will-change: Add sparingly for known expensive animations
  • Reduce paint: Minimize repaints, use contain where appropriate
  • Monitor FPS: Ensure 60fps on target devices

Accessibility

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

NEVER:

  • Use bounce or elastic easing curves—they feel dated and draw attention to the animation itself
  • Animate layout properties (width, height, top, left)—use transform instead
  • Use durations over 500ms for feedback—it feels laggy
  • Animate without purpose—every animation needs a reason
  • Ignore prefers-reduced-motion—this is an accessibility violation
  • Animate everything—animation fatigue makes interfaces feel exhausting
  • Block interaction during animations unless intentional

Verify Quality

Test animations thoroughly:

  • Smooth at 60fps: No jank on target devices
  • Feels natural: Easing curves feel organic, not robotic
  • Appropriate timing: Not too fast (jarring) or too slow (laggy)
  • Reduced motion works: Animations disabled or simplified appropriately
  • Doesn't block: Users can interact during/after animations
  • Adds value: Makes interface clearer or more delightful

Remember: Motion should enhance understanding and provide feedback, not just add decoration. Animate with purpose, respect performance constraints, and always consider accessibility. Great animation is invisible - it just makes everything feel right.