Communitygithub.com

HyperFrames アニメーション

HyperFrames に関するすべてのアニメーション知識 – 原子モーションルール、マルチフェーズシーンブループリント、シーン遷移、広範なモーションデザイン手法、そして 7 つのランタイムアダプタ(GSAP デフォルト、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)。あらゆるモーション/アニメーションタスクに使用可能:2~4 ルールを選んで合成、ブループリントをロード、ランタイム固有 API の参照など。既存コンポジションの振り付け(アニメーションマップ)の監査や 24 種類のテキストアニメーションエフェクトもカバー。HyperFrames ネイティブ:単一停止タイムライン、シーク安全、決定論的。

HyperFrames アニメーション とは?

このスキルは HyperFrames のアニメーションに関する包括的な知識を提供します。原子ルール(2~4 個を選んで合成可能)、マルチフェーズシーンブループリント(ブランドリビール、ソーシャルプルーフなど)、シーン間遷移、広範なモーションデザイン手法、そして 7 つのランタイムアダプタ(GSAP、Lottie、Three.js、Anime.js、CSS キーフレーム、Web Animations API、TypeGPU)をカバーしています。各ランタイムごとに専用の API リファレンス(GSAP のイージング/スタッガー、Lottie プレイヤー、Three.js の AnimationMixer など)が用意されており、テキストアニメーション 24 エフェクトやアニメーションマップ監査スクリプトも利用可能です。HyperFrames コアの契約(単一停止タイムライン、data-duration による長さ制御、Math.random 禁止など)に基づき、決定論的でシーク安全なアニメーションを実現します。ルールは GSAP ベースですが、複数ランタイムの共存も可能で、各ランタイムのインスタンスはグローバルに登録されるため HyperFrames が一元管理できます。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/samyakiasonline-ctrl/hyperframe/tree/HEAD/.claude/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
ルールの完全な HTML / CSS / GSAP レシピを読むrules/<name>.md
マルチフェーズシーンテンプレートを選ぶblueprints-index.md
ブループリントの完全なレシピを読む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 → Characters
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 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 禁止、有限のルート data-duration なしでの repeat: -1 禁止、後のシーンのクリップに対するページ読み込み時の gsap.set 禁止、display や生の visibility トゥイーン禁止、タイムラインは完全に構築された後にのみ登録(構築が document.fonts.ready などの非同期コールバック内で実行される場合も含む))。GSAP の autoAlpha と明示的なタイムライン境界でのゼロデュレーション可視性設定はコアで許可されています。これらの例外はクリップ以外の要素またはクリップ内のラッパーに対してのみ使用してください。フレームワークが .clip のライフサイクルを所有します。ここで完全な契約を再記述しないでください。

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

  • 事前計算されたレイアウト定数 – トゥイーン時に getBoundingClientRect() から位置を導出しないでください。トゥイーン時の 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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

samyakiasonline-ctrl/hyperframe

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.

関連スキル