Communitygithub.com

hyperframes-animation

HyperFrames アニメーション — アトミックモーションルール、マルチフェーズシーンブループリント、シーン間トランジション、幅広いモーションデザインテクニック、そして7つのランタイムアダプター(GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)を網羅。モーション・アニメーションタスク全般に使用。2~4のルールを選択して合成、ブループリントを読み込み、ランタイム固有の API(GSAP イージング / Lottie プレイヤー / Three.js ミキサーなど)を参照可能。既存のコンポジションの監査にも対応。

hyperframes-animation とは?

hyperframes-animation スキルは、HyperFrames フレームワークにおけるアニメーション関連知識を一元管理するための包括的なスキルです。開発者はこのスキルを使用して、アトミックなモーションルール(ルール)、マルチフェーズのシーンブループリント(ブループリント)、シーン間のトランジション、そしてより広範なモーションデザインテクニックにアクセスできます。GSAP をデフォルトとして、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU の7つのランタイムアダプターを提供し、各ランタイムの API を容易に参照・実装できます。このスキルは、シンプルな2〜4ルールの合成から複雑な5フェーズの振り付けまで、様々なモーションタスクに対応し、既存のコンポジションのアニメーションマップを監査するためのスクリプトも含んでいます。hyperframes-core スキルが定めるコンポジション契約(決定論的レンダリング、単一の一時停止タイムライン、禁止事項など)を厳守し、その上でアニメーション固有の制約(レイアウト定数の事前計算、GSAP トランスフォームエイリアスの使用など)を追加することで、HyperFrames 環境内で予測可能でパフォーマンスの高いモーションを実現します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jasonfast123/hyperframes-skills/tree/main/skills/hyperframes-animation

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

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

ドキュメント

HyperFrames アニメーション

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

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

デフォルト: アトミックルールを合成する

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

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

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

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

ルーティング

目的参照先
トリガー/タグでアトミックモーションパターンを選択するrules-index.md
ルールの完全な HTML / CSS / GSAP レシピを読むrules/<name>.md
マルチフェーズシーンテンプレートを選択するblueprints-index.md
ブループリントの完全なレシピを読むblueprints/<id>.md
シーン間トランジションを作成する(CSS 駆動、2 クリップ間)transitions/overview.md, transitions/catalog.md
幅広いモーションデザインテクニックを調べるtechniques.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
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 をテクスチャに + WebGL/GLSL ポストエフェクト(drawElementImage でライブ DOM をキャプチャ)adapters/html-in-canvas-patterns.md
名前付きテキストアニメーションエフェクト(外部 animate-text スキルによる 24 ID)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 → 譲れないルール(単一の一時停止タイムライン、data-duration が長さを管理、Math.random / Date.now / performance.now 不使用、repeat: -1 不使用、後続シーンのクリップに対するページロード時の gsap.set 不使用、display や生の visibility トゥイーン不使用、async / setTimeout / Promise 内でのタイムライン構築禁止)。コアにより、GSAP の autoAlpha と明示的なタイムライン境界でのゼロデュレーション可視性設定は許可されています。これらの例外は、クリップ内の非クリップ要素またはラッパーにのみ使用します。フレームワークが .clip のライフサイクルを管理します。ここで完全な契約を繰り返さないでください。

コアの契約に加えてアニメーション作成上の追加事項:

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

スクリプト

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

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

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

関連情報

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

Individual skills in this repo

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

embedded-captions

>

faceless-explainer

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.

figma

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.

general-video

>

hyperframes

>

hyperframes-audio

>

hyperframes-cli

>

hyperframes-core

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class=

hyperframes-creative

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

hyperframes-keyframes

>

hyperframes-registry

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

jasonfast123/hyperframes-skills

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.

media-use

Agent Media OS, the single skill for every media need in 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.

motion-graphics

>

music-to-video

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.

pr-to-video

Turn a GitHub pull request (a PR URL, owner/repo#N, or

remotion-to-hyperframes

Port an existing Remotion (React) composition

slideshow

>

talking-head-recut

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

関連スキル