Communitygithub.com

EvovexAI/EvoFlow

HyperFrames 动画的全部知识——原子运动规则、多阶段场景蓝图、场景过渡、更广泛的动效设计技术以及七个运行时适配器(默认 GSAP,外加 Lottie、Three.js、Anime.js、CSS 关键帧、Web Animations API、TypeGPU)。用于任何动效或动画任务:挑选 2-4 条规则并组合,或加载蓝图,或查阅运行时特定 API(例如 GSAP 缓动/Lottie 播放器/Three.js 混合器)。HyperFrames 原生:单条暂停时间线,可安全定位,确定性。

EvoFlow 是什么?

此技能整合了 HyperFrames 动画系统的所有方面:原子运动规则(可组合的动效片段)、多阶段场景蓝图(可直接运行的大纲)、场景过渡(基于 CSS)以及更广泛的动效设计技术。它主要针对 GSAP 优化,但提供了七个运行时适配器的详细 API 参考:GSAP(默认)、Lottie、Three.js、Anime.js、CSS 关键帧、Web Animations API 和 TypeGPU/WebGPU。该技能倡导一种确定性、预计算且无副作用的动效创作方式——所有时刻都基于单个暂停的时间线,禁用 `Math.random()`、`Date.now()` 和基于布局的测量,以确保一致的渲染。通过选择合适的适配器或蓝图,开发者可以快速组合复杂、可定位的动画,并持续维护它们。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/EvovexAI/EvoFlow/tree/HEAD/skills/public/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。用于在创作后审计编排(死区、交错一致性、生命周期警告)。

另请参阅

  • hyperframes-core — 组合结构、数据属性、子组合、确定性渲染契约
  • hyperframes-creative — 调色板、排版、叙述、节拍规划(非动画创意指导)
  • hyperframes-cli — npx hyperframes lint/validate/inspect/preview/render

Individual skills in this repo

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

EvovexAI/EvoFlow

Add captions to a talking-head video. ONE catalog (CATALOG.md) of 32 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. Pipeline: transcription → hyperframes remove-background matting → HTML render → ffmpeg overlay. Requires hyperframes and a single-subject clip.

EvovexAI/EvoFlow

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.

EvovexAI/EvoFlow

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

EvovexAI/EvoFlow

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.

EvovexAI/EvoFlow

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

EvovexAI/EvoFlow

Audio and media assets for HyperFrames compositions, produced by one shared audio engine (`scripts/audio.mjs`) — multi-provider TTS (HeyGen / ElevenLabs / Kokoro local), background music + sound effects (HeyGen audio-library retrieval by default, with local Lyria / MusicGen BGM generation and a bundled SFX library as the no-credential fallback), Whisper transcription, background removal, and caption authoring. Use for voiceover / TTS, BGM, SFX / sound effects, transcription, captions / subtitles / lyrics / karaoke / per-word styling, voice + provider selection, and music-mood prompting.

EvovexAI/EvoFlow

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

EvovexAI/EvoFlow

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 domain skills, 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.

EvovexAI/EvoFlow

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s and up to ~30s, with no narration arc, voice-over, or live-action subject. Can render to MP4 or transparent overlay. Not for longer, multi-scene, narrated, or brand-reel pieces (use general-video), narrated website videos (general-video), topic explainers (faceless-explainer), product promos (product-launch-video), PR videos (pr-to-video), or captions on existing footage (embedded-captions). When unsure whether it's a quick motion-first piece or a longer / narrated treatment, see /hyperframes.

EvovexAI/EvoFlow

Use when the user has a music track (an audio file, or a video to pull audio from) and wants a beat-synced HyperFrames video, calm to hard-hitting. The music drives everything: one analyzer reads it once, the orchestrator lays out the frames and fills a per-frame plan, and one sub-agent builds each frame. Typography and templates are the floor — a complete video needs zero assets — but any images or videos the user supplies are cut into the frames on the same beat grid (beat-cut / ken-burns). The genre (lyric video, slideshow, kinetic promo) falls out of the per-frame choices; the pipeline never branches on it.

EvovexAI/EvoFlow

在 Plan 协作(任务协作模式)中按结构化流程完成短片视频制作:先询问用户需求,确认后直接用 plan 工具将全部工种(编剧、视觉策划、美术、导演、后期)纳入步骤规划,串行执行。

EvovexAI/EvoFlow

turn a product or marketing URL, pasted script, or brief into a product launch video, including SaaS promos, feature reveals, app launches, company promos, and product marketing videos. Use this skill when the user wants to market, launch, promote, or reveal a product. Do not use it for general non-launch website tours, non-product topic explainers, GitHub pull requests, captioning existing footage, or short unnarrated motion graphics. If the intent is unclear, route through /hyperframes first. This is the new shot-sequence architecture: every visual frame is authored as a time-coded shot sequence picked from a menu of golden blueprints, so frames develop over their full duration instead of freezing after entrance.

EvovexAI/EvoFlow

turn a GitHub pull request (a PR URL like github.com/<owner>/<repo>/pull/<N>, an <owner>/<repo>#<N> ref, or 'this PR' in a checked-out repo) into a code-change explainer video, up to ~3 min (sweet spot 30-90s) — changelog, feature reveal, fix, or refactor walkthrough, rendered from the diff / commits / files. The input is a CODE CHANGE read via the gh CLI; there is no website capture. Use this skill for a GitHub PR. Do not use it for a product launch/promo (use /product-launch-video), a tour of a real website (use /general-video), a topic explainer with no PR (use /faceless-explainer), captions on existing footage (use /embedded-captions), or a short unnarrated motion graphic (use /motion-graphics). If the intent is unclear, route through /hyperframes first.

EvovexAI/EvoFlow

Port an existing Remotion (React) composition to HyperFrames HTML. Use ONLY when the user explicitly asks to port/convert/migrate/translate a Remotion source. Do NOT use: (a) authoring a new HyperFrames composition; (b) Remotion mentioned in passing; (c) Remotion code shared as reference only; (d) "same video as my Remotion one" without explicit migrate request — treat as fresh build. Doubt → `/general-video`. One-way, Remotion-only: no reverse export (HyperFrames→Remotion or any framework), no non-Remotion source (After Effects, Framer Motion, plain React/CSS) → out of scope, re-create via `/general-video`. Flags unsupported patterns (useState, useEffect, async calculateMetadata, third-party React libs, `@remotion/lambda`) and recommends runtime interop over lossy translation. Unsure whether to port vs. build fresh, or only a passing Remotion mention? → /hyperframes.

EvovexAI/EvoFlow

本地文字转语音,使用sherpa-onnx(离线,无需云端)。当需要离线语音合成时使用。

相关技能