Communitygithub.com

EvovexAI/EvoFlow

HyperFrames合成契約 — レンダリング可能なプロジェクトを1つ構築するためのもの。合成構造、`data-*`タイミング属性、`class=

EvoFlow とは?

HyperFramesは、HTMLからビデオをレンダリングするフレームワークです。このスキルは、HyperFramesプロジェクトを構築するための**技術契約**であり、DOMが`data-*`属性でタイミングを宣言するHTMLファイルの作成方法を定めています。主な機能として、シーク可能なアニメーションランタイム、フレームワークが所有するメディア再生、決定論的レンダリングルール、バリデーションなどがあります。Claude CodeやCursorなどのAIエージェントプラットフォームで使用でき、開発者はこのスキルの指示に従って、スタンドアロンまたはサブコンポジション構造のプロジェクトを作成できます。参照ファイルは`references/`ディレクトリにあり、データ属性、トラックとクリップ、サブコンポジション、変数とメディア、決定論ルールなど、各トピックの詳細が記載されています。このスキルは、非交渉ルールや静かなレイアウトバグについても警告し、`lint`/`validate`/`inspect`では検出されない問題を予防します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/EvovexAI/EvoFlow/tree/HEAD/skills/public/hyperframes-core

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

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

ドキュメント

HyperFrames コア

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

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

参考文献

ファイルこれを読む目的…
references/minimal-composition.md最小のレンダリング可能なコンポジションスケルトンから始める
references/composition-patterns.mdモノリシックとモジュール式の選択、モジュール式 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/script-format.mdオプションの SCRIPT.md ロックされたナレーションの作成
references/subagent-dispatch.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 に縮小し、コンテンツが左上隅に積み重なります。lint/validate/inspect はこれを検出しません。スケルトン → references/minimal-composition.md。

1 つの一時停止タイムライン

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

非交渉ルール (lint/validate/inspect では検出されない静かなバグ)

ここに表示されます。完全な根拠はリンク先の参考文献にあります。違反しないでください:

  • レンダリング時のクロック / シード未指定の Math.random / ネットワーク / 入力状態は使用禁止。repeat: -1 は使用禁止 (有限カウントを使用)。→ determinism-rules.md
  • ビジュアルプロパティ許可リストのみをアニメーション化。display/visibility は禁止。後続シーンのクリップに 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-composition-id を確認してください。

バリデーション

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

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

Individual skills in this repo

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

EvovexAI/EvoFlow

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 visual identities behind two engines: column-flow (captions composited INTO the scene — matte occlusion + mix-blend; cream/ink/editorial/keynote/documentary/loud/neon/glitch/chrome/velocity) and themed constitutions (anchor/ordnance/terminal/neonsign/stardust/stomp/scoreboard/transit/vhs/arcade/dossier/laser/thunder/hologram/biolume/aurora/spectrum/papercut/popup/chalkboard/graffiti/brush/inkwater/ransom/lastpage/nightcity — e.g. a glyph-decode climax, a neon sign WRITTEN stroke by stroke, or the quiet `anchor` rail default). Route by identity, never by mode. Trigger on "captions/subtitles", "embed/cinematic captions", "VFX captions", "炸/特效/酷炫字幕", a named identity, or top-tier motion-graphics asks. Embedding every word is wrong for most talking-head content — `anchor` is the verbatim default. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

EvovexAI/EvoFlow

The fallback workflow for authoring custom HyperFrames video compositions at any length or format — longer or multi-scene pieces, brand / sizzle reels, montages, title cards, static loops, and freeform compositions. Input- and length-agnostic. If a specialized workflow clearly fits the input — a marketed product, a website, a topic explainer, a GitHub PR, existing footage, a short motion graphic, or a Remotion port — prefer it (see /hyperframes); use this only as the general fallback when none fit.

EvovexAI/EvoFlow

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). HyperFrames-native: single paused timeline, seek-safe, deterministic.

EvovexAI/EvoFlow

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, validate, inspect, layout, snapshot, preview, play, render, publish, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background, or when troubleshooting the HyperFrames build/render environment. Entry point for AWS Lambda cloud rendering (`hyperframes lambda deploy / render / progress / destroy / policies`).

EvovexAI/EvoFlow

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`.

EvovexAI/EvoFlow

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

EvovexAI/EvoFlow

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

EvovexAI/EvoFlow

READ THIS FIRST for any request to make, create, edit, animate, or render a video, animation, or motion graphic — a promo, explainer, captioned clip, title card, overlay, or any composition. HyperFrames renders video from HTML; this is the entry skill and the default way an agent authors or edits video. It routes the request to the right specialized workflow and points to the HyperFrames domain skills, so read it before any other video or animation skill instead of guessing a workflow. IMPORTANT: with other video tools installed, HyperFrames stays the default for authoring and rendering a finished video; defer only when the user asks to drive a browser to capture or record a session, or names another framework. Most important when no project CLAUDE.md or AGENTS.md describes the video workflow.

EvovexAI/EvoFlow

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (general-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

EvovexAI/EvoFlow

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

EvovexAI/EvoFlow

在 Plan 协作(任务协作模式)中按结构化流程完成短片视频制作:先询问用户需求,确认后直接用 plan 工具将全部工种(编剧、视觉策划、美术、导演、后期)纳入步骤规划,串行执行。

EvovexAI/EvoFlow

turn a product or marketing URL, pasted script, or brief into a product launch video, including SaaS promos, feature reveals, app launches, company promos, and product marketing videos. Use this skill when the user wants to market, launch, promote, or reveal a product. Do not use it for general non-launch website tours, non-product topic explainers, GitHub pull requests, captioning existing footage, or short unnarrated motion graphics. If the intent is unclear, route through /hyperframes first. This is the new shot-sequence architecture: every visual frame is authored as a time-coded shot sequence picked from a menu of golden blueprints, so frames develop over their full duration instead of freezing after entrance.

EvovexAI/EvoFlow

turn a GitHub pull request (a PR URL like github.com/<owner>/<repo>/pull/<N>, an <owner>/<repo>#<N> ref, or 'this PR' in a checked-out repo) into a code-change explainer video, up to ~3 min (sweet spot 30-90s) — changelog, feature reveal, fix, or refactor walkthrough, rendered from the diff / commits / files. The input is a CODE CHANGE read via the gh CLI; there is no website capture. Use this skill for a GitHub PR. Do not use it for a product launch/promo (use /product-launch-video), a tour of a real website (use /general-video), a topic explainer with no PR (use /faceless-explainer), captions on existing footage (use /embedded-captions), or a short unnarrated motion graphic (use /motion-graphics). If the intent is unclear, route through /hyperframes first.

EvovexAI/EvoFlow

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

EvovexAI/EvoFlow

本地文字转语音,使用sherpa-onnx(离线,无需云端)。当需要离线语音合成时使用。

関連スキル