Communitygithub.com

アニメーションシステムアーキテクト

Framer Motion、GSAP、View Transitions API、スプリング物理を用いて、パフォーマンスが高くアクセシブルなアニメーションシステムを設計します。ページ遷移、マイクロインタラクション、スクロールアニメーション、レイアウトアニメーション、スプリング物理に最適化されています。

アニメーションシステムアーキテクト とは?

このスキルは、UIアニメーションシステムを設計・実装するための専門知識を提供します。主にFramer Motion、GSAP、View Transitions API、スプリング物理という4つの主要技術をカバーし、それぞれのユースケースに応じた最適なエンジン選択を支援します。ページ遷移やレイアウトアニメーション、マイクロインタラクションなど、様々なアニメーションをパフォーマンスを考慮して実装するためのベストプラクティスを提供します。具体的には、GPUコンポジットスレッドで動作するtransformとopacityのみをアニメーションさせること、will-changeの適切な使用、prefers-reduced-motionへの対応、アンチパターンの回避などが含まれます。このスキルはReactアプリケーション(特にNext.js)と非React環境の両方で利用可能であり、quality checklistに沿って実装の品質を確認することができます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/curiositech/windags-skills/tree/HEAD/skills/animation-system-architect

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

アニメーションシステムアーキテクト は何をしますか?

Framer Motion、GSAP、View Transitions API、スプリング物理を使用して、パフォーマンスが高くアクセシブルなアニメーションシステムを構築します。

アクティベーショントリガー

有効化するタイミング: ページ遷移、レイアウトアニメーション、スクロールトリガーアニメーション、マイクロインタラクション、スプリング物理、motion.div、gsap.to、View Transition API、共有要素トランジション、スaggeredリストアニメーション。

使用しないタイミング: CSSのみのホバー/フォーカスエフェクト -- 代わりに css-in-js-architect を使用。Canvas/WebGL レンダリング -- 代わりに creative-coding-expert を使用。Lottieファイルの再生 -- 代わりに標準のLottie統合を使用。

クイックスタート

  1. エンジンを選択 -- React宣言的ならFramer Motion、タイムライン重視または非ReactならGSAP、ページ間ナビゲーションならView Transitions API。
  2. transform と opacity のみをアニメーション -- これらはコンポジットスレッド(GPU)で動作し、レイアウトスラッシングを回避します。
  3. will-change は控えめに -- アニメーション中の要素にのみ適用し、完了後に削除します。
  4. prefers-reduced-motion を尊重 -- 設定しているユーザーにはすべてのアニメーションを無効化または簡略化します。
  5. DevToolsでプロファイリング -- Performanceタブ > アニメーション中のレイアウトシフトを確認。

コア機能

ドメイン技術主要パターン
宣言的ReactFramer Motion 11+、motion コンポーネントレイアウトアニメーション、AnimatePresence、バリアント
タイムラインアニメーションGSAP 3.12+、ScrollTriggerスクロール駆動シーケンス、ピン留め、スクラブ
ページ遷移View Transitions API、Next.js useViewTransitionクロスページ共有要素トランジション
スプリング物理Framer Motion スプリング、react-spring自然なイージング、割り込み可能なアニメーション
マイクロインタラクションCSSトランジション + Framer Motionボタンフィードバック、ホバー状態、ローディングインジケーター
スクロール駆動CSS animation-timeline: scroll()、GSAP ScrollTriggerパララックス、進捗インジケーター、スクロールで表示

アーキテクチャパターン

パターン1: Framer Motion レイアウトアニメーション

import { motion, AnimatePresence, LayoutGroup } from 'framer-motion';

function FilterableGrid({ items, filter }: Props) {
  const filtered = items.filter(item => item.category === filter);

  return (
    <LayoutGroup>
      <motion.div layout className="grid grid-cols-3 gap-4">
        <AnimatePresence mode="popLayout">
          {filtered.map(item => (
            <motion.div
              key={item.id}
              layout                             // 位置の変化をアニメーション
              initial={{ opacity: 0, scale: 0.8 }}
              animate={{ opacity: 1, scale: 1 }}
              exit={{ opacity: 0, scale: 0.8 }}
              transition={{ type: 'spring', stiffness: 300, damping: 25 }}
            >
              <Card item={item} />
            </motion.div>
          ))}
        </AnimatePresence>
      </motion.div>
    </LayoutGroup>
  );
}

