Communitygithub.com

Alemoterani/auto-edit-hyperframes

GATEWAY — 複数シーンのアニメーションや動画を構成する前に必ず読み込むべき高次モーション則。バラバラにアニメーションするスライドの積み重ねではなく、1つの連続したカメラ動作のように感じさせるマルチシーン動画のためのルール群。ベクター則、フィルムの流れ、キャリア要素、因果動作、シームゲート(構築ゲートの強制)、アイドルウィーブルの禁止、クライマックス前の静止、持続動作経路を含む。

auto-edit-hyperframes とは?

このスキルは、HyperFrames環境においてマルチシーン動画の編集を統一的に制御するための「高次モーション則(Gateway)」を提供します。複数のシーンを単に連結するのではなく、各シーム(切り替わり)でベクター(軸・方向・速度)を一致させ、1台のカメラが連続的に動いているかのような自然な流れを生み出します。スキルは、ベクター則、ベクター台帳(ledger.json)、キャリア要素による視線誘導、因果動作の連鎖、シームゲートによる自動検証、持続動作ルート(段階的リビール、意図を持ったカメラ、UIのシーケンス動作など)、アイドルウィーブル(無意味な揺れ)の禁止、クライマックス前の静止時間、トランジション語彙の制限、アンチパターンの一覧など、包括的なルール群を定義しています。これにより、個々のシーンを独立にアニメーションさせることで起こる「目の勢いが途切れる」「シーンがその場で揺れるだけ」といった失敗を防止します。実装は下位のテクニックスキル(cut-the-curve, oversized-cursor, seam-craft)に委譲され、Verifier(seam-gate.mjs)による自動チェックが可能です。

対応~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/.agents/skills/motion-doctrine

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

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

ドキュメント

モーション・ドクトリン(Gateway)

アニメーションを構成する前に必ず読むこと。これがすべてのシームで何が起こるか、各シーンがどのようにパフォーマンスするかを決定する。テクニックスキルはこれを実装する。これらのルールは、汎用的/上流のモーションガイダンスに優先する。これが防ぐ失敗:個別に作成されたシーンが、カットごとに目の勢いを失い、シーンが入場と退場の間でその場で揺れるだけになること。

ルートマップ

決定(このスキル)実装スキル
シームトランジションの選択+パラメータ+コードcut-the-curve §1–5(カタログ)
テキスト/要素の入場カスケードcut-the-curve §6(ウォーターフォール入場)
シーン内グループ再配置(カットなし)cut-the-curve §7(ナッジ曲線)
カーソル主導のアクション/シーン開始/モーフ発火oversized-cursor
シームレンダリング機構/ホワイトフラッシュガードseam-craft
製品発表/説明ビデオ/キャプション作業上流スキルの上に text-beat-economics、brand-faithful、captions-overlay をオーバーレイ

作成順序:ベクター台帳(ledger.json) → そこからマスターシームをSTAMPする(scripts/seam-stamp.mjs --ledger ledger.json --write index.html) → フェーズごとに持続動作ルート → キャリアと原因 → ビルドコンポ → 検証(scripts/seam-gate.mjs)。 Tier-Aのモーフ/マッチカットのみ手動作成;スタンプされたシームは構築によってゲートを通過する。


パート1 — シームの法則

ベクター則

シーンAの退場の仕方がシーンBの入場を決定する:同じ軸、同じ方向、一致した速度、両側で動作途中でカット。

  1. 軸 — xはx、yはy、ZはZのまま。カットをまたいで軸を交換してはならない。
  2. 方向 — 決して反転させてはならない。Zでは、方向=スケール変化の符号:拡大=プッシュ(カメラ前進)、縮小=プル(カメラ後退)。後退する退場を小さくからの成長で迎える入場は、反転ベクターとなる — 最も一般的な違反である。なぜなら、小さくから成長する入場はデフォルトの要素入場だから。
  3. 速度 — 入場初速度 ≈ 退場終速度。これはミラーリングされたイージング(退場 power4.in + 入場 power4.out、同じ距離と時間。入場側は観念的な経路の50%以上を引き継ぐ)によって実現される。機構は cut-the-curve に記載。
  4. 位相 — カットは両側で動作途中に着地する。カット前に静止したり、カット後に静止から開始することは、デッドビートとなる。

