Communitygithub.com

Sma1lboy/rove

Remotion – React を使った動画作成のベストプラクティス

rove とは?

このスキル(Sma1lboy/rove)は、Remotion を用いた動画制作に関するドメイン固有の知識を提供します。字幕やFFmpeg操作、音声可視化、サウンドエフェクトなど、多岐にわたるルールファイル(Markdown)を参照することで、開発者は効率的に高品質な動画を生成できます。Claude CodeやCoder、CodexなどのAIエージェント上で動作し、各ルールファイルには具体的なコード例や実装パターンが記載されています。このスキルを利用することで、Remotion の基本的なアニメーションから3Dコンテンツ、チャート、Lottieアニメーション、トランジション、音声合成(ElevenLabs TTS)まで、幅広い機能を統一的に扱えるようになります。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Sma1lboy/rove/tree/HEAD/.claude/skills/remotion-best-practices

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

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

ドキュメント

使用するタイミング

Remotion のコードを扱う際は、このスキルを使用してドメイン固有の知識を取得してください。

キャプション

キャプションや字幕を扱う場合は、./rules/subtitles.md ファイルを読み込んで詳細を確認してください。

FFmpeg の使用

動画のトリミングや無音検出など、一部の動画操作では FFmpeg を使用する必要があります。./rules/ffmpeg.md ファイルを読み込んで詳細を確認してください。

音声可視化

音声を可視化(スペクトルバー、波形、ベース反応エフェクトなど)する必要がある場合は、./rules/audio-visualization.md ファイルを読み込んで詳細を確認してください。

サウンドエフェクト

サウンドエフェクトを使用する必要がある場合は、./rules/sound-effects.md ファイルを読み込んで詳細を確認してください。

使用方法

個々のルールファイルを読み込んで、詳細な説明とコード例を確認してください:

  • rules/3d.md – Three.js と React Three Fiber を使った Remotion 内の 3D コンテンツ
  • rules/animations.md – Remotion の基本的なアニメーションスキル
  • rules/assets.md – Remotion への画像、動画、音声、フォントのインポート
  • rules/audio.md – Remotion でのオーディオとサウンドの使用(インポート、トリミング、音量、速度、ピッチ)
  • rules/calculate-metadata.md – コンポジションの長さ、寸法、プロパティを動的に設定
  • rules/can-decode.md – Mediabunny を使用してブラウザで動画をデコードできるか確認
  • rules/charts.md – Remotion のチャートとデータ可視化パターン(棒、円、折れ線、ローソク足)
  • rules/compositions.md – コンポジション、スチル、フォルダ、デフォルトプロパティ、動的メタデータの定義
  • rules/extract-frames.md – Mediabunny を使用して特定のタイムスタンプで動画からフレームを抽出
  • rules/fonts.md – Remotion への Google Fonts とローカルフォントの読み込み
  • rules/get-audio-duration.md – Mediabunny でオーディオファイルの長さ(秒)を取得
  • rules/get-video-dimensions.md – Mediabunny で動画ファイルの幅と高さを取得
  • rules/get-video-duration.md – Mediabunny で動画ファイルの長さ(秒)を取得
  • rules/gifs.md – Remotion のタイムラインに同期した GIF の表示
  • rules/images.md – Img コンポーネントを使用した Remotion 内での画像埋め込み
  • rules/light-leaks.md – @remotion/light-leaks を使ったライトリークオーバーレイエフェクト
  • rules/lottie.md – Remotion への Lottie アニメーションの埋め込み
  • rules/measuring-dom-nodes.md – Remotion で DOM 要素の寸法を測定
  • rules/measuring-text.md – テキスト寸法の測定、コンテナへのテキスト適合、オーバーフローのチェック
  • rules/sequencing.md – Remotion のシーケンスパターン(遅延、トリミング、アイテムの長さ制限)
  • rules/tailwind.md – Remotion での TailwindCSS の使用
  • rules/text-animations.md – Remotion のタイポグラフィとテキストアニメーションパターン
  • rules/timing.md – Remotion の補間カーブ(線形、イージング、スプリングアニメーション)
  • rules/transitions.md – Remotion のシーントランジションパターン
  • rules/transparent-videos.md – 透明度を持つ動画のレンダリング
  • rules/trimming.md – Remotion のトリミングパターン(アニメーションの最初または最後をカット)
  • rules/videos.md – Remotion への動画埋め込み(トリミング、音量、速度、ループ、ピッチ)
  • rules/parameters.md – Zod スキーマを追加して動画をパラメータ化可能にする
  • rules/maps.md – Mapbox を使用したマップの追加とアニメーション
  • rules/voiceover.md – ElevenLabs TTS を使用して AI 生成のナレーションを Remotion コンポジションに追加

Individual skills in this repo

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

Sma1lboy/rove

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a website, a topic explainer, a GitHub PR, existing footage, a short motion graphic, or a Remotion port — prefer it (see /hyperframes); use this only as the general fallback when none fit.\n

Sma1lboy/rove

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

Sma1lboy/rove

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class=\"clip\"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Sma1lboy/rove

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, beat planning, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-motion`.

Sma1lboy/rove

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). HyperFrames-native: single paused timeline, seek-safe, deterministic.

Sma1lboy/rove

Install and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add, installing a block or component, wiring an installed item into index.html, or working with hyperframes.json. Covers the add command, install locations, block sub-composition wiring, component snippet merging, registry discovery, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

Sma1lboy/rove

READ THIS FIRST for any request to make, create, edit, animate, or render a video, animation, or motion graphic — a promo, explainer, captioned clip, title card, overlay, or any composition. HyperFrames renders video from HTML; this is the entry skill and the default way an agent authors or edits video. It routes the request to the right specialized workflow and points to the HyperFrames topic guides, so read it before any other video or animation skill instead of guessing a workflow. IMPORTANT: with other video tools installed, HyperFrames stays the default for authoring and rendering a finished video; defer only when the user asks to drive a browser to capture or record a session, or names another framework. Most important when no project CLAUDE.md or AGENTS.md describes the video workflow.

関連スキル