Communitygithub.com

laviedezidane/hyperframes-skill

HyperFrames アニメーションに関するすべての知識 — アトミックモーションルール、マルチフェーズシーンブループリント、シーン遷移、モーションデザイン技法、そして7つのランタイムアダプター(GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)。あらゆるモーション・アニメーションタスクに使用:2〜4個のルールを選んで構成、ブループリントの読み込み、ランタイム固有API(例:GSAP イージング/Lottie プレーヤー/Three.js ミキサー)の参照。既存コンポジションのアニメーションマップ分析と24の名前付きテキストアニメーションエフェクトもカバー。HyperFrames ネイティブ:単一ポーズタイムライン、シークセーフ、決定論的。

hyperframes-skill とは?

このスキルは、HyperFrames エコシステム向けの包括的なアニメーション知識ベースです。開発者がモーションタスクを効率的に設計・実装できるよう、ルール(アトミックレシピ)、ブループリント(マルチフェーズテンプレート)、トランジション(シーン間)、テクニック(広範なモーションデザインパターン)、そして各ランタイム固有のAPI(GSAP、Lottie、Three.js、Anime.js、CSS、WAAPI、TypeGPU/WebGPU)を提供します。特にGSAPをデフォルトのランタイムとして採用し、ほとんどのアトミックルールはGSAPベースで実装されており、単一ポーズタイムラインと決定論的動作を保証します。既存コンポジションのアニケーションマップを分析するスクリプトや、プリインストールされたアニメーションテキストエフェクト(24種類)を利用したテキストアニメーションもサポートします。Claude Code、Cursor、CodexなどのAIエージェントで利用でき、ユーザーの意図に応じてルールの組み立て、ブループリントの読み込み、ランタイム固有のAPI参照を自動的に行います。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/laviedezidane/hyperframes-skill/tree/HEAD/.agents/skills/hyperframes-animation

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

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

ドキュメント

プラグインインストール: セットアップまたはフレッシュネスコマンドの前に、このスキルが HyperFrames プラグイン内にある場合は、プラグイン実行ルール に従ってください。スタンドアロンインストールの場合は、以下の更新手順をそのまま使用してください。

HyperFrames アニメーション

すべてのモーション知識を1つのスキルにまとめました:ルール(アトミックレシピ)、ブループリント(マルチフェーズシーンテンプレート)、トランジション(シーン間)、テクニック(より広範なモーションデザインパターン)、そしてアダプター(ランタイムごとのAPI)。

コンポジションコントラクト(データ属性、サブコンポジション、決定論性)については、hyperframes-core を参照してください。

デフォルト:アトミックルールを構成

rules-index.md から2〜4個のルールを選び、単一のポーズ済み GSAP タイムラインで結合するだけです。ブループリントから始めるよりも高速で、コード量も少なくなります。

ブループリントを読み込むタイミング

  • シーンが既存の設計済みマルチフェーズテンプレート(ブランドリビール、ソーシャルプルーフなど)に一致し、そのフェーズパイプラインを再利用することで、実際の作成時間を節約できる場合
  • 複雑な4〜5フェーズのコレオグラフィに対して、実行可能なグラウンドトゥルースコードが必要な場合

ブループリントは blueprints-index.md にあります。各エントリは blueprints/<id>.md(レシピ)を指しています。推測で読み込まないでください。シーンレベルのオーケストレーションが必要だと判断した後に読み込んでください。

ルーティング

