Communitygithub.com

Alemoterani/auto-edit-hyperframes

创建、编辑、动画或渲染视频、动画、动效图形的强制入口点,包括宣传片、解说视频、字幕片段、标题卡、叠层、幻灯片、交互式演示、Remotion迁移或任何HyperFrames HTML合成。也用于检查、诊断、验证、预览、发布或批量渲染现有HyperFrames项目。

auto-edit-hyperframes 是什么?

这是一个HyperFrames视频创作框架的核心入口技能。它充当所有与视频相关请求的中央路由层,根据用户意图(如项目状态、输入类型、交付物格式)自动选择并调用适当的工作流。该技能支持多种输入场景,包括网站URL、GitHub PR、Figma设计链接、文本简报、现有素材或音乐文件,并默认使用HyperFrames作为输出框架。其主要工作流程包括:从项目状态恢复、执行意图访谈以捕捉用户需求、根据交付物优先级表路由到特定工作流(如产品发布视频、无脸解说、音乐转视频等)、安装所需工作流依赖、按需加载领域技能(如核心合成、动画、关键帧、创意、媒体、音频等)。对于现有项目,它支持直接检查、诊断、验证、预览、渲染、发布或批量渲染操作,无需重新经历完整路由流程。该技能还管理项目CLI版本升级,确保可重现渲染的同时保持与最新版兼容。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Alemoterani/auto-edit-hyperframes/tree/HEAD/vendor/hyperframes/skills/hyperframes

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

插件安装: 在执行设置或刷新命令之前,当此技能位于HyperFrames插件内时,请遵循插件执行规则。独立安装保留下面的更新说明。

HyperFrames 入口点

检查剩余用量

在创作开始时,运行 npx hyperframes usage --json。在工作流里程碑处(如草稿完成后、渲染前)再次检查,因为用量在运行过程中会变化。读取可用窗口及其重置时间;之前的读取不会预留配额。如果命令失败、不可用或返回 status: unknown,则报告用量未知,不要猜测。与用户一起确定范围和工作流选择。

HyperFrames 通过HTML渲染视频——一个合成是一个HTML文件,其DOM通过data-*属性声明时间轴,其动画运行时可跳转,其媒体播放由框架控制。完整的创作约定位于 /hyperframes-core 中;在编写合成HTML之前请阅读它。简报、故事板、评审、制作、调度和帧工作器的约定位于此技能的 references/ 目录中。

1. 从项目状态开始

应用第一个匹配的行,不要评估更低的状态行:

状态操作
明确将现有Remotion源迁移到HyperFrames阅读 references/routes/remotion-to-hyperframes.md,然后直接路由到该工作流。跳过意图层。
对现有HyperFrames项目执行特定操作:检查、诊断、验证、预览、渲染、发布或批量渲染仅执行该操作。跳过意图和工作流路由;加载 /hyperframes-cli 和任何所需的领域技能。
在现有项目中提出一个问题、一个暂停、一个没有具体更改的想法,或对已制作影片的感性笔记遵循 /hyperframes-studio § 0。
在现有项目内部要求制作一部新影片遵循 /hyperframes-studio § 5。
对现有项目进行特定编辑执行编辑。不要运行意图层。要了解项目时间线上有什么(轨道、片段、开始、结束、播放内容),运行 npx hyperframes timeline [--json],而不是读取 index.html 和每个子合成文件。
BRIEF.md 存在读取 workflow 和 flow。执行该工作流;flow: companion 始终在 /general-video 中执行。不询问简报问题。
没有简报,但存在 hyperframes.json 或 STORYBOARD.md从项目文件和记录的偏好中恢复。从现有工件推断所属工作流。如果无法唯一确定,则询问一个仅用于路由的问题;不要运行意图访谈。
全新创作运行意图层——references/intent-interview.md——然后使用 § 2 的表格进行一次路由。

当你编辑现有项目时,用项目历史括起你的编辑(/hyperframes-cli,Project history in your turn)。

