Communitygithub.com

AlperTuncOrtak/crypto-data-pipeline

Remotion と Stitch を連携して、スムーズなトランジション、ズーム効果、テキストオーバーレイ付きのウォークスルー動画を生成するスキル

crypto-data-pipeline とは?

このスキルは、Stitch プロジェクトの画面デザインから、Remotion を使ったプロフェッショナルなウォークスルー動画をプログラムで生成するためのツールです。開発者は Stitch MCP サーバーから画面のスクリーンショットやメタデータを取得し、Remotion のコンポーネント(ScreenSlide.tsx、WalkthroughComposition.tsx)を使って動画を構成します。対応プラットフォームは Stitch と Remotion(MCP サーバーまたは CLI)で、Node.js 環境が必要です。スキルは、画面の取得、アセットの整理、Remotion プロジェクトのセットアップ、プレビュー、レンダリングまでの全工程をカバーし、フェード・スライド・ズームなどのトランジション効果やテキストオーバーレイ、インタラクティブなホットスポット、音声ナレーションの統合などの高度な機能も提供します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlperTuncOrtak/crypto-data-pipeline/tree/HEAD/skills/remotion

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

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

ドキュメント

Stitch から Remotion へのウォークスルー動画生成

あなたは、アプリデザインから魅力的なウォークスルー動画を作成することに特化した動画制作スペシャリストです。Stitch の画面取得機能と Remotion のプログラムによる動画生成を組み合わせ、スムーズでプロフェッショナルなプレゼンテーションを実現します。

概要

このスキルを使用すると、プロフェッショナルなトランジション、ズーム効果、コンテキストに応じたテキストオーバーレイを備えたアプリ画面のウォークスルー動画を作成できます。ワークフローは、Stitch プロジェクトから画面を取得し、それらを Remotion の動画コンポジションに統合します。

前提条件

必須:

  • Stitch MCP サーバーへのアクセス
  • Remotion MCP サーバー(または Remotion CLI)へのアクセス
  • Node.js と npm がインストールされていること
  • デザイン済みの画面が含まれる Stitch プロジェクト

推奨:

  • Remotion の動画機能に関する知識
  • React コンポーネントの理解(Remotion は React を使用)

取得とネットワーキング

ステップ 1: 利用可能な MCP サーバーを検出する

list_tools を実行して、利用可能な MCP サーバーとそのプレフィックスを特定します。

  • Stitch MCP: stitch: または mcp_stitch: プレフィックスを探す
  • Remotion MCP: remotion: または mcp_remotion: プレフィックスを探す

ステップ 2: Stitch プロジェクト情報を取得する

  1. プロジェクト検索(プロジェクト ID が提供されていない場合):

    • [stitch_prefix]:list_projects を filter: "view=owned" で呼び出す
    • タイトル(例:「電卓アプリ」)で目的のプロジェクトを特定する
    • name フィールドからプロジェクト ID を抽出する(例: projects/13534454087919359824)
  2. 画面の取得:

    • [stitch_prefix]:list_screens をプロジェクト ID(数値のみ)で呼び出す
    • 画面タイトルを確認し、ウォークスルーに含めるすべての画面を特定する
    • 各画面の name フィールドから画面 ID を抽出する
  3. 画面メタデータの取得: 各画面に対して:

    • [stitch_prefix]:get_screen を projectId と screenId で呼び出す
    • 以下を取得する:
      • screenshot.downloadUrl — 動画用のビジュアルアセット
      • htmlCode.downloadUrl — オプション: テキスト/コンテンツ抽出用
      • width, height — 適切なスケーリングのための画面サイズ
      • テキストオーバーレイ用の画面タイトルと説明文
  4. アセットのダウンロード:

    • web_fetch または curl を使用した Bash を使ってスクリーンショットをダウンロードする
    • ステージングディレクトリ assets/screens/{screen-name}.png に保存する
    • アセットをウォークスルーフローの順序に従って整理する

ステップ 3: Remotion プロジェクトをセットアップする

  1. 既存の Remotion プロジェクトの確認:

    • remotion.config.ts または Remotion 依存関係を含む package.json を探す
    • 存在する場合は、既存のプロジェクト構造を使用する
  2. 新しい Remotion プロジェクトの作成(必要な場合):

    npm create video@latest -- --blank
    
    • TypeScript テンプレートを選択する
    • 専用の video/ ディレクトリにセットアップする
  3. 依存関係のインストール:

    cd video
    npm install @remotion/transitions @remotion/animated-emoji
    

動画構成戦略

アーキテクチャ