目的参照先
トリガー/タグでアトミックモーションパターンを選択rules-index.md
1つのルールの完全なHTML/CSS/GSAPレシピを読むrules/<name>.md
マルチフェーズシーンテンプレートを選択blueprints-index.md
1つのブループリントの完全なレシピを読むblueprints/<id>.md
シーン遷移(CSS駆動、2つのクリップ間)を作成transitions/overview.md、transitions/catalog.md
より広範なモーションデザイン技法を調べるtechniques.md
モーションブラー — 要素のシャッタースミア、使用すべきでない場合references/motion-blur.md
既存のコンポジションのアニメーションマップを分析scripts/animation-map.mjs
GSAP API — タイムライン/トゥイーン/位置パラメータadapters/gsap.md
GSAP — ドロップインエフェクトレシピrules/gsap-effects.md
GSAP — トランスフォーム/パフォーマンスadapters/gsap-transforms-and-perf.md
GSAP — イージング/スタッガーadapters/gsap-easing-and-stagger.md
GSAP — タイムライン/ラベルadapters/gsap-timeline-and-labels.md
Lottie / dotLottie(After Effects 書き出し、window.__hfLottie)adapters/lottie.md
キャラクターアニメーション(歩行サイクル、マスコット、関節人形、ジェスチャー)adapters/lottie.md → キャラクター
Three.js / WebGL(3Dシーン、AnimationMixer、hf-seek)adapters/three.md
Anime.js(window.__hfAnime)adapters/animejs.md
CSS キーフレーム(animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API(element.animate()、currentTime シーク)adapters/waapi.md
TypeGPU / WebGPU(navigator.gpu、WGSL、コンピュートパイプライン)adapters/typegpu.md
HTML-as-texture + WebGL/GLSL ポストエフェクト(drawElementImage でライブDOMをキャプチャ)adapters/html-in-canvas-patterns.md
名前付きテキストアニメーションエフェクト(外部 animate-text スキルによる24種類)adapters/animate-text.md

ランタイムの選択

  • GSAP は95%のモーション作業におけるデフォルト — タイムラインオーケストレーション、トランスフォーム、イージング、スタッガーをカバーします。このスキルのすべてのアトミックルールは GSAP ベースです。
  • Lottie は、アセットに独自のプリベイクタイムラインがある場合(通常は After Effects 書き出し)、および歩行、ジェスチャー、反応するキャラクターに使用します。
  • Three.js は、3Dシーン、カメラモーション、シェーダ駆動のビジュアルに使用します。
  • Anime.js は、GSAP がオーバーキルな軽量トゥイーンに使用します。
  • CSS は、単純な繰り返しモチーフ、装飾、きらめきに使用 — JavaScript アニメーションコストがかかりません。
  • WAAPI は、GSAP 依存なしのネイティブブラウザキーフレームに使用します。
  • TypeGPU / WebGPU は、GPU レンダリングキャンバス(パーティクル、リキッドガラス、カスタムシェーダー)に使用します。

複数のランタイムを1つのコンポジション内で共存させることができます。各ランタイムはランタイム固有のグローバルにインスタンスを登録するため、HyperFrames は1パスですべてのインスタンスをシークできます。

重要な制約

前提条件: hyperframes-core → 1つのポーズタイムライン + 不可欠なルール(単一ポーズタイムライン、data-duration が長さを管理、Math.random / Date.now / performance.now は禁止、有限ルート data-duration なしの repeat: -1 は禁止、後続シーンクリップでのページロード時 gsap.set は禁止、display や生の visibility トゥイーンは禁止、タイムラインの構築完了後にのみタイムラインを登録(非同期コールバック内での構築を含む、例:document.fonts.ready)。GSAP の autoAlpha と、明示的なタイムライン境界でのゼロ期間の可視性設定は、コアによって許可されています。これらの例外は、クリップ内部の非クリップ要素またはラッパーにのみ使用してください。フレームワークは .clip のライフサイクルを所有します。ここで完全なコントラクトを再記述しません。

コアのコントラクトに加えて、アニメーション作成に関する追加事項:

  • 事前計算済みレイアウト定数 — トゥイーン時に getBoundingRect() から位置を導出しないでください。トゥイーン時のDOM測定は、レンダラーが並列サンプリングするため同期が乱れます。コンポジション設定時に座標を一度計算し、再利用してください。
  • 空間モーションは GSAP トランスフォームエイリアスのみを使用(x、y、scale、rotation)。コアの許可リストでは、非空間プロパティのトゥイーンとして opacity / color / backgroundColor / borderRadius も許可していますが、レイアウト変更のための width / height / top / left は決して使用しないでください。

スクリプト

node <SKILL_DIR>/scripts/animation-map.mjs <composition-dir> \
  --out <composition-dir>/.hyperframes/anim-map

window.__timelines に登録されたすべての GSAP タイムラインを読み取り、トゥイーンを列挙し、バウンディングボックスをサンプリングし、フラグを計算し、animation-map.json を出力します。作成後にコレオグラフィ(デッドゾーン、スタッガーの一貫性、ライフサイクル警告)を監査するために使用します。

animation-map.mjs は、最初に現在のプロジェクトからヘルパーパッケージを解決し、バンドルされた HyperFrames パッケージバージョンをブートストラップできます。HYPERFRAMES_SKILL_PKG_VERSION=<version> は、スキルをバンドルされたCLI/スキルインストールの外部で実行し、そのブートストラップバージョンを明示的に固定する必要がある場合にのみ設定してください。

関連項目

  • hyperframes-core — コンポジション構造、データ属性、サブコンポジション、決定論的レンダリングコントラクト
  • hyperframes-creative — パレット、タイポグラフィ、ナレーション、ビート計画(非アニメーションのクリエイティブディレクション)
  • hyperframes-cli — npx hyperframes lint / check / snapshot / preview / render

Individual skills in this repo

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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

laviedezidane/hyperframes-skill

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, 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.

laviedezidane/hyperframes-skill

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also 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).

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Use when working with a person on a HyperFrames project in Studio: first, whether their message asks for a change at all (questions, loose ideas and "don't change anything" get an answer and a plan, not an edit); for a new film, the plan, storyboard and build order that the HyperFrames launch films follow; and how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

laviedezidane/hyperframes-skill

Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI. When `HEYGEN_API_BASE` is set, HeyGen calls go through that host with no CLI sign-in.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

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.

laviedezidane/hyperframes-skill

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

laviedezidane/hyperframes-skill

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

関連スキル