Communitygithub.com

AlessandroFare/fluxychat

HyperFramesの構成コントラクト。1つのレンダリング可能なプロジェクトを構築するためのものです。構成構造、`data-*`タイミング属性、`class="clip"`、トラック、サブ構成、変数、フレームワーク管理のメディア再生、決定論的レンダリングルール、およびバリデーションをカバーします。また、TailwindプロジェクトやSTORYBOARD.md / SCRIPT.mdの計画フォーマットも扱います。構成HTMLを作成する前に読んでください。

fluxychat とは?

このスキル「HyperFrames Core」は、HyperFramesフレームワーク(HTMLからビデオをレンダリングするシステム)で使用するコンポジション(構成)の技術的契約書です。主な目的は、開発者が`data-*`属性を用いてタイミングを宣言し、フレームワークがメディア再生とアニメーションを管理する、シーク可能なHTMLベースのプロジェクトを構築するための正確なルールを提供することです。このスキルは、スタンドアロンコンポジションとサブコンポジションの2つのルート形式の違い、クラスを使用したクリップ構造、トラック管理、変数の使用、決定論的レンダリングのための禁止事項、およびTailwind CSSのサポートなど、主要な概念をカバーしています。また、STORYBOARD.mdやSCRIPT.mdなどの計画文書のフォーマットも参照し、開発のワークフロー全体をガイドします。実装の詳細を知りたい開発者は、`references/`ディレクトリ内の各トピック専用のドキュメント(例:最小限のコンポジション、データ属性リファレンス、アニメーションアダプター)を参照する必要があります。このスキルは、Claude CodeやCursorなどのAIエージェントがHyperFramesプロジェクトに取り組む際の主要な情報源として機能し、正しい構成の作成とフレームワークの制約の遵守を保証します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlessandroFare/fluxychat/tree/HEAD/.agents/skills/hyperframes-core

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

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

ドキュメント

HyperFrames Core

HyperFrames は HTML から動画をレンダリングします。コンポジションとは、data-* 属性でタイミングを宣言し、アニメーションランタイムがシーク可能で、メディア再生がフレームワークによって管理される HTML ファイルです。

このスキルは技術的な契約です — HyperFrames プロジェクトを構築する方法について説明します。以下の本文はビルドガイドです。トピックごとの詳細は references/(次の目次)にあり、必要に応じて参照してください。その他の関心事は、関連するドメインスキル(hyperframes-animation、hyperframes-creative、media-use、hyperframes-cli、hyperframes-registry)にあります。機能マップは /hyperframes にあり、各スキルがカバーする内容を示しています。

リファレンス

ファイル読む目的
references/minimal-composition.md最小のレンダリング可能なコンポジションのスケルトンから始める
references/composition-patterns.mdモノリシック vs モジュラーを選択する。モジュラー index.html を構成する。サブコンポジションのアーキタイプを選ぶ
references/data-attributes.md任意の data-*(ルート/クリップ/サブコンポホスト/レガシーエイリアス)を調べる。class="clip" を使用する
references/tracks-and-clips.mddata-track-index を選択し、同じトラックの重なり/z-index を処理し、別のクリップに対するクリップのタイミングを設定する
references/sub-compositions.mdサブコンポジションを配線する(ホスト属性、<template>、インスタンスごとの変数)し、その内部でアニメーションさせる
references/variables-and-media.md変数を宣言する。<video>/<audio> を配置し、ボリュームを設定し、トリミングする
references/determinism-rules.mdシーク可能なタイムラインを構築する。決定論の禁止事項。アニメーションプロパティの許可リスト。レイアウト/テキストフィット
references/full-screen-motion.md共有の背景を使用してフルフレームモーションを作成する
references/storyboard-format.mdSTORYBOARD.md 計画(解析されたマニフェストを含む)を作成する
references/review-loop.mdライブボード上で計画→スケッチ→ビルドのレビューパスを実行する。すべてのストーリーボード計画ワークフローで共有される
references/production-loop.md承認された計画を納品動画に変換する。段階の依存関係(オーディオ、フレーム、アセンブリ、トランジション、キャプション、検証、納品)により、自由形式のビルドが直接続く
references/brief-contract.mdブリーフの基本ルール — モードの導出(協調的/自律的)、共有フィールドレジストリ、質問の不変条件(質問自体は /hyperframes → 意図レイヤーにあります)
references/brief-format.mdBRIEF.md を作成する — ワークフローのセットアップが作成し、その後のすべてのステップが読み取る確認済みの意図文書
references/script-format.mdオプションの SCRIPT.md ロック済みナレーションを作成する
references/subagent-dispatch.mdサブエージェントディスパッチ動詞(並列ファンアウト/バックグラウンド/待機)を自分のハーネスにマッピングする
references/frame-worker-core.md共有フレームワーカーの役割契約 — 各ナラティブワークフローのパケットビルダーは、そのワークフローの sub-agents/frame-worker.md デルタの前にこれを追加する
references/tailwind.mdTailwind v4 プロジェクトで作業する(init --tailwind。ランタイム契約は Studio の v3 とは異なる)