以下のコンポーネントからなるモジュール式 Remotion コンポジションを作成します。

  1. ScreenSlide.tsx — 個別の画面表示コンポーネント

    • プロパティ: imageSrc, title, description, width, height
    • 機能: ズームインアニメーション、フェードトランジション
    • 再生時間: 設定可能(デフォルト 1画面あたり 3〜5秒)
  2. WalkthroughComposition.tsx — メイン動画コンポジション

    • 複数の ScreenSlide コンポーネントを順次配置
    • 画面間のトランジションを処理
    • テキストオーバーレイと注釈を追加
  3. config.ts — 動画設定

    • フレームレート(デフォルト: 30 fps)
    • 動画サイズ(Stitch 画面サイズに合わせるか、適切にスケーリング)
    • 合計再生時間の計算

トランジション効果

プロフェッショナルな効果を得るために、Remotion の @remotion/transitions を使用します。

  • フェード: 画面間のスムーズなクロスフェード

    import {fade} from '@remotion/transitions/fade';
    
  • スライド: 方向性のあるスライドトランジション

    import {slide} from '@remotion/transitions/slide';
    
  • ズーム: 強調のためのズームイン/アウト効果

    • spring() アニメーションを使用してスムーズなズームを実現
    • 重要な UI 要素に適用

テキストオーバーレイ

Remotion のテキストレンダリング機能を使用して、コンテキスト情報を追加します。

  1. 画面タイトル: 各フレームの上部または下部に表示
  2. 機能コールアウト: アニメーション化されたポインターで特定の UI 要素を強調表示
  3. 説明文: 各画面の説明テキストをフェードイン表示
  4. 進行状況インジケーター: ウォークスルー内の現在の画面位置を表示

実行手順

ステップ 1: 画面アセットを収集する

  1. 対象の Stitch プロジェクトを特定する
  2. プロジェクト内のすべての画面をリストする
  3. 各画面のスクリーンショットをダウンロードする
  4. ウォークスルーフローの順序に整理する
  5. マニフェストファイル(screens.json)を作成する:
{
  "projectName": "電卓アプリ",
  "screens": [
    {
      "id": "1",
      "title": "ホーム画面",
      "description": "数字パッド付きのメイン電卓インターフェース",
      "imagePath": "assets/screens/home.png",
      "width": 1200,
      "height": 800,
      "duration": 4
    },
    {
      "id": "2",
      "title": "履歴ビュー",
      "description": "以前の計算結果の表示",
      "imagePath": "assets/screens/history.png",
      "width": 1200,
      "height": 800,
      "duration": 3
    }
  ]
}

ステップ 2: Remotion コンポーネントを生成する

Remotion のベストプラクティスに従って動画コンポーネントを作成します。

  1. ScreenSlide.tsx を作成:

    • useCurrentFrame() と spring() をアニメーションに使用
    • ズームとフェード効果を実装
    • 適切なタイミングでテキストオーバーレイを追加
  2. WalkthroughComposition.tsx を作成:

    • 画面マニフェストをインポート
    • <Sequence> コンポーネントで画面を順序付け
    • 画面間にトランジションを適用
    • 適切なタイミングとオフセットを計算
  3. remotion.config.ts を更新:

    • コンポジション ID を設定
    • 動画サイズを設定
    • フレームレートと再生時間を設定

参考リソース:

  • resources/screen-slide-template.tsx を開始点として使用
  • 完全性を確認するために resources/composition-checklist.md に従う
  • examples/walkthrough/ ディレクトリの例を確認

ステップ 3: プレビューと調整

  1. Remotion Studio を起動:

    npm run dev
    
    • ブラウザベースのプレビューが開く
    • リアルタイムでの編集と調整が可能
  2. タイミングを調整:

    • 各画面に適切な表示時間が設定されていることを確認
    • トランジションがスムーズであることを確認
    • テキストオーバーレイのタイミングを確認
  3. アニメーションを微調整:

    • ズーム効果のための spring 設定を調整
    • トランジションのイージング関数を変更
    • テキストが常に読みやすいことを確認

ステップ 4: 動画をレンダリングする

  1. Remotion CLI を使用してレンダリング:

    npx remotion render WalkthroughComposition output.mp4
    
  2. 代替方法: Remotion MCP を使用(利用可能な場合):

    • [remotion_prefix]:render をコンポジションの詳細とともに呼び出す
    • 出力形式を指定(MP4、WebM など)
  3. 最適化オプション:

    • 品質レベルの設定(--quality)
    • コーデックの設定(--codec h264 または h265)
    • 並列レンダリングの有効化(--concurrency)

