Communitygithub.com

DanziDanutz/视频编辑器

当没有专门的工作流程适合时,创作或编辑自定义HyperFrames合成。适用于长片或多场景作品、品牌和宣传片、蒙太奇、静态循环、静态标题卡、素材混剪和自由构建。在首次使用此技能前,通过hyperframes路由新的创作。

视频编辑器 是什么?

该技能为AI代理(如Claude Code、Cursor、Codex)提供了一套完整的视频编辑和创作工作流。它专为HyperFrames平台设计,支持从单个场景到多场景合成、品牌宣传片、蒙太奇等多种视频类型。用户可以通过该技能进行视频创作、编辑、素材处理和视觉特效应用。关键功能包括:通过BRIEF.md和storyboard进行项目初始化和管理;通过`/media-use`集成媒体资产(音频、图片、图标、Logo等);通过`/hyperframes-core`处理时间线编辑和组合;通过`/hyperframes-animation`管理动画和过渡;以及通过`/hyperframes-creative`应用创意风格和设计规范。技能支持`automation`(自动完成)和`companion`(协作共创)两种流程模式,在companion模式下,代理会主动提出高水平的创意方案,而不仅仅是执行指令。技能还集成了Figma设计导入、来源适配器和检查点机制,确保创意质量。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/DansiDanutz/Video-Editor/tree/HEAD/.claude/skills/general-video

在你喜欢的 AI 中提问

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

文档

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

通用视频

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

npx hyperframes skills update general-video

成功返回无操作(no-op)表示技能已是最新。如果更新失败,请报告失败信息,而不要从记忆中继续。

1. 应用跨领域源适配器

  • 媒体: 对于任何音频、图片、图标、Logo、配音、调色、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网址,请先运行/figma。基于其导出的资源、令牌、组件或故事板帧进行构建。不要使用原始的Figma连接器调用,因为它们会跳过SVG清理、媒体溯源和品牌令牌绑定。

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

2. 从项目状态开始

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

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

对于新项目,从brief中选择一个kebab-case格式的目录名,并在编写brief之前搭建脚手架:

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

然后使用../hyperframes/references/brief-format.md在项目根目录编写BRIEF.md。在现有项目中,根目录是包含hyperframes.json的目录。仅记录由brief格式命名的、经确认的偏好支持的字段,使用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检查点门控如何运作遵循brief合同。永远不要让用户指定模式名称。

不要为这些状态发明同义词。正在进行的“只管构建”信号由意图层处理,并以flow: automation、storyboard: no的形式到达。

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

对于现有素材的硬切、修剪、拼接或重新排序,将同一视频源复制到多个剪辑元素中。在每个副本上,使用data-media-start加上data-duration设置源范围,然后使用data-start设置创作的放置/顺序。单独创作的音频遵循匹配的<audio>元素上的相同剪辑范围和时序。/hyperframes-core拥有此时间编辑权;仅在需要对内部包装器进行视觉属性动画(如缩放、推拉、平移、裁剪、遮罩或clip-path)时使用/hyperframes-keyframes。 从../hyperframes-core/references/creator-editing-recipes.md复制完整的合同。

协作流程

当flow: companion时:

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

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了解结构。对于开放式的多场景brief,通过/hyperframes-creative → references/prompt-expansion.md扩展提示。多场景计划引用每个场景的形态:一个来自/hyperframes-animation → blueprints-index.md的蓝图ID(如果合适),或者它组合的命名规则(来自rules-index.md,如果没有合适的)——动作名称来自这些索引,不是发明的。故事的真实性决定哪些场景存在;引用装饰它们。在你自己动手构建任何命名的外观之前,搜索实时目录:对于brief命名的每个外观、效果、处理或过渡——如“CRT扫描线”、“毛刺”、“胶片颗粒”、“闪光扫描”、“五彩纸屑爆发”——运行npx hyperframes catalog --query "<外观的通俗英文描述>" --json并在计划命名该外观如何构建之前阅读前几个结果。搜索不需要安装任何东西:无需项目、无需之前的add、无需账户。它会从任何目录对整个托管注册表(约400个块和组件)进行排名,因此它也适用于用户在构建过程中要求的某个外观。计划中命名的块在第3阶段安装;只有在搜索后没有任何合适的结果时,才手动创作一个外观。多场景计划也记录为调度工件:STORYBOARD.md中每个场景的一个## Frame N块——包含status: outline、声明的src:、蓝图/规则引用和节拍文本——即使当storyboard: no时也是如此。该块是调度单元;故事板表仅仅是审查表面。
  2. 应要求审查计划。 对于storyboard: yes,在这些块上运行共享审查循环。对于storyboard: no,继续而不进行计划暂停或草图绘制。当

Individual skills in this repo

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

Use when building or editing a HyperFrames project that people open in Studio: 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`.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

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.

DansiDanutz/Video-Editor

Divide a finished story/script into filmable scenes with per-scene image and animation prompts. Use when building a scene outline or shot list, deciding scene boundaries, durations, or what each visual must show.

DansiDanutz/Video-Editor

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

相关技能