Communitygithub.com

sansayan01/finance_app_zo

所有關於 HyperFrames 動畫的知識:原子動作規則、多階段場景藍圖、場景轉場、廣義動態設計技術,以及七種執行時期適配器(GSAP 預設、Lottie、Three.js、Anime.js、CSS 關鍵影格、Web Animations API、TypeGPU)。適用於任何動畫任務:挑選 2-4 條規則並組合、載入藍圖,或查詢特定執行時期的 API(例如 GSAP 緩動函數 / Lottie 播放器 / Three.js 混成器)。也涵蓋審查現有構圖的編舞(動畫地圖)及 24 種具名文字動畫效果。HyperFrames 原生:單一暫停時間軸、可安全搜尋、確定性。

finance_app_zo 是什麼?

此技能封裝了 HyperFrames 框架內的所有動畫知識,提供一個統一的技能來處理從簡單原子動作到複雜多階段場景編排的所有任務。它將知識組織成不同的類別:**規則**(可重複使用的原子動畫配方)、**藍圖**(預先設計的多階段場景範本,如品牌揭曉或社交證明)、**轉場**(場景間的 CSS 驅動轉換)、**技巧**(更廣泛的動態設計模式),以及**適配器**(針對 GSAP、Lottie、Three.js、Anime.js、CSS、WAAPI 和 TypeGPU 等七種執行時期環境的特定 API 參考)。主要使用案例包括:挑選 2-4 條 GSAP 規則並將其組合成一個暫停的時間軸(預設且最快的方法)、載入一個完整的藍圖以進行複雜的編排,或查閱特定適配器文件以了解相關的 API 使用方法,例如 GSAP 的緩動函數或 Three.js 的混成器。此技能還包含一個用於審查現有作品編排的工具、一個用於檢查動畫地圖的腳本,以及對 24 種具名文字動畫效果的支援。它強制執行關鍵約束以確保確定性,例如需要一個單一暫停的時間軸、不允許使用 `Math.random`,以及要求使用 GSAP 轉換別名(如 `x`、`y`)而非佈局屬性(如 `width`、`height`)進行空間運動。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/sansayan01/finance_app_zo/tree/HEAD/.agents/skills/hyperframes-animation

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

HyperFrames 動畫

一個技能包含所有動畫知識:規則(原子配方)、藍圖(多階段場景範本)、轉場(場景到場景)、技巧(更廣泛的動態設計模式)和適配器(各執行時期的 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 驅動,在兩個片段之間)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 渲染的畫布(粒子、液態玻璃、自訂著色器)。

多個執行時期可以在一個構圖中並存。每個執行時期會將其實例註冊到特定於該執行時期的全域變數上,以便 HyperFrames 能夠在一次掃描中搜尋所有實例。

關鍵限制

先決條件:hyperframes-core → 不可協商的規則(單一暫停時間軸,data-duration 決定長度,不使用 Math.random / Date.now / performance.now,不使用 repeat: -1,不在後續場景片段上使用 gsap.set,不使用 display / visibility 動畫,不在 async / setTimeout / Promise 內部建構時間軸)。此處不再重述。

在核心合約之上新增的動畫創作規範:

  • 預先計算的佈局常數 — 永遠不要在補間時從 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=<版本>。

參見

  • hyperframes-core — 構圖結構、數據屬性、子構圖、確定性渲染合約
  • hyperframes-creative — 調色盤、排版、敘事、節奏規劃(非動畫創意方向)
  • 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.

sansayan01/finance_app_zo

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 36 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. Runs locally end-to-end (transcribes and mattes the subject itself, no API key). Requires hyperframes and a single-subject clip (multi-shot clips ar...

sansayan01/finance_app_zo

The fallback workflow for authoring or editing any custom HyperFrames composition at any length or format — longer / multi-scene pieces, brand and sizzle reels, montages, title cards, static loops, freeform builds. Use only when no specialized workflow fits the input; routing table at /hyperframes.

sansayan01/finance_app_zo

HyperFrames CLI dev loop. Use when running npx hyperframes init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, render, publish, cloud, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, docs, benchmark, telemetry, transcribe, tts, or remove-background (validate/inspect/layout are deprecated aliases covered by check), or when troubleshooting the HyperFrames build/render environment. Entry point for HeyGen-hosted cloud rendering (`hyperframes cloud render / list / get / delete`) and self-managed AWS Lambda rendering (`hyperframes lambda deploy / render / progress / destroy / policies / sites`).

sansayan01/finance_app_zo

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. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

sansayan01/finance_app_zo

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

sansayan01/finance_app_zo

Use when a HyperFrames composition needs seek-safe 2D/3D keyframes, GSAP timelines, 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.

sansayan01/finance_app_zo

MicroFlow Pro - MFI Staff Portal built with Flutter & Supabase

相關技能