Communitygithub.com

Remotion 動画ビルダー

Remotion プロジェクトの構築、レビュー、リファクタリング時に使用します。特に、パラメータ化された起動動画やデモ動画(共有プロップススキーマ、calculateMetadata、Sequence と Series のタイミング、複数のアスペクト比、ターミナルやフッテージレイヤー、レンダリングスクリプトを含む)に対応します。API の詳細については、公式の Remotion ドキュメントまたは MCP を参照することを推奨します(パッケージの動作が変更される可能性があるため)。

Remotion 動画ビルダー とは?

このスキルは、Remotion を使用してパラメータ化されたビデオを構築、レビュー、リファクタリングするためのものです。主に、Claude Code や Cursor などの AI エージェントが、Remotion プロジェクトを効率的に管理するために設計されています。スキルは、プロジェクトの初期スキャフォールディングから、プロップススキーマの定義、calculateMetadata を用いた動的な duration や dimensions の導出、<Series> や <Sequence> を使ったシーン構造の構築、そしてレンダリングスクリプトの作成までをカバーします。また、フッテージがない場合でもタイムラインやオーバーレイが機能するように、`none`、`placeholder`、`real` の3つのモードをサポートする戦略を推奨しています。このスキールは、公式の Remotion ドキュメントや MCP サーバーを信頼すべき API の詳細な動作について言及しており、パッケージのバージョン管理やベストプラクティス(例:`Math.random()` の代わりに `random(seed)` を使用するなど)についても具体的なガイドラインを提供します。さらに、Millrace の起動動画に関する特定のリファレンスファイルも参照することで、特定の要件に応じたカスタマイズを可能にしています。

対応~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/hashgraph-online/awesome-codex-plugins/tree/HEAD/plugins/tim-osterhus/codex-remotion-plugin/skills/remotion-video-builder

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

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

ドキュメント

Remotion 動画ビルダー は何をしますか?

あなたの Remotion の知識は古くなっている可能性があります。正確な API の動作が必要な場合は、公式の remotion-documentation MCP サーバー、または remotion.dev のドキュメントを参照してください。

