Communitygithub.com

Motion Advanced

React / Next.js向けの高度なモーションパターン集 — ドラッグ&ドロップ、ジェスチャー、テキストアニメーション、SVGパス描画、カスタムフック、命令型シーケンス(useAnimate)、ローダー、API判断ツリー全体を網羅。事前に motion-foundations のセットアップが必要です。

Motion Advanced とは?

このスキルは、React / Next.jsアプリケーションにおいて、**複雑でインタラクティブかつ物理ベースのアニメーションパターン**を実装するための包括的なガイドです。基本的なアニメーションパターンでは対応できない、高度なユースケース(ドラッグによるスワイプやリオーダー、テキストの文字単位・単語単位のアニメーション、SVGパスの描画やモーフィング、カスタムフックの作成、複数ステップの命令型シーケンスなど)に焦点を当てています。主に motion ライブラリ(Framer Motion)の高度なAPI(useAnimate、useMotionValue、useTransform、useSpring、Reorder など)を活用し、パフォーマンスと自然な物理挙動を重視します。このスキルは、**motion-foundations** が事前にセットアップされていることを前提としており、物理ベースのモーション(useSpring)やトークン値の使用、タッチデバイスでの動作確認、無限アニメーションの表示状態に応じた一時停止など、具体的なルールとベストプラクティスが豊富に含まれています。各パターンには完全なコード例が付属しており、すぐにプロジェクトに組み込むことが可能です。

対応~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Cody-W-Tucker/skills/tree/HEAD/skills/motion-advanced

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

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

ドキュメント

Motion Advanced は何をしますか?

複雑でインタラクティブな物理ベースアニメーションパターン。 事前に motion-foundations のセットアップが必要です。 motion-patterns では対応しきれない場合に使用します。

使用タイミング

  • ドラッグで閉じるシート、スワイプジェスチャー、並べ替え可能なリストの構築
  • テキストを単語単位・文字単位でアニメーション、またはライブカウンターとしてアニメーション
  • SVGパスの描画、アイコンのモーフィング、円形プログレスのアニメーション
  • カスタムアニメーションフック(useScrollReveal、マグネティックボタン、カーソルフォロワー)の作成
  • useAnimate を使った複数ステップの命令型アニメーションのシーケンス化
  • スピナー、シャイマースケルトン、パルスインジケーター、ローディングボタン状態の構築

出力

このスキルは以下を生成します。

  • ドラッグ操作: ドラッグ可能なカード、ドラッグで閉じるシート、Reorder.Group リスト
  • ジェスチャーフック: スワイプ検出、ロングプレス、ピンチアウトライン
  • テキストアニメーションコンポーネント: 単語表示、文字タイプライター、数字カウンター
  • SVGアニメーション: パス描画、アイコンモーフ、ストロークプログレスリング
  • カスタムフック: useScrollReveal、useHoverScale、useNavigationDirection、useInViewOnce
  • useAnimate による命令型シーケンス(中断安全な async/await)
  • ローダーコンポーネント: スピナー、シャイマー、パルスドット、プログレスバー、ボタンローディング状態

原則

  • 直接操作には物理ベースのモーション(useSpring、springs.*)が、常に時間ベースのモーションよりも自然に感じられます。
  • useMotionValue + useTransform で派生値を計算し、再レンダリングをトリガーしません。
  • useAnimate シーケンスは命令型で中断安全です。途中で animate() を呼び出すと、自動的に前のアニメーションがキャンセルされます。
  • モーション値(useMotionValue、useSpring)はSSRセーフであり、ハイドレーションエラーを引き起こしません。

ルール

  1. ドラッグ操作はマウスだけでなく、タッチデバイスでもテストする必要があります。 drag プロパティは両方で動作しますが、感触と閾値が異なります。
  2. **無限アニメーションは、`document.visibilityState ===

Individual skills in this repo

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

Cody-W-Tucker/skills

Landing page quality assessment for paid advertising campaigns. Evaluates message match, page speed, mobile experience, trust signals, form optimization, and conversion rate potential. Use when user says landing page, post-click experience, landing page audit, conversion rate, or landing page optimization.

Cody-W-Tucker/skills

TikTok Ads deep analysis covering creative quality, tracking, bidding, campaign structure, and TikTok Shop. Evaluates 28 checks with emphasis on creative-first strategy, safe zone compliance, and Smart+ campaigns. Use when user says TikTok Ads, TikTok marketing, TikTok Shop, Spark Ads, Smart+, or TikTok campaign.

Cody-W-Tucker/skills

YouTube Ads specific analysis covering campaign types, creative quality, audience targeting, and measurement. Evaluates video ad performance across skippable, non-skippable, bumper, Shorts, Demand Gen, and Connected TV formats. Covers VAC→Demand Gen migration, Shorts creative requirements, and CTV shoppable ads. Use when user says YouTube Ads, video ads, pre-roll, bumper ads, YouTube campaign, Shorts ads, or CTV ads.

Cody-W-Tucker/skills

Craft the story that makes investors say \"I want in.\" Master the narrative structure that Reid Hoffman, Sequoia, and top founders use to raise capital. Use when: **Preparing to fundraise** to develop your story before the deck; **Investor meetings** to structure conversations that convert; **Pitch practice** to refine your narrative arc; **Cold outreach** to write compelling investor emails; **Pivoting** to reframe your story after a change

Cody-W-Tucker/skills

Identify the best GTM motions and tools across 7 motion types: Inbound, Outbound, Paid Digital, Community, Partners, ABM, and PLG. Use when selecting marketing channels, choosing between inbound and outbound strategy, or planning cross-channel campaigns.

Cody-W-Tucker/skills

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

Cody-W-Tucker/skills

Optimize landing pages for maximum conversions using proven frameworks from Unbounce and Oli Gardner—apply the \"one goal, one message, one action\" principle with data-driven design, copy, and CTA best practices. Use when: **Create a new landing page** for a campaign; **Optimize an existing landing page** that isn't converting; **Review landing page design** before launch; **Improve form conversion rates** on lead gen pages; **A/B test landing page elements** systematically

Cody-W-Tucker/skills

Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundation layer — all other motion skills depend on this.

Cody-W-Tucker/skills

A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video poster", "title card", or pairs Open Claude Design with HyperFrames for a kinetic export.

Cody-W-Tucker/skills

Production-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion-foundations tokens and springs.

Cody-W-Tucker/skills

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

Cody-W-Tucker/skills

Produce a single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

Cody-W-Tucker/skills

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

Cody-W-Tucker/skills

Best practices for Remotion - Video creation in React. 29 domain-specific rules covering 3D, animations, audio, captions, charts, transitions, and more.

Cody-W-Tucker/skills

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

Cody-W-Tucker/skills

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

Cody-W-Tucker/skills

Master April Dunford's 8-step sales narrative from \"Sales Pitch\" (2023). Transform your positioning into a compelling story that wins enterprise deals. Use when: Structuring B2B sales presentations and demos; Creating pitch decks for complex products; Training sales teams on narrative-driven selling; Converting positioning strategy into sales conversations; Winning against entrenched competitors

Cody-W-Tucker/skills

Swiss-style user-research narrative template in warm-paper editorial aesthetics. Use when users ask for a premium research deck or story-first live artifact with minimalist typography, high-clarity layout, subtle motion, donut breakdowns, and keyboard/click navigation across slides in a single HTML file.

Cody-W-Tucker/skills

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

Cody-W-Tucker/skills

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

関連スキル