Interaction Designのロゴ

Interaction Design

コミュニティ
hsynozdamar-byte
interaction-design

Microinteractions, transitions and feedback states with Motion, GSAP or CSS. Use for press and hover feedback, loading, toasts, page transitions, drag gestures and scroll-driven animation.

概要

公開者hsynozdamar-byte
リポジトリclaude-skills-edited
スキル名interaction-design
スター
63
フォーク
1
同梱ファイル
2
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    hsynozdamar-byteがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Interaction Design」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/interaction-design
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/interaction-design .claude/skills/interaction-design
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでInteraction Designを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にInteraction Designを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Interaction Designは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Interaction Design

Motion should communicate, not decorate: confirm an action happened (feedback), show where things come from and go to (orientation), pull attention to what changed (focus), and keep context across a change (continuity). Too much motion causes fatigue.

Timing and easing

DurationUse
100-150msMicro-feedback (hover, click)
200-300msToggles, dropdowns
300-500msModals, page changes
500ms+Choreographed sequences

Use one timing scale across the app.

css
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);     /* entering */
--ease-in: cubic-bezier(0.55, 0, 1, 0.45);     /* exiting */
--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* moving between */
--spring: cubic-bezier(0.34, 1.56, 0.64, 1);   /* overshoot, playful */

Spring values that work (Motion)

  • Button press/hover: whileTap={{ scale: 0.98 }}, whileHover={{ scale: 1.02 }}, { type: "spring", stiffness: 400, damping: 17 }.
  • Toggle thumb and layoutId active indicators (tabs, nav pills): stiffness: 500, damping: 30.
  • Smoothed scroll progress: useSpring(scrollYProgress, { stiffness: 100, damping: 30, restDelta: 0.001 }).
  • Presets (stiffness/damping, mass 1): default 170/26, gentle 120/14, wobbly 180/12, stiff 210/20, slow 280/60, molasses 280/120. Higher stiffness is snappier, higher damping less bouncy.

Gotchas

  • Animate transform and opacity; not width, height, top, left, margin, padding.
  • Swapping content in place (button label to spinner, count change): AnimatePresence mode="wait" with a changing key on the child, or the exit never plays.
  • Page transitions: AnimatePresence mode="wait" initial={false} keyed on the pathname, so the first load doesn't animate.
  • Shared active indicator: render it only in the active item with a common layoutId; Motion animates it between positions. Reorder.Group/Reorder.Item for drag-to-reorder lists.
  • Stagger with variants: parent staggerChildren: 0.1, delayChildren: 0.2, children carry their own hidden/visible.
  • GSAP in React: create tweens inside gsap.context(() => {...}, scopeRef) in useLayoutEffect and return () => ctx.revert(). gsap.registerPlugin(ScrollTrigger) (and SplitText) before use; revert SplitText on cleanup. Use ease: "none" with scrub for parallax.
  • View Transitions: guard document.startViewTransition; give morphing elements a unique viewTransitionName per item (e.g. product-${id}).
  • Scroll: listeners with { passive: true }; prefer IntersectionObserver (or useInView with once) over scroll handlers for reveals. will-change sparingly.
  • Optimistic updates: update UI immediately, roll back on error.
  • Never block input while an animation plays; let users interrupt long ones. Clean up timers, observers and animations on unmount (animation.cancel() for WAAPI).
  • Skeletons should match the final layout so nothing shifts when content arrives.
  • Reduced motion: respect prefers-reduced-motion; with JS, also listen for change on the media query rather than reading it once. Drop the movement offset (y: 0) and duration rather than the whole state change.
  • Test on real devices; performance varies a lot.

For ready-made recipes with their tuned values (loading/success buttons, shake on error, click-again confirm, toasts, pull to refresh, parallax, horizontal scroll, text and clip reveals, Lenis, scroll snap), load references/patterns.md.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Interaction Design」では何ができますか?

Microinteractions, transitions and feedback states with Motion, GSAP or CSS. Use for press and hover feedback, loading, toasts, page transitions, drag gestures and scroll-driven animation.

TypingMindでInteraction Designを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Interaction Designはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにInteraction Designをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/interaction-designを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Interaction Designを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Interaction Designで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもInteraction Designを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Interaction Design」は無料ですか?

hsynozdamar-byteがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