パターン2: ページナビゲーションのための View Transitions API

// app/components/TransitionLink.tsx
'use client';
import { useRouter } from 'next/navigation';
import { useCallback } from 'react';

export function TransitionLink({ href, children }: { href: string; children: React.ReactNode }) {
  const router = useRouter();

  const handleClick = useCallback((e: React.MouseEvent) => {
    e.preventDefault();
    if (!document.startViewTransition) {
      router.push(href);
      return;
    }
    document.startViewTransition(() => {
      router.push(href);
    });
  }, [href, router]);

  return <a href={href} onClick={handleClick}>{children}</a>;
}
/* view-transition-name による共有要素トランジション */
.product-image {
  view-transition-name: product-hero;
}

::view-transition-old(product-hero) {
  animation: fade-and-scale 0.3s ease-out;
}
::view-transition-new(product-hero) {
  animation: fade-and-scale 0.3s ease-in reverse;
}

パターン3: Reduced Motion の尊重

import { useReducedMotion } from 'framer-motion';

function AnimatedComponent() {
  const shouldReduce = useReducedMotion();

  return (
    <motion.div
      initial={{ opacity: 0, y: shouldReduce ? 0 : 20 }}
      animate={{ opacity: 1, y: 0 }}
      transition={shouldReduce
        ? { duration: 0 }
        : { type: 'spring', stiffness: 260, damping: 20 }
      }
    >
      Content
    </motion.div>
  );
}
  ┌─ アニメーション意思決定ツリー ────────────────────┐
  │                                                   │
  │  prefers-reduced-motion?                          │
  │  ├── YES → インスタントな透過フェードのみ(モーション無し)│
  │  └── NO  → フルスプリング/トランスフォームアニメーション  │
  │                                                   │
  │  何をアニメーションする?                          │
  │  ├── transform/opacity → GPUコンポジット(良好)   │
  │  ├── width/height → レイアウトスラッシング(回避)  │
  │  └── box-shadow → ペイントのみ(許容範囲)        │
  └───────────────────────────────────────────────────┘

アンチパターン

  1. width、height、top、left のアニメーション -- 毎フレームレイアウトの再計算を引き起こします。代わりに transform: translate/scale を使用して60fpsを維持しましょう。
  2. 全ての要素に will-change を指定 -- レイヤーがGPUに過剰に昇格され、メモリ使用量が増加します。アニメーション中の要素にのみ適用しましょう。
  3. prefers-reduced-motion を無視 -- モーションに敏感なユーザーが吐き気や発作を引き起こす可能性があります。必ずこのメディアクエリをチェックし尊重しましょう。
  4. マイクロインタラクションのアニメーション時間が500msを超える -- UIがもっさりした印象になります。ボタン/ホバーフィードバックは200ms未満、ページ遷移は400ms未満に抑えましょう。
  5. requestAnimationFrame や ScrollTrigger を使用せずにスクロール中にアニメーション -- カクつきの原因になります。スクロール駆動アニメーションにはGSAP ScrollTrigger または CSS animation-timeline: scroll() を使用しましょう。

品質チェックリスト

  • すべてのアニメーションが transform と opacity(コンポジターに優しいプロパティ)を使用している
  • prefers-reduced-motion が useReducedMotion またはCSSメディアクエリで尊重されている
  • マイクロインタラクションが200ms未満、ページ遷移が400ms未満である
  • マウント/アンマウントアニメーションに AnimatePresence が使用されている
  • レイアウトアニメーションにFramer Motionの layout プロパティが使用されている(手動の位置計算ではない)
  • will-change がアニメーション中のみ適用され、完了後に削除されている
  • Chrome DevToolsのPerformanceパネルでカクつきがない(16msを超える長いフレームがない)
  • アニメーションが割り込み可能である(固定キーフレーム+ ease ではなく、スプリング物理を使用)
  • View Transitions APIに未対応ブラウザ向けのフォールバックがある
  • スクロール駆動アニメーションに animation-timeline または ScrollTrigger が使用されている(スクロールイベントリスナーではない)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

curiositech/windags-skills

