remotion-best-practices について
Remotionのコードを扱う開発者向けに、分野別の知識と例を提供するスキルです。アニメーション、メディア素材、字幕、コンポジション、レンダリングなどを解説します。
主な機能
- 01アニメーションとシーン遷移のルール
- 02画像・動画・音声の扱い方
- 03字幕と文字起こしのガイド
- 04コンポジション・タイミング・メタデータ設定
- 05Node.jsによる動画レンダリング
活用シーン
- 01Remotionでアニメーションやシーン構成を作成
- 02動画に素材や字幕を追加
- 03Node.js APIを使った動画のレンダリング
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ aliang-cn/ skills --skill remotion-best-practicesインストール後、Claude Code で/remotion-best-practicesを入力して読み込まれたか確認します。
同梱ファイル
SKILL.md と一緒にインストールされる参考資料やスクリプト。
rules/3d.mdanimations.mdassets.mdaudio.mdcalculate-metadata.mdcan-decode.mdcharts.mdcompositions.mddisplay-captions.mdextract-frames.mdfonts.mdget-audio-duration.mdget-video-dimensions.mdget-video-duration.mdgifs.mdimages.mdimport-srt-captions.mdlottie.mdmeasuring-dom-nodes.mdmeasuring-text.mdrender.mdsequencing.mdtailwind.mdtemplates.mdtext-animations.mdtiming.mdtranscribe-captions.mdrules/assets/charts-bar-chart.tsxtext-animations-typewriter.tsxtext-animations-word-highlight.tsx詳細
使用するタイミング
Remotion のコードを扱うときは、ドメイン固有の知識を得るためにこのスキルを使用してください。
使用方法
詳しい説明とコード例については、個々のルールファイルを参照してください。
- 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 - コンポジションの長さ、サイズ、props を動的に設定する
- rules/can-decode.md - Mediabunny を使用して、ブラウザーで動画をデコードできるか確認する
- rules/charts.md - Remotion のチャートとデータ可視化のパターン
- rules/compositions.md - コンポジション、静止画、フォルダー、デフォルト props、動的メタデータの定義
- rules/display-captions.md - TikTok 風のページと単語のハイライトを使って Remotion に字幕を表示する
- 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/import-srt-captions.md - @remotion/captions を使用して .srt 字幕ファイルを Remotion にインポートする
- 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/templates.md - Remotion のテンプレートとボイラープレート集
- rules/text-animations.md - Remotion のタイポグラフィとテキストアニメーションのパターン
- rules/timing.md - Remotion の補間曲線 — 線形、イージング、スプリングアニメーション
- rules/transcribe-captions.md - 音声を書き起こして Remotion の字幕を生成する
- rules/transitions.md - Remotion のシーン遷移パターン
- rules/trimming.md - Remotion のトリミングパターン — アニメーションの冒頭または末尾をカットする
- rules/videos.md - Remotion への動画の埋め込み — トリミング、音量、速度、ループ、ピッチ
- rules/render.md - Node.js API(@remotion/renderer)を使用して動画をプログラムからレンダリングする
コメント
Markdown 対応