Communitygithub.com

phamthanhnghia/remotion-agent-skills

プログラムによるRemotion動画作成のためのエージェントスキルスイート。HyperFramesパターンをモデルにしています。

remotion-agent-skills とは?

このスキルは、既存のHyperFrames HTMLコンポジションを純粋なReact Remotionコードに移行するためのワークフローを提供します。HyperFramesのGSAPタイムライン、クラスベースのクリップ指定、ビデオ/オーディオ要素などを、Remotionのフレーム決定論的なプリミティブやコンポーネントにマッピングします。開発者は、移行ステップに従ってレイアウトを再作成し、動的アニメーションを`spring()`や`interpolate()`に置き換え、Remotion Studioで出力を検証できます。このスキルは、HyperFramesからRemotionへの移行を効率化し、CLIコマンドやコード変換の手間を削減します。主にClaude CodeのようなAIエージェントで使用することを想定しています。

対応~Claude Code~Codex CLI~Cursor
npx skills add phamthanhnghia/remotion-agent-skills

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

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

ドキュメント

HyperFrames から Remotion への移行ワークフロー

既存のHyperFrames HTMLコンポジションを、純粋なReact Remotionコードに移行します。

マッピングテーブル

HyperFrames の概念Remotion の対応物
GSAP タイムライン .to() / .from()useCurrentFrame() + spring() / interpolate()
<div class="clip" data-start data-end><Sequence from={start} durationInFrames={duration}>
<video> 要素<OffthreadVideo src={staticFile('...')} />
<audio> 要素<Audio src={staticFile('...')} />
npx hyperframes rendernpx remotion render src/index.ts MyComp out/video.mp4

移行手順

  1. HyperFramesのHTML構造とタイムライン値を解析します。
  2. シーンレイアウトをReactの<AbsoluteFill>コンポーネントとして再作成します。
  3. GSAPの補間を、フーム決定論的なRemotionのspring()およびinterpolate()プリミティブに置き換えます。
  4. Remotion Studioで出力を検証します。

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

関連スキル