アニメーションランタイムの詳細(GSAP API、Lottie、Three.js など)については、hyperframes-animation → adapters/<runtime>.md を参照してください。

コンポジションの構築

2つのルート形式(互換性なし)

  • スタンドアロン(トップレベル index.html) — ルート <div data-composition-id="…"> は <body> 内に直接配置され、<template> ラッパーはありません(ラップするとすべてのコンテンツが隠れてレンダリングが壊れます)。
  • サブコンポジション(data-composition-src 経由で読み込まれる) — ルートは <template> でラップされている必要があります。

⚠ 転送ルール: ランタイムは <template> の内容のみをクローンします。その外側(<head> 内のスタイル/スクリプトを含む)はすべて破棄されます — <style>/<script> はテンプレート内に配置してください。 ⚠ ホスト ID ルール: ホストスロットの data-composition-id は、内部テンプレートの data-composition-id および window.__timelines["<id>"] キーと完全に一致する必要があります。-mount/-slot/-host のサフィックスは付けないでください。

ファイルの形状、ホストの配線、プリレンダリングチェックリスト → references/sub-compositions.md。

ルートはサイズを指定する必要があります(静的なレイアウトバグ)

スタンドアロンルートには、明示的なサイズ指定されたボックス(width/height を px で)が必要です。また、height:100% の要素までのすべての祖先が決定された高さを持っている必要があります。そうしないと、flex/100% の子要素は約 0 に縮小し、コンテンツが左上隅に積み重なります。これを自動化されたゲートだけでキャッチしようとしないでください。スナップショットを検査してください。スケルトン → references/minimal-composition.md。

1つのポーズされたタイムライン

各コンポジションは、1 つの gsap.timeline({ paused: true }) を window.__timelines["<id>"](キー = ルート data-composition-id)に登録します。これはページ読み込み時に同期的に構築されます。レンダリング期間 = ルート data-duration、タイムラインの長さではありません。サブタイムラインをホストに手動で入れ子にしないでください。完全な契約(非 GSAP ランタイムを含む) → references/determinism-rules.md + hyperframes-animation/adapters/。

初回 lint の注意点(最初のビルドで確実に失敗します)

lint がキャッチする 2 つのルールですが、事後的にしかキャッチしません。初回から正しく記述してください:

  • ルートコンポジション要素は data-start="0" を保持する必要があります(data-composition-id/data-width/data-height と一緒に)。省略すると、lint は root_composition_missing_data_start で失敗します。
  • CSS の初期 transform と 同じプロパティに対する GSAP トゥイーンを決して組み合わせないでください。CSS の値とトゥイーンの開始が競合し、lint は gsap_css_transform_conflict で拒否します。代わりに、CSS の transform: translateX(-40px) ではなく、トゥイーン内で gsap.fromTo(el, { x: -40 }, { x: 0 }) を使用して初期状態を設定してください。

譲れないルール(自動化ゲートが見逃す可能性のある静的なバグ)