高度な機能

インタラクティブホットスポット

クリック可能な要素や重要な機能を強調表示します。

import {interpolate, useCurrentFrame} from 'remotion';

const Hotspot = ({x, y, label}) => {
  const frame = useCurrentFrame();
  const scale = spring({
    frame,
    fps: 30,
    config: {damping: 10, stiffness: 100}
  });
  
  return (
    <div style={{
      position: 'absolute',
      left: x,
      top: y,
      transform: `scale(${scale})`
    }}>
      <div className="pulse-ring" />
      <span>{label}</span>
    </div>
  );
};

ナレーション統合

ウォークスルーにナレーションを追加します。

  1. 画面の説明からナレーションスクリプトを生成
  2. テキスト読み上げを使用するか、音声を録音
  3. <Audio> コンポーネントで Remotion に音声をインポート
  4. 画面のタイミングをナレーションのペースに同期

動的テキスト抽出

Stitch の HTML コードからテキストを抽出し、自動注釈を生成します。

  1. 各画面の htmlCode.downloadUrl をダウンロード
  2. HTML を解析して主要なテキスト要素(見出し、ボタン、ラベル)を抽出
  3. 重要な UI 要素の自動コールアウトを生成
  4. タイミング付きテキストオーバーレイとしてコンポジションに追加

ファイル構造

project/
├── video/                      # Remotion プロジェクトディレクトリ
│   ├── src/
│   │   ├── WalkthroughComposition.tsx
│   │   ├── ScreenSlide.tsx
│   │   ├── components/
│   │   │   ├── Hotspot.tsx
│   │   │   └── TextOverlay.tsx
│   │   └── Root.tsx
│   ├── public/
│   │   └── assets/
│   │       └── screens/        # ダウンロードした Stitch スクリーンショット
│   │           ├── home.png
│   │           └── history.png
│   ├── remotion.config.ts
│   └── package.json
├── screens.json                # 画面マニフェスト
└── output.mp4                  # レンダリングされた動画

Remotion スキルとの統合

Remotion は独自の Agent Skills を維持しており、ベストプラクティスを定義しています。高度なテクニックについてはこれらを参照してください。

活用すべき主要な Remotion スキル:

  • アニメーションのタイミングとイージング
  • コンポジションアーキテクチャのパターン
  • パフォーマンス最適化
  • 音声同期

一般的なパターン

パターン 1: シンプルなスライドショー

フェードトランジションを使用した基本的なウォークスルー:

  • 1画面あたり 3〜5秒
  • クロスフェードトランジション
  • 画面タイトル付きの下部テキストオーバーレイ
  • 上部の進行状況バー

パターン 2: 機能強調表示

特定の UI 要素に焦点を当てる:

  • 特定の領域にズームイン
  • 機能を指すアニメーション化された円/矢印
  • 重要な操作のスローモーション強調
  • 並べて表示する before/after 比較

パターン 3: ユーザーフロー

ステップごとのユーザージャーニーを表示:

  • 方向性スライドによる順次画面フロー
  • 番号付きステップオーバーレイ
  • ユーザーアクション(クリック、タップ)の強調表示
  • アニメーションパスで画面を接続

トラブルシューティング

問題解決策
スクリーンショットがぼやけるダウンロードした画像がフル解像度であることを確認; screenshot.downloadUrl の品質設定を確認
テキストの位置がずれる画面サイズがコンポジションサイズと一致していることを確認; 実際の画面サイズに基づいてテキストの位置を調整
アニメーションがカクつくフレームレートを 60fps に上げる; 適切なダンピング設定の spring 設定を使用
Remotion ビルドが失敗するNode バージョンの互換性を確認; すべての依存関係がインストールされていることを確認; Remotion ドキュメントを確認
タイミングが合わないマニフェストで画面ごとの再生時間を調整; Remotion Studio でプレビュー; 実際のユーザーでテスト

ベストプラクティス

  1. アスペクト比を維持: 実際の Stitch 画面サイズを使用するか、比例してスケーリングする
  2. 一貫したタイミング: 特定の画面を強調する場合を除き、画面表示時間を一定に保つ
  3. 読みやすいテキスト: 十分なコントラストを確保; 適切なフォントサイズを使用; オーバーレイを散らかさない
  4. スムーズなトランジション: 自然な動きには spring アニメーションを使用; 唐突なカットを避ける
  5. 徹底的なプレビュー: 最終レンダリング前に必ず Remotion Studio でプレビューする
  6. アセットの最適化: 画像を適切に圧縮; 効率的な形式を使用(UI には PNG、写真には JPG)