まずはここから

  • プロジェクトがまだ存在しない場合は、npx create-video@latest でスキャフォールディングし、ブランクテンプレートを選択してください。
  • すべての remotion および @remotion/* パッケージは、完全に同じバージョンに固定し、キャレット範囲(^)は避けてください。
  • 標準的なエントリ形状:
    • src/index.ts が registerRoot() を呼び出す
    • src/Root.tsx が <Composition> または <Still> ですべての動画を登録する

構築順序

  1. 最初に入力コントラクト(契約)をモデル化する:
    • トップレベルのプロップススキーマ
    • タイムラインまたはイベントデータ
    • レンダリングプロファイル
  2. zod を使用して共有プロップスを定義し、各 <Composition> にスキーマを渡します。
  3. calculateMetadata を使用して、durationInFrames、width、height、変換されたプロップス、および defaultOutName を導出します。
  4. シーン構造を <Series>(ナラティブ順)と <Sequence>(オーバーレイ、エントランス、フッテージウィンドウ、コールアウト用)で構築します。
  5. Remotion v4.x プロジェクトでは、表示前にアセットを読み込む必要がある <Sequence> 要素に、明示的に premountFor を設定します。
  6. アニメーションを磨く前に、サンプルデータとレンダリングスクリプトを追加します。

デフォルトとルール

  • 特に指定がない限り、デフォルトは fps={30} およびランドスケープ(横長)は 1920x1080 とします。
  • レイヤリングには AbsoluteFill を使用します。
  • public/ からのファイルには staticFile() を使用します。
  • フレームベースのロジックには useCurrentFrame() と useVideoConfig() を使用します。
  • 控えめなモーションを推奨:
    • 高いダンピングを伴う spring()
    • クランプ(clamp)を含む interpolate()
  • Math.random() は使用しないでください。代わりに remotion の random(seed) を使用します。
  • テキストアニメーションはシンプルで読みやすく保ちます。
  • 要件が本当に分岐を必要としない限り、ランドスケープ(横長)とポートレート(縦長)の出力は同じビジネスロジックを維持します。

パラメータ化動画のチェックリスト

  • 1つの共有トップレベル z.object() スキーマ
  • コンポーネントのプロップス形状に一致する defaultProps
  • 入力に応じて動的な duration や dimensions を返す calculateMetadata
  • ローカルプレビュー用のサンプル JSON または TypeScript データ
  • すべてのターゲット出力に対するレンダリングスクリプト

フッテージ戦略

フッテージがオプションの場合、少なくとも以下のモードをサポートします:

  • none
  • placeholder
  • real

実際のフッテージが存在しない場合でも、タイムラインとオーバーレイはレンダリングされる必要があります。

Millrace 起動動画

リクエストが Millrace または起動動画パイプラインに関するものである場合、実装前に references/millrace-launch-video.md を読んでください。

参考文献

Individual skills in this repo

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

hashgraph-online/awesome-codex-plugins

Explicit landing-page build and deploy operator. Loads marketing and frontend judgment, scaffolds the smallest suitable site, verifies it rendered, deploys to the configured target.

hashgraph-online/awesome-codex-plugins

Use whenever the task involves inspecting, modifying, or building plugins for Bethesda games via the forked xEdit automation daemon. Loads first; routes to the right path (MCP intent tool, MCP atomic passthrough, or sub-agent delegation) and prevents the agent from bypassing the harness.

hashgraph-online/awesome-codex-plugins

Use when the user's video is on disk - VidSeeds MCP probe, frame/clip extraction, ffmpeg recipes, precision trim, and midroll analysis. Hosted tools return commands/recipes to run locally; media stays on the user's machine.

hashgraph-online/awesome-codex-plugins

Show or change the Cassette editing model and thinking level for the current media session. Invoke only when the user explicitly asks for the model picker, wants to inspect the current Cassette model, or requests a model/thinking change.

hashgraph-online/awesome-codex-plugins

Edit, trim, cut, caption, subtitle, reframe, combine, add background music to, or export video, audio, and image files through Cassette. Use this skill whenever the user asks to change, preview, or render a media file in the project — even if they never say "Cassette" or name a tool — for example "trim the intro off demo.mp4", "add subtitles to this clip", "make me a 30-second cut with music", "why is there dead air at the start". Drives the local Oh My Cassette stdio MCP tools in Codex or Claude as one multi-turn conversation with the Cassette agent, with per-turn timeline previews, guided questions, and rendering only on explicit export.

hashgraph-online/awesome-codex-plugins

Build reusable Manim explainers for technical concepts, graphs, system diagrams, and product walkthroughs, then hand off to the wider ECC video stack if needed. Use when the user wants a clean animated explainer rather than a generic talking-head script.

hashgraph-online/awesome-codex-plugins

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

hashgraph-online/awesome-codex-plugins

Audit a landing page across six conversion dimensions — above-fold clarity, trust signals, form friction, message match against the upstream ad or email, page speed, and mobile experience — each scored 1-10, rolled into an overall score benchmarked against industry averages, with the top 5 fixes ranked by expected conversion impact. Assessment and recommendations only; it does not edit the page. Triggers on \"/digital-marketing-pro:landing-page-audit\", \"audit this landing page\", \"why isn't this page converting\", \"score our signup page\", \"does the page match the ad copy\". Reads the brand profile, guidelines, custom templates, and agency SOPs before scoring.

hashgraph-online/awesome-codex-plugins

Use when you need a single-pane cross-repo health view across all vault-registered GitLab and GitHub projects. Discovers repos from `_overview.md` frontmatter in `<vault>/01-projects/*/`, aggregates open issues, MRs, critical labels, and stale signals via parallel `glab`/`gh` calls, then writes an idempotent `_PORTFOLIO.md` dashboard. Runs automatically at session-start Phase 2 when `gitlab-portfolio.enabled=true`. Triggers: "show portfolio status", "refresh the portfolio dashboard", "which repos have critical issues", "run /portfolio". <example>Context: session-start, gitlab-portfolio.enabled=true, vault has 5 registered repos. user: "/session deep" assistant: "Portfolio: 3 critical issues across 2 repos — run /portfolio for details. Dashboard written to vault/01-projects/_PORTFOLIO.md."</example>

hashgraph-online/awesome-codex-plugins

Aggregate cross-repo issue/MR/CI health across vault-registered projects into a single Markdown dashboard

hashgraph-online/awesome-codex-plugins

Inspect all configured fantasy teams, saved players, lineup analysis, and transaction proposals through the portfolio MCP. Open the local dashboard for visual review and exact proposal approval.

関連スキル