Communitygithub.com

Alemoterani/auto-edit-hyperframes

创作或编辑自定义 HyperFrames 合成,适用于无专门工作流适应的情况,或当 BRIEF.md 设置 flow: companion 时。用于长篇或多场景作品、品牌宣传片、混剪、静态循环、静态标题卡、素材混剪及自由格式构建。短篇无旁白、以动效为先的单元(包括动画标题)请改用 motion-graphics。在使用此技能前,先通过 hyperframes 路由新创作。

auto-edit-hyperframes 是什么?

此技能是一个通用视频编辑和合成助手,适用于 HyperFrames 框架,作为无专门工作流时的默认选择,或当 BRIEF.md 明确指定 `flow: companion` 时使用。它支持多场景作品、品牌宣传片、混剪、静态循环、标题卡、素材混编等多种形式。技能会首先检查 `npx hyperframes usage` 以确保有足够的执行配额,并通过 `npx hyperframes skills update general-video` 确保自身版本最新。它通过跨切面源适配器(如 `/media-use` 处理媒体,`/figma` 处理 Figma URL)来集成外部资源,并根据项目状态(特定编辑、有 BRIEF.md、从文件恢复、新创建)决定起始路径。对于新项目,会使用 `npx hyperframes init` 脚手架创建,并将偏好记录到 `hyperframes.json`。在 `flow: companion` 模式下,技能充当“导演”而非“承包商”,提供天花板级别的治疗方案(包括故事弧、设计规范、动效方案等)供用户评估和裁剪,而非逐项审批。它会根据执行阶段强制加载必要的知识库(如 `/hyperframes-core`、`/hyperframes-creative`、`/hyperframes-animation`),确保决策基于最新规则。此技能适用于所有 HyperFrames 支持的平台(如终端驱动的 AI 编码工具),通过严格的文书和引用机制保证合成的一致性和可追溯性。

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

在你喜欢的 AI 中提问

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

文档

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

通用视频

在每次工作流开始时运行 npx hyperframes usage --json,除非刚读取过,然后在关键节点(如草稿后、渲染前)再次检查。查看可用的窗口和重置时间。如果使用量未知,请直接说明,不要猜测额度;与用户一起确定范围和流程选择。

在依赖此工作流之前,运行:

npx hyperframes skills update general-video

无操作成功意味着技能是最新的。如果更新失败,请显示错误,不要凭记忆继续。

1. 应用跨切面源适配器

  • 媒体: 对于任何音频、图片、图标、标志、配音、调色、LUT、处理/效果、字幕或媒体操作需求,加载 /media-use 并遵循 ../media-use/references/resolve.md(解析、采纳、复用)和 ../media-use/references/setup-providers.md(提供商、认证)。模糊的素材反馈和命名样式,在编辑前应使用 ../media-use/references/media-treatments.md;不要用 CSS/SVG/透明度来即兴实现支持的媒体效果。在首次认证提供商操作前,运行 npx hyperframes auth status 并逐字输出其结果。如果已退出登录,请应用 ../hyperframes/references/brief-contract.md 中的门控:协作模式等待登录或明确的离线选择;自主模式声明状态并通过可用的离线提供商继续。当没有离线提供商能满足所需能力时,显示阻塞。仅本地采纳不需要认证门控。
  • Figma: 如果任何输入是 figma.com 的 URL,请先运行 /figma。从其导出的资源、令牌、组件或分镜帧开始构建。不要使用原始的 Figma 连接器调用,因为它们会跳过 SVG 清理、媒体来源和品牌令牌绑定。

这些适配器不会改变由 /hyperframes 选择的工作流。

2. 从项目状态开始

应用第一个匹配的行;不要评估更靠后的状态行:

状态操作
特定编辑进行编辑,保留已有的项目决策,然后重新运行受影响的检查。不要重新开始发现阶段。
BRIEF.md 存在读取它。如果 workflow 命名了另一个工作流且 flow 不是 companion,则交接。不要询问简报问题。
无简报,但有 hyperframes.json 或 STORYBOARD.md 存在从文件和已记录的偏好恢复。仅从已知事实回填 BRIEF.md。
新创建运行 /hyperframes 及其意图层。仅当 workflow: general-video 或 flow: companion 时才返回此处。

对于新项目,从简报中选择一个短横线命名的目录名称,并在编写简报前搭建脚手架:

npx hyperframes init "videos/<project>" --non-interactive --example=blank --skill=general-video

然后使用 ../hyperframes/references/brief-format.md 在项目根目录编写 BRIEF.md。在已有项目中,根目录是包含 hyperframes.json 的目录。仅记录由简报格式命名的、已确认的、基于偏好的字段,使用 node <MEDIA_DIR>/scripts/prefs.mjs record --hyperframes <PROJECT_ROOT>;永远不要记录推断的默认值。这里 <MEDIA_DIR> 是已安装的 /media-use 技能目录,<PROJECT_ROOT> 是包含 hyperframes.json 的目录。如果意图层采用了某个配方,现在使用 node <MEDIA_DIR>/scripts/recipe.mjs use --hyperframes <PROJECT_ROOT> --name <name> 应用它,并且不要再次询问。

3. 解读运行形态

仅使用 ../hyperframes/references/brief-contract.md 中的规范术语:

字段含义效果
flow谁驱动automation:选择并执行路线。companion:在对话中共同创作。
storyboard计划、草图,并在构建前审阅yes:运行计划和草图审阅(storyboard.html)。no:跳过计划直接构建。
派生 mode检查点门控如何运作遵循简报合同。永远不要询问用户命名模式。

不要为这些状态发明同义词。持续的“直接构建”信号由意图层处理,并以 flow: automation,storyboard: no 的形式到达。

  • 对于 flow: automation,选择路线并在第一条进度更新中用一行说明。
  • 对于特定编辑,进行编辑,不要发明新路线。

对于硬切、修剪、拼接或重新排序现有素材,将相同的视频源复制到多个剪辑元素中。在每个副本上,使用 data-media-start 加上 data-duration 设置源范围,然后使用 data-start 设置创作位置/顺序。每个视频片段保留其声音:声音保留在剪辑上(data-has-audio="true"),因此剪切视频也会剪切其声音。/hyperframes-core 拥有此时间编辑的所有权;仅对视觉属性动画(如缩放、切入、平移、裁剪、遮罩或内部包装器上的 clip-path)使用 /hyperframes-keyframes。从 ../hyperframes-core/references/creator-editing-recipes.md 复制完整的契约。

协作流程

当 flow: companion 时:

  • 读取 BRIEF.md,并将已接受的 ## Assets 和 ## Customizations 与项目工件核对。完成已接受但仍未完成的工作;已完成的工作保持不变;不要将已接受的能力再次当作新的来提供。
  • 以导演而非承包商的角色到达。 选择协作模式的用户选择了参与和质量;诚实的回应是你能设计出的最佳版本,而不是你能辩护的最小版本。第一个计划是天花板治疗方案:故事弧(借用最近的类型视角——菜单 § 类型视角)、设计规范、每个场景按名称引用的动效处理(§ 5 的计划规范)、转场、音频特性——音乐和声音标记,或故意静音——用户素材的放置,以及设计好的开头和结尾。用一句话说明每一层增加了什么;在命名时标记耗时的部分(渲染时间、登录、计费)。用户会修剪治疗方案;他们不应该需要通过逐项批准来组装一个。
  • 天花板属于概念,而非工具箱。 每一层都必须服务于简报的信息——任何视频都能用的治疗方案是装饰。工艺应达至天花板;内容绝不超出要求(§ 6)。
  • 在检查点之间,../hyperframes/references/capability-menu.md 有两种作用。作为触发器列表:当用户提到其输入或构建达到其需求时,提供相关能力。作为每次升级通道:计划、草图或构建检查点可以携带一两个指向用户正在看的素材的针对性提供(“场景 3 的统计图需要计数处理”)。在提供之前读取它;永远不要转储整个目录。
  • 在用户接受某个能力后,立即生成其工件并将决定记录到匹配的 BRIEF.md 正文部分。仅当用户明确更改时,才重写 frontmatter 字段并记录已确认的偏好。
  • 保持相同的分镜、验证、最终预览和渲染批准门控。协作改变的是掌舵者,而非质量要求。