如果全新的请求没有指明主题或输入,请在路由前询问视频内容。在询问任何问题之前,检查偏好和配方(references/intent-interview.md,第1步)。figma.com 输入或命名的配分会改变输入方式,而不是路由——访谈的“适配正交输入”部分处理这两者。

保持项目的CLI为最新版本

一个脚手架化项目在 package.json 的scripts中固定了 hyperframes@<version>,以确保渲染可重现;这个固定版本永远不会自动更新,而且使用旧CLI的固定版本运行不会打印任何警告。当恢复一个其脚本携带固定版本的项目时,在第一个影响渲染的命令之前探测一次:

npx hyperframes@latest upgrade --project . --check

该探测是只读的,并报告固定版本与最新版本的对比;请保留显式的 .——在旧版CLI上,裸的 --project 后跟另一个标志会将该标志作为其目录值消耗。当它报告项目落后时——或者任何CLI输出已经显示(来自固定脚本的 --json 结果中的 stderr 通知 This project pins hyperframes@… (latest …),或 _meta.updateAvailable: true)——则应用 npx hyperframes@latest upgrade --project .,然后通过 npx hyperframes check 验证。成功的检查确认项目的合成在新版本上仍然有效——而不是渲染输出与旧固定版本逐帧相同——因此成功的升级不能沉默:在运行的摘要中命名旧版本和新版本。还没有合成的项目不需要验证。如果检查失败,恢复 package.json 的更改,继续使用固定版本,并报告项目停留在哪个版本及原因。基于信号采取行动,而不是将其转达给用户;永远不要留下未经验证的固定版本升级。

2. 路由全新创作

使用第一个匹配的行。匹配请求的交付物,而不是提到的单词或文件类型。

优先级请求工作流
1明确迁移现有的Remotion源/remotion-to-hyperframes
2创作演示文稿、推介或可导航的交互式演示/slideshow
3在不改变现有说话人头部素材的情况下添加纯字幕或字幕/embedded-captions
4在不改变素材的情况下向现有说话人头部、采访或播客素材添加设计的图形叠层/talking-head-recut
5从音乐轨道构建节拍同步视频,无旁白或网站捕获/music-to-video
6创建显式简短、无旁白、以动作为主的单元,通常不超过10秒/motion-graphics
7通过PR引用解释GitHub拉取请求或代码变更/pr-to-video
8通过URL或特定网站简报营销或展示网站、产品页面、应用或公司/product-launch-video
9使用虚构视觉效果且无产品或网站捕获来解释主题、文章或笔记/faceless-explainer
10任何其他自定义视频或合成/general-video

在最终确定路由之前,阅读 references/routes/<workflow>.md——每个路由一个小文件:规范的输入/输出/触发约定(在惰性安装的工作流技能可用之前)以及该路由的访谈入口。如果候选路由不满足其约定,则继续路由,而不是强制匹配。仅读取匹配路由的文件。

解决常见歧义

  • 一个简短的动画标题、标识转场、统计数据展示、图表展示、地图展示或独立的下三分之一,在没有旁白且动作为核心信息时,是 /motion-graphics。静态标题卡、有旁白的序列、较长的蒙太奇或自定义循环是 /general-video。
  • 一个显式简短的动作图形可以使用 URL、推文、文章或截图作为源材料。通用的“从该网站制作视频”请求是 /product-launch-video。
  • 带字幕的现有素材路由到 /embedded-captions;带设计信息卡的素材路由到 /talking-head-recut。重新调整时间、排序、着色、取景或混编素材是自定义编辑,归入 /general-video。
  • 音乐文件仅在节拍网格驱动作品时选择 /music-to-video。用作背景音乐时,不会覆盖主题匹配的路由。
  • “我想要一个故事板”会改变评审过程,而不是工作流。如果没有其他路由信号,使用 /general-video。一个经过确认的草图 storyboard.html 本身可能就是请求的交付物;评审循环定义了该停止点。
  • 专门的叙事工作流支持最长约3分钟,最佳长度为30-90秒。明显更长的作品路由到 /general-video。长度永远不覆盖明确的迁移、演示、字幕、叠层或音乐驱动的交付物。