フィルムの流れ

すべてのフィルムは1つの支配的な方向(ハウスデフォルト:LEFT)を選ぶ。すべての通常のシームはそれを使う。他のベクターは予約済みであり — それを使うことは何かを意味する:

ベクター意味
流れ(LEFT)「次のビート」— 中立的な前進
上昇高揚 — 結論やリビールが以前を超えて立ち上がる
Z前進(ズームスルー)同じ思考の深部に押し込む
Z後退(逆ズーム)到着 — より大きな何かが着地する
スケールバースト(爆発的に外へ)世界を去る — 表面がカメラを通り過ぎる
  • 連続するシームを反対方向に走らせてはならない — ピンポンはエラーと読まれる。
  • 方向変更には目に見える原因(クリック/バウンス/衝突)またはチャプター境界が必要。

ベクター台帳

マスタータイムラインを作成する前に書くこと — プロジェクトルートの ledger.json(スキーマ:references/seam-gate.md)。シームごとに1行:カット時間、退場・入場ベクター(軸+符号付き方向;Z行はスケール符号を持つ)、セレクタ、テクニック。退場と入場は一致しなければならない;行が一致しない場合は、イージングではなく計画を修正すること。検証器はランタイムサンプリング前に静的に行の一貫性をチェックする。

キャリア

目は抽象概念ではなく物体を追う。最強のシームは、具体的なキャリアを一致した位置かつ速度でカットをまたいで渡す:途中経路にあるカーソル、次のレイアウトに縮小/ドッキングするコンテナ、正確なスロットに飛び込むマーク、ウォーターフォールカットの単語グループ。自然なキャリアがない場合、シーンのヒーローがそれを運ぶ(部分移動+早期フェードアウト、中途入場)。クロスフェードは決して使わない — キャリアが全くないから。

因果動作

各動作が目に見えて前の動作によって開始されるように動作を連鎖させる:クリック → 押しつぶし → リリーススプリング → 飛行 → 衝突 → 反動 → リビール。

  • 効果は原因となるフレームで開始される — 同じタイムライン位置であり、「少し後」ではない。
  • 反応は推定質量に比例する:大きな要素はゆっくり跳ね返り、小さな要素は素早く反応する。
  • 力は方向変更の許可証である;原因のない反転はピンポンである。

シームゲート(ビルドゲート — 検証器を実行し、終了コード0でなければシームは完了していない)

node <SKILL_DIR>/scripts/seam-stamp.mjs --ledger ledger.json --write index.html  # 生成
node <SKILL_DIR>/scripts/seam-gate.mjs verify --ledger ledger.json --project .  # 検証

このスクリプト(使用法+台帳スキーマ:references/seam-gate.md)は、シームごとに以下の項目を数値的に強制する:台帳行の一貫性、カット時にまだ動作中であること、入場は中途飛行中であること(静止からではないこと)、測定された方向=台帳の方向、入場/退場速度の一致(警告)、オーバーラップゼロ(フレームごとに片側のみ表示 — カットはディゾルブではない)、Z符号規則(d(scale)/dtが両側で同じ符号;入ってくるシーン自身の入場も符号矛盾がないかスキャンされる)、およびキャリア矩形の連続性(祖先スケールを含む)。台帳作成時に各シームの真のキャリアセレクタを見つけるには、seam-gate.mjs probe --t <cut> を使用する。

スクリプトがチェックできないルール — 依然としてあなたの責任:

  1. 編集はシームを再オープンする。 シーンの最初/最後の約1秒への変更(新しいVOに合わせた再タイミングを含む)はその境界の監査を無効にする — 検証器を再実行すること。
  2. オーディオが時計である。 シーンをVOの実際のワードタイムスタンプに合わせて再タイミングする;スロットに合わせるために読みを急いではならない。VOの再生成はそのシームを再オープンする。
  3. クリップゲーティングの落とし穴(ゼロオーバーラップFAILの通常の原因):data-startが入場トゥイーンより前にあるクリップは、初期不透明度で非表示が解除される — 初期 autoAlpha: 0 かつ data-start = カット時間に設定する。それより前に設定してはならない。

パート2 — パフォーマンス(シーンはパフォーマンスし続ける)

アイドルウィーブルなし

