Communitygithub.com

Alemoterani/auto-edit-hyperframes

週次チェンジログのMarkdownファイルを、ブランド化されたチェンジログ動画(正方形1080p、約45〜60秒、Annieナレーション、アニメーション背景、疑似UI可視化、控えめなキャプション)に変換します。ユーザーがチェンジログMarkdownを提供したり「チェンジログ動画」と指示した場合に使用します。フォント、背景、用語集、スクリプトはすべてこのスキル内に含まれています。

auto-edit-hyperframes とは?

このスキルは、HyperFramesの週次チェンジログMarkdown(テーマとアイテムのリスト)を、ブランド化された動画(正方形1080p、約45~60秒)に変換するためのエンドツーエンドのパイプラインです。設計の中心は「可視化、羅列ではない」という原則です。つまり、テキストの箇条書きではなく、実際のUIモックアップや忠実なアナロジーによるアクション表現でチェンジログの各テーマを説明します。パイプラインは、ステップ0でのスキル内蔵アセット(フォント、背景パターン、BGM、マスタースケルトンHTML)のコピーから始まり、その後、解析、編集カット、ビジュアライゼーションルーティング、2層スクリプト(話し言葉と表示)、HeyGen TTS(Annie音声)によるナレーション生成、そして最終的な動画ビルドと品質ゲート検証へと進みます。キャプションは必須で、各シーンに1回だけ使用される限定されたグリーンアクセント(#5ef17c)と共に、正確な単語タイムスタンプをベースに自動生成されます。このスキルはClaude CodeやHyperFramesリポジトリ内での使用を想定しており、ビルド仕様、ビジュアライゼーションレジストリ、スクリプト音声ガイド、発音用語集などの参照資料を同梱しています。

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

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

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

ドキュメント

チェンジログ → ブランド化動画

入力: チェンジログの.mdファイル(テーマとアイテムのリスト、例:HyperFrames週次ダイジェスト)。 出力: projects/active/weekly-changelog-<範囲>/ に作成される、seam-gate-green準拠でlint-cleanなHyperFramesプロジェクト。レンダリングは明示的に依頼された場合のみ行います。

最初に必ずロードすること(譲歩不可): motion-doctrine (加えてcut-the-curve、カーソル登場時はoversized-cursor、seam-craft) と captions-overlay。このスキルはチェンジログ固有のパイプラインを提供し、ドクトリンはモーションの法則を提供します。

最重要原則: 可視化せよ、羅列するな

各テーマは、実際のUIのアニメーションモックアップまたは忠実なアナロジー によって表現され、テキストの箇条書きではなく、体験の変化を動作で示さなければなりません。すべてのテーマ/アイテムは、スクリプト作成前に references/visualization-registry.md を通じてルーティングしてください。登録によって、ui-recreate / ui-analog / terminal / checklist のいずれかの表示方法が決定されます。テキストのチェックリストは最後の手段であり、本当に視覚化不可能なアイテム(信頼性修正リストなど)にのみ使用します。

パイプライン

0 · このスキルのアセットからプロジェクトをブートストラップする — 譲歩不可

これは、コンポジションHTMLを書く前に行わなければなりません。これをスキップすると、常に以前に構築した類似のプロジェクトのような見た目の動画が生成され、このスキルのブランドにはなりません。これはこのスキルがブランドから逸脱する最も一般的な原因です。 スキルのアセット、フォント、スキャフォールドこそがスキルそのものです。SKILL.mdのプロンプトはルーターです。

mkdir -p project/assets/fonts
cp <SKILL_DIR>/assets/fonts/*.woff2 project/assets/fonts/
cp <SKILL_DIR>/assets/bgm.mp3 project/bgm.mp3
ffmpeg -y -stream_loop 15 -i <SKILL_DIR>/assets/bg-pattern.mp4 -t <TOTAL> \
  -vf "scale=1080:1080,fps=30,eq=saturation=0.72,[email protected]:t=fill" \
  -an -c:v libx264 -crf 20 -pix_fmt yuv420p project/assets/bg-pattern-<TOTAL>s.mp4
cp <SKILL_DIR>/examples/master-skeleton.html project/index.html

次に、references/build-spec.md を最初から最後まで読んでください(流し読みは禁止) — これにより、すべてのシーンが継承するブランドトークン(TT Norms Pro + ABC Solar Display + TT Norms Mono、クリーム #f5f6f4、限定グリーン #5ef17c、グリーン縁取りのガラスカード、キッカー/セカンドチップのピル形状、top: 990 の32pxキャプションレール)が定義されています。

その後にのみ、以下のステップ1〜6を開始します。ステップ1〜4(解析、ルーティング、スクリプト、VO)はスキャフォールドに何を入れるかを計画します。ステップ5は、すでにコピーされた project/index.html 内のプレースホルダー(<RANGE>、<TOTAL>、<CUT_N>、<DUR_N>、各シーンのボディ)を埋めます。スキャフォールド自体のクローム、フォント、パレット、レイアウトシェルを書き換えてはいけません。

もし、以前の動画の index.html を cp しようとしたり、自分で @font-face 宣言を書いたり、エンコード済みのbg-pattern MP4の代わりにWebGLシェーダー背景をデザインしようとしていることに気づいたら、すぐに止めてください。現在の index.html を削除し、マスタースケルトンのスキャフォールドの cp からやり直してください。正しいスキャフォールド上でシーンコンテンツを再構築する方が、間違ったスキャフォールドにブランドを後付けするよりはるかに効率的です。

1 · 解析 + 編集上のカット

  • 抽出: 週範囲、見出し統計(リリース数、コミット数)、テーマ、アイテム。
  • 予算: 合計45〜60秒。 タイトル ≤2秒、アウトロ ≤3.5秒、4テーマで各約9〜12秒。
  • 各テーマにつき、1つのメインとなる可視化 + 最大3つの読み上げアイテムのみ保持します。それ以外はすべて、アウトロの「完全なダイジェスト」への参照としてのみ存在します。編集こそが仕事です。30アイテムあるチェンジログでも、読み上げられるビートは最大14までです。
  • テーマはストーリー順に並べます: 目玉機能 → プロダクト表面 → パフォーマンス → 信頼性(通常、ダイジェストはこの順に並んでいます)。

2 · 可視化ルーティング

各テーマについて、references/visualization-registry.md から表示方法を選び、1行で記述します: テーマ → 表示方法 → モックが実行する2〜4の連続アクション(各アクションはスクリプトのフレーズに対応)。レジストリに適合する表示方法がなく、忠実なアナロジーも存在しない場合は、チェックリストシーンにします。正直に表現できないものに対して偽のUIを発明してはいけません。

3 · 2層スクリプト(話し言葉 vs 表示用)

references/script-voice.md に従って、スクリプトをトークン行として記述します。会話調のレジスターで、すべての技術用語は references/lexicon.json から spoken の発音形式を持ち、display は標準的なスペルを保持します。キャプションは display を表示し、VOは spoken を読みます。用語集にない用語がある場合: ユーザーに発音を尋ね、それを用語集に追加します。 script-tokens.json としてプロジェクトに保存します。

4 · VO — Annie(HeyGen、ピン固定)

# 話し言葉レイヤーのテキストのみ。words JSONは話し言葉テキストの真のタイムスタンプ
# リポジトリ固有パス: changelog-videoスキルはhyperframesリポジトリルートから実行されるため、追跡されているhyperframes-media TTSヘルパーを直接使用します(`npx hyperframes
# skills` インストールステップは不要)。このスキルを別のリポジトリにコピーした場合は、media-use / hyperframes-media heygen-tts.mjs へのパスを適宜置き換えてください。
node skills/hyperframes-media/scripts/heygen-tts.mjs ./vo-spoken.txt \
  -o voiceover.mp3 --words vo-words.json \
  --voice 330290724a1b470fb63153f34d4c0183   # Annie — リアルな声(代替不可)

heygen CLI ≥0.3.0 が認証済み(heygen auth login --oauth)である必要があります。 その後、話し言葉のタイムスタンプを表示用トークンに整合させます:

node <SKILL_DIR>/scripts/align-captions.mjs \
  --tokens script-tokens.json --words vo-words.json --out captions.json

captions.json がキャプションレールの入力となります(表示スペル、話し言葉のタイミング)。 alignerは MISMATCH 警告を出力します — ビルド前にすべて解決してください(通常はTTSが複数の単語としてレンダリングする用語集スペルが原因)。音声が時計です: すべてのビートタイムは vo-words.json から来ます。VOの再生成はすべてのシームを再び開きます。

単語タイミングは厳格なゲートです。 ステップ5に進む前に、vo-words.json が空でなく、各単語に start/end を持つ words: [...] 配列があることを確認してください。もし空(0バイト)または配列がない場合(TTSプロバイダーが音声を返すがタイムスタンプペイロードを返さない場合の既知の障害モード)、それらなしで進めてはいけません。フォールバック: 生成された音声をローカルのwhisperを使って表示スクリプトに対して強制アライメントします:

uvx --from openai-whisper whisper voiceover.mp3 \
  --model base.en --language en --word_timestamps True \
  --output_format json --output_dir .
# その後、--words voiceover.json(同じ形式)を指定して align-captions.mjs を実行

WhisperはTTSのレンダリングを誤認識する場合があります(例: "gee-sap" → "gsap"、"heyjen" → "hey Jen")—— キャプションは依然として script-tokens.json の display スペルを使用します。Whisperはタイムスタンプのみを提供します。align-captions.mjs が結合を処理します。 このフォールバックが、キャプション付きビルドと、静かにキャプションなしで出荷されるビルドの違いです。

5 · ビルド

references/build-spec.md に正確に従います: ブランドトークン + フォント(<SKILL_DIR>/assets/ にバンドル)、アニメーション背景エンコード、シーンスキャフォールド、クローム、キャプションレール、各シーン1回の限定グリーンモーメント。次に、ドクトリンの順序: ledger.json(すべての通常シームは cut-the-curve LEFT) → seam-stamp → VOワード上の内部ビート → seam-gate verify。

キャプションは省略不可です。 マスタースケルトンには LINES 配列を読み取るキャプションレールIIFEが出荷されています。その配列を空のままにすることは、スタイルの選択ではなく出荷バグです。ステップ6に進む前に captions.json から投入してください:

// キャプションレールIIFE内の "const LINES = /* … */ []" をこれで置き換え:
const LINES = /* captions.jsonの内容 */ [
  { id: 0, end: 2.74, w: [["This", 0.0], ["week,", 0.30], …] },
  …
];

align-captions.mjs をスキップしたり LINES が [] の場合、ステップ6のフレームチェックは失敗します。スキャフォールドから #cap-line を削除してごまかしてはいけません。

6 · ゲート(提示前にすべてグリーン)

  1. node packages/cli/bin/hyperframes.mjs check --caption-zone "x0=0;y0=.90;x1=1;y1=1;severity=error;seek=.02,.06,.10,.14,.18,.22,.26,.30,.34,.38,.42,.46,.50,.54,.58,.62,.66,.70,.74,.78,.82,.86,.90,.94,.98"(またはリポジトリローカルの skills/hyperframes-cli/ スキルからインストールされた hyperframes CLI) — エラー0件(コントラスト: 薄暗いテキスト ≥ .66 アルファ; シーンコンテンツはキャプションレールの上に留まる)。npx hyperframes@latest に手を出さないでください。追跡されたリポジトリローカルのCLIが、このスキルが生成するコンポジション契約の真実の情報源です。
  2. seam-gate.mjs verify — 失敗0件。
  3. プレビューサーバーを再起動(キャッシュされたバンドルがあるため)、生のコンポジションページ上で __player.seek を使用して3〜4ビートをスポットチェック。
  4. ユーザーから依頼がない限りレンダリングしてはいけません。レンダリングリクエスト後、MP4からフレームを確認します(ffmpeg -ss <t> … -frames:v 1): キャプションが存在する、背景動画が黒くない、小さすぎる/フリーズしたフレームがない。
  5. キャプション存在ゲート — ハードフェイル。 VOの話し言葉ウィンドウ全体に分散して3〜4フレームをサンプリングし(例: 48秒のVOなら t=3、t=15、t=30、t=42)、それぞれの top: 990 にあるキャプションレールが表示可能なテキストをレンダリングしていることを確認します。話し言葉区間のいずれかのフレームでキャプションが欠落している場合、ビルドはキャプションなしで出荷されるとみなします — レッドゲートとして扱い、ステップ5の LINES 投入を再確認してください。これはまさに7月13〜20日 v4ビルドで問題になった点です。

プロジェクトレイアウト

projects/active/weekly-changelog-<範囲>/
├── index.html            # 単一ドキュメントマスター(スライドとしてのシーン、スタンプされたシーム)
├── ledger.json           # ベクターレジャー(seam-stampへの入力)
├── script-tokens.json    # 2層スクリプト(VO + キャプションの真実の情報源)
├── vo-spoken.txt         # 生成: 話し言葉レイヤー、1行
├── voiceover.mp3 + vo-words.json + captions.json
├── bgm.mp3               # <SKILL_DIR>/assets/bgm.mp3 からのコピー(ハウストラック)。ユーザー提供がない限り
└── assets/fonts/ + assets/bg-pattern-<長さ>s.mp4

アンチパターン

してはいけないこと代わりに行うこと
UI変更に対して箇条書きスライド変更を動作で示すモック表面を表示
表現不可能なアイテムに偽のUI正直なチェックリストシーン
TTSテキスト内のプレーンな「JSON」/「CLI」用語集の発音形式を使用。表示は標準スペルのまま
キャプション内の発音スペルキャプションは常に表示レイヤーをレンダリング
未知の用語の発音を推測するユーザーに尋ね、用語集を拡張する
すべてのチェンジログアイテムを読み上げるテーマごとに最大3つ。残りはダイジェストリンクがカバー
どこでもグリーンアクセントシーンごとに1回のグリーンモーメント(#5ef17c)
以前の動画の index.html から始めるステップ0 — このスキルの examples/master-skeleton.html を project/index.html にコピーする。常に。
手作り @font-face / WebGLシェーダー / カスタムBGMステップ0 — このスキルの assets/ をそのままコピー。スキルのアセットこそがブランド
CloudFrontの無効化をせずに納品S3交換後、配信 E2BSLVSZ7FG3U0 に対して aws cloudfront create-invalidation を正確なパスで実行。そうしないとCDNは古いファイルをキャッシュ
スキャフォールド内の LINES 配列を空のまま出荷ステップ4は投入された captions.json を生成しなければならない。ステップ5はそれをIIFEに貼り付ける。ステップ6ゲート5はレンダリングフレーム上でキャプションを確認する。空の LINES = キャプションなし出荷 = やり直し
vo-words.json がない → キャプションをスキップして出荷生成された音声に対してwhisper強制アライメントにフォールバック。キャプションは省略不可

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

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

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

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.

関連スキル