Expert in 2000s-era music visualization (Milkdrop, AVS, Geiss) and modern WebGL implementations. Specializes in Butterchurn integration, Web Audio API AnalyserNode FFT data, GLSL shaders for audio-reactive visuals, and psychedelic generative art. Activate on "Milkdrop", "music visualization", "WebGL visualizer", "Butterchurn", "audio reactive", "FFT visualization", "spectrum analyzer". NOT for simple bar charts/waveforms (use basic canvas), video editing, or non-audio visuals.

curiositech/windags-skills

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape.

curiositech/windags-skills

Expert in 3D computer vision labeling tools, workflows, and AI-assisted annotation for LiDAR, point clouds, and sensor fusion. Covers SAM4D/Point-SAM, human-in-the-loop architectures, and vertical-specific training strategies. Activate on '3D labeling', 'point cloud annotation', 'LiDAR labeling', 'SAM 3D', 'SAM4D', 'sensor fusion annotation', '3D bounding box', 'semantic segmentation point cloud'. NOT for 2D image labeling (use clip-aware-embeddings), general ML training (use ml-engineer), video annotation without 3D (use computer-vision-pipeline), or VLM prompt engineering (use prompt-engineer).

curiositech/windags-skills

Implement WCAG 2.2 AA/AAA compliance with automated testing, keyboard navigation, screen reader support, and focus management. Activate on: accessibility audit, WCAG compliance, keyboard navigation, screen reader, aria attributes, axe-core, focus trap. NOT for: design-level accessibility review (use design-accessibility-auditor), color contrast only (use css-in-js-architect).

curiositech/windags-skills

Time-blind friendly planning, executive function support, and daily structure for ADHD brains. Specializes in realistic time estimation, dopamine-aware task design, and building systems that actually work for neurodivergent minds.

curiositech/windags-skills

Designs digital experiences for ADHD brains using neuroscience research and UX principles. Expert in reducing cognitive load, time blindness solutions, dopamine-driven engagement, and compassionate design patterns. Activate on 'ADHD design', 'cognitive load', 'accessibility', 'neurodivergent UX', 'time blindness', 'dopamine-driven', 'executive function'. NOT for general accessibility (WCAG only), neurotypical UX design, or simple UI styling without ADHD context.

curiositech/windags-skills

>- Apply crisis decision-making research to agent routing, uncertainty triage, and coordination failure analysis in time-pressured systems. Use when diagnosing handoff failures, analytical paralysis, or expert judgment under incomplete information. NOT for routine coding, simple CRUD design, or static single-agent tasks with complete information.

curiositech/windags-skills

Extend and modify the admin dashboard, developer portal, and operations console. Use when adding new admin tabs, metrics, monitoring features, or internal tools. Activates for dashboard development, analytics, user management, and internal tooling.

curiositech/windags-skills

Conversation patterns and interaction protocols for multi-agent systems. Covers request/response, pub/sub, blackboard, delegation chains, debate, critique, consensus, fan-out/fan-in, supervisor-worker, and peer negotiation. Deep analysis of AutoGen conversation patterns, CrewAI delegation, LangGraph state passing, and FIPA-ACL performatives. Teaches how to design what agents say to each other and in what order. Activate on: "agent conversation", "agent protocol", "multi-agent debate", "agent delegation", "supervisor worker pattern", "agent voting", "consensus protocol", "fan-out fan-in", "agent negotiation", "blackboard pattern", "agent dialogue", "conversation topology", "agent handoff". NOT for: wire format or serialization (use agent-interchange-formats), orchestration infrastructure (use agentic-infrastructure-2026), single agent behavior (use agentic-patterns).

curiositech/windags-skills

Meta-agent for creating new custom agents, skills, and MCP integrations. Expert in agent design, MCP development, skill architecture, and rapid prototyping. Activate on 'create agent', 'new skill', 'MCP server', 'custom tool', 'agent design'. NOT for using existing agents (invoke them directly), general coding (use language-specific skills), or infrastructure setup (use deployment-engineer).

curiositech/windags-skills

