Communitygithub.com

Sma1lboy/rove — HyperFrames モーション

HyperFrames のアニメーション知識をすべて網羅: アトミックなモーションルール、マルチフェーズシーンブループリント、シーン間トランジション、モーションデザイン手法、さらに 7 つのランタイムアダプタ (GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)。モーション/アニメーションのあらゆるタスクに使用できます。

rove — HyperFrames モーション とは?

このスキルは HyperFrames フレームワーク向けに設計された統合モーション知識ベースで、アトミックルール、ブループリント、トランジション、モーションデザイン手法、そして 7 つのランタイムアダプタを提供します。主な利用パターンとしては、`rules-index.md` から 2~4 個のルールを選択して合成するか、`blueprints-index.md` から既存のマルチフェーズシーンテンプレートをロードします。トランジション (CSS 駆動のクリップ間) や `techniques.md` の高度なパターンもサポートしています。各ランタイム (GSAP がデフォルト、Lottie、Three.js、Anime.js、CSS、WAAPI、TypeGPU) は専用のアダプタドキュメントを持ち、単一の一時停止タイムラインを共有することで、確定性とシーク安全性を実現します。さらに `scripts/animation-map.mjs` ツールにより、構成後のアニケーションマップの監査と調整が可能です。このスキルは、HyperFrames の中核ルール (単一一時停止タイムライン、`data-duration` による長さ制御、ランダム/非同期禁止、GSAP トランスフォームエイリアスのみ使用など) に基づいて動作し、全てのアニメーションタスクで一貫性と予測可能性を保証します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Sma1lboy/rove/tree/HEAD/.claude/skills/hyperframes-motion

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

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

ドキュメント

HyperFrames モーション

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

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

デフォルト: アトミックルールの合成

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

ブループリントをロードすべき場合

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

ブループリントは blueprints-index.md にあります。各エントリは blueprints/<id>.md (レシピ) と examples/<id>.html (実行可能サンプル) を指します。推測で読み取らないでください。シーンレベルのオーケストレーションが必要だと判断した場合にのみロードしてください。

ルーティング

目的参照先
トリガー/タグによるアトミックモーションパターンの選択rules-index.md
1 つのルールの完全な HTML / CSS / GSAP レシピを読むrules/<name>.md
マルチフェーズシーンテンプレートの選択blueprints-index.md
1 つのブループリントの完全なレシピを読むblueprints/<id>.md + examples/<id>.html
シーン間トランジション (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 内でのタイムライン構築禁止)。ここでは再述しません。

コアの契約に追加されるアニメーション制作上の注意事項:

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

スクリプト

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

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

関連情報

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

Individual skills in this repo

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

Sma1lboy/rove

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

Sma1lboy/rove

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

Sma1lboy/rove

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.

Sma1lboy/rove

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

Sma1lboy/rove

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

Sma1lboy/rove

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 topic guides, 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.

Sma1lboy/rove

Best practices for Remotion - Video creation in React

関連スキル