3. 路由一次,然后离开

对于全新创作,意图层(references/intent-interview.md)执行完整对话——记忆、分类、推介轮、必备项、运行形态、交接——并以编写 BRIEF.md 结束。简报是工作流读取的唯一路由工件;后续任何操作都不会重新打开此技能或访谈。从 BRIEF.md 回答所有后续的“路由要求了什么?”问题。

4. 安装并进入工作流

在读取所选工作流之前,安装或刷新它以及核心领域技能:

npx hyperframes skills update <workflow-name>

使用不带 / 的裸名称。如果命令失败,显示错误;不要从内存中重建工作流。关于安装的其他内容——核心与惰性分离、init 刷新什么、诊断、CI 选择退出以及无CLI回退——位于 references/skill-lifecycle.md 中。

5. 按需加载领域技能

需求技能
合成结构、时间属性、轨道、变量、确定性/hyperframes-core
动作规则、场景蓝图、过渡、运行时适配器/hyperframes-animation
可跳转安全的GSAP、CSS、Anime.js、WAAPI、FLIP、路径、遮罩、SVG、3D关键帧或 hyperframes keyframes 诊断/hyperframes-keyframes
设计规范、概念、调色板、排版、旁白、节拍规划/hyperframes-creative
图像、图标、标志、音频、字幕、调色、LUT、可复用媒体/media-use
配音剪辑、音频效果链、自动化包络线,或跨多个轨道的单链/推子(子混音总线)/hyperframes-audio
初始化、lint、检查、快照、比较、批量渲染、Studio、渲染、发布或诊断/hyperframes-cli
注册表块和组件/hyperframes-registry
在手工构建之前,查找命名的外观、效果、处理或过渡——CRT扫描线、毛刺、胶片颗粒、闪烁扫描、五彩纸屑爆发/hyperframes-registry
Figma资源、令牌、组件或故事板帧作为重建动作/figma

创作者编辑短语是跨领域请求。加载匹配行中命名的每个技能:

| 创作者请求 | 所需领域

…

[其余内容被截断]

Individual skills in this repo

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

Alemoterani/auto-edit-hyperframes

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Alemoterani/auto-edit-hyperframes

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Alemoterani/auto-edit-hyperframes

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Alemoterani/auto-edit-hyperframes

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Alemoterani/auto-edit-hyperframes

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Alemoterani/auto-edit-hyperframes

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Alemoterani/auto-edit-hyperframes

Leaves sweep through the frame and part to reveal the headline. HyperFrames block, 1920×1080, 12s, 11 variables.

Alemoterani/auto-edit-hyperframes

A tiled headline surface flips cell by cell under a sweeping depth field to reveal the rear headline. HyperFrames block, 1920×1080, 8s, 18 variables.

Alemoterani/auto-edit-hyperframes

A chain of bevelled cuboids rides a travelling wave as a content carousel. HyperFrames block, 1920×1080, 6.666666666666667s, 40 variables.

Alemoterani/auto-edit-hyperframes

An orbiting camera follows an ice logo as it breaks apart, reforms into two text moments, and fades. HyperFrames block, 1920×1080, 22.5s, 216 variables.

Alemoterani/auto-edit-hyperframes

Glass shards fly in through fog and tile themselves into the headline. HyperFrames block, 1920×1080, 12.16s, 19 variables.

Alemoterani/auto-edit-hyperframes

A single feature card orbits a dot sphere on approved Blender camera motion. HyperFrames block, 1920×1080, 10s, 4 variables.

Alemoterani/auto-edit-hyperframes

A wireframe portal bursts open, the title comes through, then its letters swap into a second phrase. HyperFrames block, 1920×1080, 8s, 9 variables.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

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.

Alemoterani/auto-edit-hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

Alemoterani/auto-edit-hyperframes

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

Alemoterani/auto-edit-hyperframes

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.

相关技能