remotion-best-practices について
remotion-best-practices は、Remotion を使う開発者向けのリファレンススキルです。動画の合成やメディア処理に関する説明と例を、個別のルールに分けてまとめています。
主な機能
- 013D コンテンツとアニメーションの解説
- 02動画、画像、音声、フォントの扱い
- 03コンポジションとタイミングのパターン
- 04字幕、トランジション、トリミング
- 05テキスト計測とアニメーション
活用シーン
- 01Remotion のアニメーション手法の確認
- 02コンポジションへのメディア素材の追加
- 03字幕付き動画やトランジションの作成
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ davila7/ claude-code-templates --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.mdsequencing.mdtailwind.mdtext-animations.mdtiming.mdtranscribe-captions.mdtransitions.mdtrimming.mdrules/assets/charts-bar-chart.tsxtext-animations-typewriter.tsxtext-animations-word-highlight.tsx詳細
When to use
Remotion のコードを扱うときは、このスキルを必ず使用して、ドメイン固有の知識を取得してください。
How to use
個別のルールファイルを読むと、詳しい説明とコード例を確認できます。
- 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/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 への動画の埋め込み - トリミング、音量、速度、ループ、ピッチ
コメント
Markdown 対応