mcpField
R
remotion-best-practices

remotion-best-practices

github.com/freestyleflyクリエイティブ・メディア472500 回インストール20 週間前に更新
リポジトリ

remotion-best-practices について

Remotionのコードを扱う開発者向けのリファレンススキルです。アニメーション、メディア、コンポジション、字幕、タイミングなどのルールと例を分野別にまとめています。

主な機能

  1. 01分野別のルール解説とコード例
  2. 02アニメーションとトランジションのパターン
  3. 03画像・動画・音声・フォントのガイド
  4. 04コンポジションとメタデータの設定
  5. 05字幕・チャート・テキストレイアウト

活用シーン

  1. 01Remotionのアニメーション実装例を確認
  2. 02Remotionプロジェクトのメディア素材を扱う
  3. 03字幕やチャートを含むコンポジションを作成
  4. 04テキストサイズやタイミングの挙動を確認

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/freestylefly/canghe-skills --skill remotion-best-practices

インストール後、Claude Code で/remotion-best-practicesを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

rules/
3d.md
animations.md
assets.md
audio.md
calculate-metadata.md
can-decode.md
charts.md
compositions.md
display-captions.md
extract-frames.md
fonts.md
get-audio-duration.md
get-video-dimensions.md
get-video-duration.md
gifs.md
images.md
import-srt-captions.md
lottie.md
measuring-dom-nodes.md
measuring-text.md
sequencing.md
tailwind.md
text-animations.md
timing.md
transcribe-captions.md
transitions.md
trimming.md
rules/assets/
charts-bar-chart.tsx
text-animations-typewriter.tsx
text-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 への動画の埋め込み - トリミング、音量、速度、ループ、ピッチ

コメント