Communitygithub.com

ComeOnOliver/skillshub

Stitchプロジェクトの画面からRemotionを使用して、スムーズなトランジション、ズーム、テキストオーバーレイを備えたウォークスルー動画を生成します。

skillshub とは?

このスキルは、Stitchの画面取得機能とRemotionのプログラムによる動画生成を組み合わせて、プロフェッショナルなウォークスルー動画を作成するためのものです。Stitchプロジェクトからスクリーンショットを取得し、それらをRemotionコンポジションとして構成することで、フェードやスライド、ズームなどのトランジション効果やテキストオーバーレイを備えた動画を生成します。Claude CodeやCursorなどのAIエージェントが利用可能なMCPサーバーを自動検出し、Stitch MCPとRemotion MCPを適宜呼び出してワークフローを実行します。最終的にMP4などの動画ファイルとして出力され、Remotion Studioでのプレビューや調整も可能です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/aiskillstore/marketplace/google-labs-code/remotion

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

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

ドキュメント

Stitch to 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" で呼び出す
    • タイトルでターゲットプロジェクトを特定(例: "Calculator App")
    • 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 または Bash で curl を使用してスクリーンショットをダウンロード
    • ステージングディレクトリに保存: 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
    • 機能: ズームインアニメーション、フェードトランジション
    • 期間: 設定可能(デフォルト画面あたり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": "Calculator App",
  "screens": [
    {
      "id": "1",
      "title": "Home Screen",
      "description": "Main calculator interface with number pad",
      "imagePath": "assets/screens/home.png",
      "width": 1200,
      "height": 800,
      "duration": 4
    },
    {
      "id": "2",
      "title": "History View",
      "description": "View of previous calculations",
      "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. アニメーションの微調整:

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

ステップ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: シンプルなスライドショー

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

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

パターン2: 機能ハイライト

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

  • 特定の領域にズームイン
  • 機能を指すアニメーション円/矢印
  • 主要なインタラクションのスローモーション強調
  • ビフォー/アフターのサイドバイサイド比較

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

ステップバイステップのユーザージャーニーを表示:

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

トラブルシューティング

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

ベストプラクティス

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

使用例

ユーザープロンプト:

Stitchプロジェクト「Calculator App」の画面を調べて、画面のウォークスルーを示すRemotion動画を
作成してください。

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

  1. Stitchプロジェクトを一覧表示 → "Calculator App" を見つける → プロジェクトIDを抽出
  2. プロジェクト内の画面を一覧表示 → すべての画面を特定(Home, History, Settings)
  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、SNSなど)に合わせて動画サイズを調整する

参考資料

Individual skills in this repo

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

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

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.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

関連スキル