4. 在每个阶段前加载所需知识

当条件匹配时,这些读取是强制性的:

条件在操作前读取
任何合成 HTML 或场景布局/hyperframes-core;使用 references/determinism-rules.md 获取其布局契约
任何非平凡的创作或视觉处理/hyperframes-creative → references/house-style.md 和 references/video-composition.md
任何动效、动画或场景过渡/hyperframes-animation;遵循其路由到匹配的规则、适配器、蓝图或过渡参考
storyboard: yes../hyperframes/references/storyboard-format.md 和 ../hyperframes/references/review-loop.md
任何媒体资源或操作,包括旁白、背景音乐、音效、字幕、调色或变换/media-use(宿主应用自身的音乐和音效工具优先);对于框架播放和放置,还需读取 /hyperframes-core → references/variables-and-media.md
多场景组装../hyperframes/references/production-loop.md
flow: companion,在第一个计划前/hyperframes-creative → references/story-spine.md 和 references/house-style.md;最近的类型视角和完整的 ../hyperframes/references/capability-menu.md——天花板治疗方案是基于这些设计的,而非回忆
协作能力提供、捕获、节拍网格、生成式视频、地图、发布或跨工作流能力../hyperframes/references/capability-menu.md
设计规范存在,在最终批准前/hyperframes-creative → references/design-adherence.md

不要用回忆替代这些读取。渐进式揭示仅在匹配的参考实际加载时才节省上下文。

5. 执行合成

使用以下依赖顺序。仅当其输入缺失时才跳过某个阶段。

  1. 计划。 说明观众的叙事弧、结构、节奏和时长驱动因素。对于短单场景使用一个文件;对于三个或更多硬场景切或任何复用场景使用子合成。读取 /hyperframes-creative → references/story-spine.md(用于旁白弧)、references/beat-direction.md(用于节奏)和 /hyperframes-core → references/composition-patterns.md(用于结构)。对于开放式的多场景简报,通过 /hyperframes-creative → references/prompt-expansion.md 扩展提示。多场景计划引用每个场景的形态:来自 /hyperframes-animation → blueprints-index.md 的蓝图 ID(如果适合),或当没有适合时,引用它从 rules-index.md 组成的命名规则——动效名称来自这些索引,绝不发明。故事真相决定哪些场景存在;引用为它们提供呈现。在你自己计划构建任何命名外观之前,搜索实时目录:对于简报命名的每个外观、效果、处理或过渡——“CRT 扫描线”、“毛刺”、“胶片颗粒”、“闪光扫描”、“五彩纸屑爆发”——运行 npx hyperframes catalog --query "<外观,用简单的英文>" --json 并在计划命名该外观如何构建之前阅读顶级结果。该搜索无需安装任何东西:不需要项目,不需要事先的 add,不需要账户。它从任何目录对整个托管注册表(约 400 个模块和组件)进行排序,因此也适用于用户在构建过程中要求的外观。计划命名的模块在第 3 阶段安装;仅当搜索返回的内容都不适合时,才手动创作外观。多场景计划也记录为调度工件:STORYBOARD.md 中每个场景一个 ## Frame N 块——status: outline,声明的 src:,蓝图/规则引用,以…

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

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.

Alemoterani/auto-edit-hyperframes

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.

相关技能