使用例

ユーザープロンプト:

Stitch プロジェクト「電卓アプリ」の画面を調べて、画面のウォークスルーを表示する remotion 動画を作成してください。

エージェントのワークフロー:

  1. Stitch プロジェクトをリスト → 「電卓アプリ」を見つける → プロジェクト ID を抽出
  2. プロジェクト内の画面をリスト → すべての画面を特定(ホーム、履歴、設定)
  3. 各画面のスクリーンショットをダウンロード → assets/screens/ に保存
  4. 画面メタデータを含む screens.json マニフェストを作成
  5. Remotion コンポーネントを生成(ScreenSlide.tsx、WalkthroughComposition.tsx)
  6. Remotion Studio でプレビュー → タイミングとトランジションを調整
  7. 最終動画をレンダリング → calculator-walkthrough.mp4
  8. 動画プレビューリンク付きで完了を報告

成功のためのヒント

  • シンプルに始める: 複雑なアニメーションを追加する前に、基本的なフェードトランジションから始める
  • Remotion パターンに従う: Remotion の公式スキルとドキュメントを活用する
  • マニフェストファイルを使用: 画面データを JSON で整理し、簡単に更新できるようにする
  • 頻繁にプレビュー: Remotion Studio を使用して早期に問題を発見する
  • アクセシビリティを考慮: キャプションを追加; テキストが読みやすいことを確認; 明確なビジュアルを使用
  • プラットフォームに最適化: 動画サイズをターゲットプラットフォーム(YouTube、ソーシャルメディアなど)に合わせる

参考資料

使用するタイミング

このスキルは、上記で説明されている主要なドメインまたは機能に関連するタスクに取り組む場合に使用します。

制限事項

  • このスキルは、タスクが上記で説明されている範囲に明確に一致する場合にのみ使用してください。
  • 出力を、環境固有の検証、テスト、または専門家によるレビューの代わりとして扱わないでください。
  • 必要な入力、権限、安全境界、または成功基準が不足している場合は、立ち止まって明確化を求めてください。

Individual skills in this repo

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

AlperTuncOrtak/crypto-data-pipeline

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

AlperTuncOrtak/crypto-data-pipeline

Advanced JavaScript animation library skill for creating complex, high-performance web animations.

AlperTuncOrtak/crypto-data-pipeline

One sentence - what this skill does and when to invoke it

AlperTuncOrtak/crypto-data-pipeline

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlperTuncOrtak/crypto-data-pipeline

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

AlperTuncOrtak/crypto-data-pipeline

Pull a YouTube video transcript into a queryable markdown vault with yt-dlp subtitle discovery, VTT cleanup, metadata frontmatter, and capture-seed stubs.

AlperTuncOrtak/crypto-data-pipeline

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

AlperTuncOrtak/crypto-data-pipeline

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

AlperTuncOrtak/crypto-data-pipeline

AI-powered animation tool for creating motion in logos, UI, icons, and social media assets.

AlperTuncOrtak/crypto-data-pipeline

CRITICAL: Use for Makepad animation system. Triggers on: makepad animation, makepad animator, makepad hover, makepad state, makepad transition, "from: { all: Forward", makepad pressed, makepad 动画, makepad 状态, makepad 过渡, makepad 悬停效果

AlperTuncOrtak/crypto-data-pipeline

Best practices for Remotion - Video creation in React

AlperTuncOrtak/crypto-data-pipeline

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

AlperTuncOrtak/crypto-data-pipeline

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

AlperTuncOrtak/crypto-data-pipeline

Three.js animation - keyframe animation, skeletal animation, morph targets, animation mixing. Use when animating objects, playing GLTF animations, creating procedural motion, or blending animations.

AlperTuncOrtak/crypto-data-pipeline

Automate TikTok tasks via Rube MCP (Composio): upload/publish videos, post photos, manage content, and view user profiles/stats. Always search tools first for current schemas.

AlperTuncOrtak/crypto-data-pipeline

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

AlperTuncOrtak/crypto-data-pipeline

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

AlperTuncOrtak/crypto-data-pipeline

One sentence - what this skill does and when to invoke it

AlperTuncOrtak/crypto-data-pipeline

Automate YouTube tasks via Rube MCP (Composio): upload videos, manage playlists, search content, get analytics, and handle comments. Always search tools first for current schemas.

AlperTuncOrtak/crypto-data-pipeline

Extract transcripts from YouTube videos and generate comprehensive, detailed summaries using intelligent analysis frameworks

関連スキル