Communitygithub.com

Andersonlimahw/lemon-ai-hub

決定論的なビデオ合成を構築・レンダリングします。デフォルトはHyperFrames(HTML + GSAP)、またはカスタムseek(t) + Playwright + FFmpegパイプラインを使用。プロジェクトセットアップ、構成契約、タイムラインルール、フレームのクリエイティブディレクション、lint/check/スナップショット、プレビュー、ローカルレンダリングをカバーします。承認済みのストーリーボードをコードとして実装する際に使用します。

lemon-ai-hub とは?

このスキルは、承認されたストーリーボードをコードとして実装するためのプロフェッショナルな動画合成パイプラインです。デフォルトレンダラーはHyperFrames(HTML/CSS/GSAPベース)で、Remotionプロジェクトや既存のカスタムスタジオ(seek(t) + Playwright + FFmpeg)にも対応します。HyperFramesを使用する場合、`<div data-composition-id>`によるスタンドアロンルート、一時停止可能なGSAPタイムライン、`data-start`/`data-duration`属性によるクリップ制御、決定論的レンダリングのための制約(壁時計の読み取り禁止、`Math.random`のシード必須など)が定義されています。ビルド順序は`npx hyperframes init`から始まり、フレームごとのデザインスペック作成、シーン実装、オーディオ配置、そして`lint`、`check`、`snapshot`、`preview`、`render`による検証・レンダリングを行います。HyperFramesを使用しない場合は、カスタムseek(t)パイプライン(Playwright + FFmpeg)で各フレームをレンダリングし、60fps×4サブフレーム、シャッター0.5のモーションブラーを適用します。最終出力は`video-edit-qc`に引き渡されます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Andersonlimahw/lemon-ai-hub/tree/HEAD/plugins/motion-movie-expert/skills/hyperframes-production

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

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

ドキュメント

HyperFrames プロダクション

承認されたストーリーボードを実装します。ストーリーボードがない場合は、停止して motion-storyboard を実行してください。

レンダラーの選択

状況レンダラー
新規作業のデフォルト。HTML/CSS/GSAPスキルを使用。レジストリブロックを希望HyperFrames (npx hyperframes …)
プロジェクトがすでにRemotionを使用しているRemotion をそのまま使用。同じ決定論ルールが適用されます
プロダクトリポジトリに独自のスタジオ(seek(t) + Playwright + FFmpeg)がすでにあるそのスタジオを使用。新たに導入しないでください
既存のフッテージの純粋な編集このスキルをスキップ → video-edit-qc

HyperFrames CLIのインストール、またはレジストリブロックの追加(npx hyperframes add …)はサードパーティコードをインストールします。ユーザーに事前確認し、バージョンを package.json に固定してください。スキルの自己アップデートコマンド(npx hyperframes skills update、npx skills add …)を自分自身で実行しないでください。

構成契約(HyperFrames)

  • スタンドアロンルート: <div data-composition-id="main" data-width="1920" data-height="1080" data-duration="24"> を <body> に直接配置し、width/height: 100% でサイズ指定 — ルートにピクセルサイズをハードコードしないでください。サブコンポジション(data-composition-src で読み込まれる)はルートを <template> でラップし、<style>/<script> をその内部に保持します。
  • コンポジションごとに1つの一時停止タイムライン: window.__timelines["<composition-id>"] = gsap.timeline({ paused: true }) をビルド完了後に登録します(document.fonts.ready 内部でビルドされる場合があります)。レンダリング長はルートの data-duration から取得します。
  • タイムクリップ: class="clip" と data-start/data-duration を持つ要素は、ランタイムによって表示・非表示が制御されます。.clip に対して display、visibility、autoAlpha をトゥイーンしないでください。子要素をアニメーションさせてください。
  • トランスフォーム: CSS の初期 transform と GSAP のトゥイーンを同じプロパティに組み合わせないでください。gsap.fromTo を使用してください。移動させるノードには translate(-50%,-50%) ではなく、flex/inset で中央揃えにしてください。
  • メディア: すべての <audio> に id を付けてください(そうしないとレンダリングが無音になります)。メディアに crossorigin を付けないでください。<video> とその祖先要素の両方に data-start を設定しないでください。
  • フォント: 名前付きの font-family はすべて、同梱のローカルファイルを指すインラインファイル内の @font-face を持っている必要があります。
  • 決定論: 壁時計の読み取り、シードなしの Math.random、レンダリング時のネットワークフェッチ、入力状態、無限リピート(repeat: -1)を禁止します。乱数が必要な場合は、シード付きPRNGを使用してください。
  • ID: アセンブルされたページ全体で一意である必要があります。サブコンポジションのIDにはコンポジションIDをプレフィックスとして付けてください。

ビルド順序

  1. npx hyperframes init(確認後)を実行するか、既存のプロジェクトを開きます。
  2. デザインスペック(frame.md / design.md)を記述します。トークン、タイプスケール、グリッド、セーフエリア、アスペクト比ごとに定義。まず静止フレーム — 各ビートが静止画として機能する必要があります。
  3. ストーリーボードの順序でシーンごとに構築します。トランジションマップ(motion-choreography)からシームを実装し、キャリアを最初に配置します。
  4. voice-video-sync からオーディオを配置します:音楽背景、VO、SFXにIDと開始時間をタイムラインファイルから設定 — 手入力の推測は絶対にしないでください。
  5. テキストを鮮明に保つ:コンテナを移動し、グリフは移動しない。テキストに will-change を使用しないでください。