AI-powered calendar management and agent-based scheduling coordination. Covers calendar APIs (Google Calendar, CalDAV/iCal), AI scheduling assistants (Reclaim, Clockwise, Motion, Cal.com), building custom calendar agents with MCP, multi-calendar merging, timezone management, focus block protection, meeting fatigue detection, and agent-to-agent meeting negotiation protocols. Activate on: "calendar agent", "AI scheduling", "calendar coordination", "meeting scheduling", "calendar API", "focus time protection", "calendar optimization", "Google Calendar MCP", "Reclaim", "Clockwise", "Motion", "Cal.com", "smart scheduling", "calendar-aware agent", "timezone scheduling", "agent negotiation meetings". NOT for: manual calendar UI component design (use form-validation-architect), project management scheduling or Gantt charts (use project-management-guru-adhd), general time-tracking or pomodoro apps (use adhd-daily-planner for time-awareness), building the agent itself from scratch (use agent-creator).

curiositech/windags-skills

Build and adopt production AI agent infrastructure in 2026. Covers framework selection (LangGraph, CrewAI, AutoGen, MCP), orchestration patterns, evaluation, observability, memory systems, and tool use. Also covers the SOCIAL dimension: how to sell agent infrastructure internally, change management, measuring ROI, building trust in autonomous systems, and scaling adoption across teams. Activate on: "agent infrastructure", "agent framework comparison", "which agent framework", "sell AI tools internally", "agent adoption", "agent observability", "agent evaluation", "MCP architecture", "agentic mesh", "enterprise AI agents", "AI change management", "agent ROI". NOT for: building specific agents (use ai-engineer), designing agent behavior patterns (use agentic-patterns), prompt tuning (use prompt-engineer).

curiositech/windags-skills

Fundamental patterns for effective agentic behavior. Teaches decomposition, tool orchestration, error recovery, context management, quality self-assessment, and knowing when to stop. Model-agnostic principles that make any agent more effective regardless of domain. Activate on: "how should I structure this agent", "agentic workflow", "agent patterns", "multi-step task", "tool orchestration", "/agentic-patterns", "decompose this", "agent best practices", "chain of actions", "when should the agent stop", "agent loop design". NOT for: creating agent infrastructure (use agent-creator), building DAGs (use windags-architect), specific tool implementation.

curiositech/windags-skills

Automated discovery and matching of agent skills for dynamic task routing and capability assessment

curiositech/windags-skills

Cryptographic security for agentic systems — zero-trust agent networking, signed message envelopes (JWS/JWE), capability-based security (ocaps), Merkle tree audit trails, WASM sandboxing, and formal verification. Covers CLI dev tool security, mTLS between agents, permission boundaries (least privilege for AI agents), and supply chain security for skills/plugins. Activate on: "agent security", "zero trust agents", "secure agent communication", "capability-based security", "ocap", "signed messages between agents", "agent audit trail", "sandbox agent execution", "agent permissions", "mTLS agents", "cryptographic verification", "agent supply chain", "OWASP agentic", "prove agent did X", "tamper-proof agent logs". NOT for: application-level SAST scanning (use security-auditor), network firewall rules (use infrastructure), SOC2/HIPAA compliance (organizational), or prompt injection defense (use prompt-engineer).

curiositech/windags-skills

Data structures and serialization formats for agent-to-agent communication. Covers message envelopes, structured output schemas, capability declarations, task handoff payloads, error/retry signaling, and context windows as data structures. Deep comparison of A2A protocol, MCP, OpenAI function calling, and LangChain message types. Teaches when to use rigid schemas vs free-form with validation, typed vs untyped, streaming vs batch. Activate on: "agent message format", "agent communication schema", "agent-to-agent protocol", "A2A protocol", "MCP message format", "structured output for agents", "agent interop", "interchange format", "agent serialization", "task handoff format", "capability declaration". NOT for: what agents say to each other (use agent-conversation-protocols), orchestration topology (use multi-agent-coordination), building agent infrastructure (use agentic-infrastructure-2026).

curiositech/windags-skills

Logic-based agent programming language implementing BDI architecture for practical autonomous agent development

curiositech/windags-skills

>- Design AgentSpeak(L)-style BDI agents with context-guarded plans, selection functions, and intention stacks. Use for interruptible autonomy, agent policy, and multi-agent orchestration in dynamic environments. NOT for simple rule engines, static planners, or centralized workflows.

curiositech/windags-skills

Foundational concurrent computation model where actors communicate exclusively through asynchronous message passing

curiositech/windags-skills

license: Apache-2.0 NOT for unrelated tasks outside this domain.

関連スキル