ここに記載。完全な根拠はリンクされたリファレンスにあります。以下に違反しないでください:

  • レンダリング時のクロック / 未シードの Math.random / ネットワーク / 入力状態は禁止。repeat: -1 は使用不可(有限のカウントを使用)。→ determinism-rules.md
  • ビジュアルプロパティの許可リストのみをアニメーション化する。display や生の visibility をトゥイーンしない。GSAP autoAlpha とゼロ期間タイムライン境界セットは、可視性例外の唯一のものであり、それらは非クリップ要素またはクリップ内のラッパーにのみ適用。フレームワークだけが .clip の可視性を制御します。ページ読み込み時に後方シーンのクリップに対して gsap.set を実行しないでください。→ determinism-rules.md
  • 本文テキスト内に <br> を配置しない。変換された要素はブロックレベルでサイズ指定されている必要がある。パルスする絶対装飾要素にはピーククリアランスが必要。→ determinism-rules.md
  • <video>/<audio> は任意のネスト深さで動作します(サブコンポジション <template> やラッパー内も含む)。フレームワークは再生を所有し、メディアがどこにあってもシーク/デコードします。唯一の注意点はタイムラインであり、配置ではありません。サブコンポジションのタイムラインはホストルート要素をアニメーション化できません。→ variables-and-media.md
  • すべての id はアセンブルされたページ全体で一意でなければなりません。サブコンポジション内では、id にコンポジション ID をプレフィックスとして付けます(#<id>-hero)。重複した <video>/<img> id は空白でレンダリングされます。プロデューサーは getElementById でフレームを注入し、ファイル間の重複は lint をすり抜けます。→ composition-patterns.md
  • フルスクリーンシーンの塗りつぶしは、全画面表示の子要素(position:absolute; inset:0)に配置します。コンポジションルート自体には決して配置しないでください。プロデューサーのフレームコンポジットがルート要素自身の background を削除する可能性があります(フレームは黒くレンダリングされます)。プレビュー/snapshot では正しく表示される場合でもです。→ composition-patterns.md

既存のコンポジションの編集

  • 最初にファイルを読んでください。関係のないタイミング、トラック、ID、変数、メディアパスを保持してください。
  • 既存のコンポジション ID とタイムラインキーに一致させてください。
  • クリップを追加する場合: 重複しない data-track-index を選択するか、意図的に周囲のタイミングを調整してください。
  • data-hidden を任意のコンポジション要素に設定すると、プレビューとレンダリングの両方で非表示になり、時間枠をオーバーライドします。これは非破壊的/可逆的であり、Studio のタイムライン目アイコンで切り替えられます。
  • サブコンポジションを追加する場合: ホストを配線する前に、内部の data-composition-id を確認してください。

検証

コマンドの詳細については hyperframes-cli を使用してください

  • npx hyperframes check が成功する(lint、ランタイム、レイアウト、モーション、コントラストで 0 の問題)
  • サブコンポジションを含むプロジェクト: npx hyperframes snapshot --at <midpoints> を実行し、各フレームを目視確認
  • レビュー用に npx hyperframes preview(ユーザーは Studio のタイムラインで何でも編集できます)
  • ユーザーが承認した後にのみ npx hyperframes render を実行

Individual skills in this repo

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

AlessandroFare/fluxychat

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.\n

AlessandroFare/fluxychat

Use when audio already placed in a HyperFrames composition needs to be mixed: a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), or automation envelopes drawn on a track's volume or any effect parameter. 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`.\n

AlessandroFare/fluxychat

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, 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.\n

AlessandroFare/fluxychat

Install, discover, and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

AlessandroFare/fluxychat

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.\n

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

AlessandroFare/fluxychat

Use when a HyperFrames composition needs seek-safe 2D/3D keyframes, GSAP timelines, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

AlessandroFare/fluxychat

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]

AlessandroFare/fluxychat

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

AlessandroFare/fluxychat

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

AlessandroFare/fluxychat

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

AlessandroFare/fluxychat

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

AlessandroFare/fluxychat

Design and improve user interfaces using the concrete rules from Refactoring UI (Wathan & Schoger) — constrained spacing/type/color/shadow scales, visual hierarchy through weight and color rather than size, and depth through emulated light. Use when building or styling any UI (web, app, dashboard, landing page, component), when picking font sizes, spacing, colors, shadows or border radius, when designing a color palette or design tokens, and whenever someone says a UI "looks off", "looks amateur", "feels cluttered/plain/unfinished", or asks to "make this look better".

AlessandroFare/fluxychat

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

AlessandroFare/fluxychat

Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.

関連スキル