検証

以下の順序で実行し、修正してから次に進んでください:

npx hyperframes lint          # 契約エラー。lintエラーがあるとレイアウト/コントラスト監査が無効になります
npx hyperframes check         # レイアウト、オーバーフロー、コントラスト
npx hyperframes snapshot      # レビュー用の静止画。ストーリーボードのビートと比較
npx hyperframes preview       # ユーザー向けのローカルプレビュー

次にローカルレンダリング:npx hyperframes render --quality <draft|high>。まずドラフト(≤30秒ウィンドウまたは低品質)をユーザーの承認用に、その後最終版をレンダリングします。

外部向けコマンド — publish、cloud、lambda、cloudrun、feedback、auth、およびテレメトリー設定 — はデータをアップロードしたりアカウントを変更したりします。ユーザーが要求した場合にのみ実行してください。

カスタム seek(t) パイプライン(HyperFrames を使用しない場合)

composition(t) → Playwright page.evaluate(seek, t) → フォント/画像の待機 → スクリーンショット
→ 出力フレームあたり N サブフレーム → ffmpeg tmix(モーションブラー) → x264/x265 → オーディオ多重
  • 60 fps × 4 サブフレーム、シャッター 0.5 が適切なデフォルトです。数字が変化するフレームで可読性を損なう場合はブラーを軽減してください。
  • マスターエンコード(アーカイブおよび再編集ソース):-c:v libx264 -pix_fmt yuv420p -crf 16 -preset slow、AAC 320 kbps。プラットフォーム配信用エンコードは video-edit-qc でそこから派生させます。
  • 同じタイムスタンプを2回レンダリングすると同一のピクセルが生成される必要があります。ランダムな3フレームでテストしてください。

引き渡し

レンダリング結果と静止画/コンタクトシートを video-edit-qc に引き渡します。HyperFramesスキルがインストールされている場合(hyperframes-core、hyperframes-animation、hyperframes-creative、hyperframes-cli)、正確なフラグ、アダプター(Lottie、Three.js…)、およびレジストリブロック名にそれらを使用してください。

Individual skills in this repo

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

Andersonlimahw/lemon-ai-hub

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas. For the offer being launched (bonuses, guarantees, scarcity, naming), see offers.

Andersonlimahw/lemon-ai-hub

Create and edit motion videos end to end — product motion films, motion graphics, narrated explainers, captioned clips, UI animation recreations, and recuts. Orchestrates brief, storyboard, choreography, build (HyperFrames or any deterministic renderer), voice/caption sync, and render QC. Use when the user asks to make, animate, storyboard, narrate, caption, edit, or render a video or motion piece; skip for static images and web UI work with no video deliverable.

Andersonlimahw/lemon-ai-hub

Motion law for multi-scene videos — seam continuity (axis, direction, speed, phase), carriers, causal motion, springs and timing, camera, transitions, stillness, and loop design. Use when planning or fixing how scenes connect and move, before and during any animation build.

Andersonlimahw/lemon-ai-hub

Short design-led motion graphics where motion is the message — kinetic typography, stat count-up, chart/data-viz reveal, logo sting, lower third or callout, animated map, tweet/news/headline card, webpage or UI walkthrough, and image-plus-data fusion. Usually under 10 s, up to about 30 s, no narration; renders to MP4 or a transparent overlay. Use when the user wants a short motion graphic, animated stat/chart/logo/map/card, or overlay; when the upstream HyperFrames `motion-graphics` skill is installed, use it for exact CLI flags and registry blocks.

Andersonlimahw/lemon-ai-hub

Turn a video idea, product, or script into an approved master prompt and pre-implementation storyboard — intake, concept, 8–12 state sequence, beat grid, transition map, camera plan, audio cue plan, and render architecture. Use before building any new video, or when a video brief is vague.

Andersonlimahw/lemon-ai-hub

Motion tokens, spring presets, and React/Next.js (motion/react) interaction patterns for product UI that appears in a video — rebuilding real product screens faithfully, animating them as seekable scenes, and keeping the live product's motion consistent with the film. Use when a motion video shows or recreates product UI; for web UI work with no video deliverable use design-expert instead.

Andersonlimahw/lemon-ai-hub

Edit existing video and verify any render before delivery — recut, trim, reframe to other aspect ratios, burn in or attach captions, swap or remix audio, loop, and export; plus the QC gates (probe, contact sheet, stills per beat, loudness, loop seam, legibility, facts, PII). Use for editing footage or for the final check of any motion video.

Andersonlimahw/lemon-ai-hub

Synchronize narration, captions, music, and SFX with picture — narration writing, script lock, TTS or recorded voiceover, word-level timestamps, caption blocks, shot windows derived from the voice track, dwell budgets, ducking, and loudness targets. Use for narrated explainers, voiceover changes, subtitles, or any video where timing must follow audio.

Andersonlimahw/lemon-ai-hub

Agent skill at plugins/video/SKILL.md

関連スキル