アイドルサインループ(呼吸、浮遊、ドリフト、グローパルス)は持続動作として禁止される — それらは「動画が待機している」と読まれる。入場が完了した後に数秒残るシーンは計画バグである:ウィーブルではなくストーリーを追加せよ。入場と退場の間のすべてのフェーズは、以下のルートのいずれかによって所有される(計画でルートを指定せよ):

ルート説明
段階的リビールコンテンツを保留し、ナレーションビートで開示する — フレームは情報を得続ける(2つ以上のコンテンツグループのデフォルト)
意図を持ったカメラマップされたスケール+パン経路:ワイドを確立 → 移動 → 被写体に到着
シーケンスUIライフ製品が時間とともに動作する:進行が進む、ハイライトがステップを示す、カウントが進む
アニメーションシーケンス要素がビートを演じる:カードがスタックにファイリングされる、アイテムがドラッグされる、結果が組み立てられる
カーソル主導のアクション特大カーソルが目の動きをトリガーに導く;そのクリックが次のビートを点火する(oversized-cursor)

テスト:任意の秒で停止 — 何か意味のあるものが中途飛行中でなければならない(リビールが着地中、カメラが移動中、UIがナレーションの言っていることを実行中)。

クライマックス前の静止

主要なアクションとその結果の間に 0.3–0.75秒のポーズ をスケジュールせよ — 劇的なカンマ。アクションから直接結果に飛ぶシーンはその効果を失う。

タイミング意図

  • 単一入場 ≤ 約800ms;より長いビルドアップは1つの遅い要素ではなく、複数要素のスタガーとする。
  • 退場 ≈ 入場の75%。例外:cut-the-curve はこれを逆転させる(入場 ≈ 退場の127%)。
  • 合計スタガー ≤ 500ms;8つ以上の要素がある場合、要素ごとの遅延を短くするか、最初の数要素のみスタガーする。
  • 禁止イージング:bounce.out / elastic.out。入場オーバーシュート back.out(1.4–1.7) は許容。
  • 類似要素は1つのイージング+期間意図を共有する — 要素ごとに独自のペアを決して使わない。

トランジション語彙

フィルムごとに2–3のシーン間トランジションのみを使い、それらを繰り返す;デフォルトの境界は流れの方向のcut-the-curve。手書きの共有要素モーフ(intent: morph)は予算にカウントされない。


アンチパターン

やってはいけないこと代わりに
各シーンの入場を個別に作成するまずベクター台帳を書く
シーン間でクロスフェードする流れの方向でカット・ザ・カーブ
退場が完了してからシーンが変わる両側で動作途中でカット
カット後に静止から入場を開始する観念的な経路の50%以上で入場
逆ズーム退場 → 小から成長入場(またはプッシュ → 特大の引き)スケール速度符号を一致させる(シームゲート7)
Zシーム引き継ぎ下で入ってくるシーン自身のポップインイントロ開始フレームをコンポーズしたまま保持するか、符号を一致させる
時間を埋めるためのアイドルウィーブル/呼吸/浮遊持続動作ルートを割り当てる;またはストーリーを追加
原因のない方向反転力を使うか、流れを維持する
バラエティとして予約ベクターを使うデフォルトを流れにし、意味があるときだけ使う
原因から数フレーム遅れて反応同じフレームで点火
アクションから直接結果に飛ぶクライマックス前の静止をスケジュール(0.3–0.75秒)

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Alemoterani/auto-edit-hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Alemoterani/auto-edit-hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Alemoterani/auto-edit-hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Alemoterani/auto-edit-hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Alemoterani/auto-edit-hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

Alemoterani/auto-edit-hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

Alemoterani/auto-edit-hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

Alemoterani/auto-edit-hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

Alemoterani/auto-edit-hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

Alemoterani/auto-edit-hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

Alemoterani/auto-edit-hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

Alemoterani/auto-edit-hyperframes

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Alemoterani/auto-edit-hyperframes

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Alemoterani/auto-edit-hyperframes

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Alemoterani/auto-edit-hyperframes

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Alemoterani/auto-edit-hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

Alemoterani/auto-edit-hyperframes

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

Alemoterani/auto-edit-hyperframes

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, clean, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

Alemoterani/auto-edit-hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

関連スキル