Communitygithub.com

Aseel1600/Edit01

将一个通用网站/URL 转变为 HyperFrames 视频(网站导览、展示或基于网站视觉的社交剪辑)。使用 headless Chrome 截图和品牌素材。适用于通用意图——展示作品集、博客、落地页或网站的社交片段。不适用于:产品/SaaS 发布或推广(应使用 /product-launch-video);无网站的主题讲解(应使用 /faceless-explainer);GitHub PR(应使用 /pr-to-video);为现有视频添加字幕(应使用 /embedded-captions);短时无旁白的页面高亮动态图形(应使用 /motion-graphics)。如果不确定是发布视频还是通用网站视频?问一个问题或从 /hyperframes 开始。

Edit01 是什么?

此技能旨在将一个通用网站 URL 转换为专业外观的 HyperFrames 视频,适用于网站导览、作品集展示或社交媒体剪辑。它使用无头 Chrome 截图捕获网站,提取品牌标识(字体、颜色、风格),并引导用户通过一个7步骤的协作或自主工作流程来创建视频。工作流程包括撰写设计文档(DESIGN.md)、定义视频的策略和叙事、制作故事板和脚本、生成配音(支持 TTS 和本地引擎)、构建 HTML/CSS 画面组合,最后进行验证和交付。该技能能在用户偏好决策(如配音提供者、音乐、字幕)上提供自主模式,但严格保留质量控制步骤,如素材审核和每拍验证。它仅适用于通用网站视频,不适用于产品营销、PR 演示或字幕添加等特定场景。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Aseel1600/Edit01/tree/HEAD/.agents/skills/website-to-video

在你喜欢的 AI 中提问

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

文档

媒体使用:在获取音频/图片之前,请调用 /media-use 以从 HeyGen 目录中获取 BGM/SFX/图片。先运行 --adopt 注册现有素材。参见 /media-use 技能。

网站到 HyperFrames

捕获一个网站,然后从中制作专业视频。

在第 0 步前确认路径。 此技能制作从/来自通用网站的视频。如果用户实际是在营销/发布/推广产品(即使来自此 URL,即使是“我们网站的推广视频”)→ 使用 /product-launch-video。无网站的主题讲解 → 使用 /faceless-explainer;GitHub PR → 使用 /pr-to-video;重新剪辑/重新调色/重新排序现有视频文件 → 超出范围。如果被路由到这里时用户请求模糊,如“制作一个视频”,或者不确定是发布视频还是通用网站视频?先阅读 /hyperframes(完整路由表 + § HyperFrames 无法做到的事情)。

用户可能会说:

  • “把这个网站变成一个 15 秒的 Instagram 社交片段”
  • “从 https://... 制作一个 30 秒的网站导览/展示视频”
  • “捕获我们的主页,并用它自己的视觉元素制作一个视频”

工作流程包含 7 个步骤。每个步骤都会产生一个用于进入下一步的产物。默认情况下是协作式的——标有 💬 的门会停下来询问用户。如果用户指示自主模式(“替我做决定”、“给我惊喜”),用户偏好的 💬 门将被跳过;参见 step-2-brief.md 了解如何传播此设置。

自主模式并不意味着“跳过所有门”。 自动模式涵盖用户偏好问题(TTS 提供商、语音、颜色强调、节拍数、音乐是/否、字幕是/否——在这些问题上,代理会代表用户做决定)。它不涵盖质量验证门。以下门在自动模式下仍不可跳过:

  • 素材审计(第 3 步)——查看联系表并证明每个素材使用/跳过的理由
  • 每拍 HTML 阅读(第 5 步)——每拍的结构化证据块
  • 完工定义(DoD)清单(第 6 步)——包括动画映射、每警告的 WCAG 验证、音频/动作回放
  • 诚实披露部分(第 6 步)——“我没有验证的内容”必须出现在你的最终摘要中

如果你发现自己这样推理:“自动模式说偏向于行动,所以我会跳过 X”——而 X 是一个验证门,而不是一个偏好问题——这个推理是错误的。偏向于行动适用于决定要构建什么,而不是决定是否要验证。


第 0 步:捕获并理解品牌

阅读: references/step-0-capture.md

捕获网站,然后阅读提取的数据以理解品牌和产品——它是做什么的,目标用户是谁,说话的语气如何,处于怎样的情感基调。捕获的素材是供以后使用的品牌工具包,而不是视频的构建块。

在简报前显示登录状态——运行 npx hyperframes auth status 并逐字输出其结果(不要转述或重写它)。 它会报告配音/BGM 将使用 HeyGen 还是本地引擎,以及当未登录时,如何登录。如果未登录,请停止并等待用户选择——登录,或者说“继续”/“离线”以使用本地引擎继续——然后再询问简报或其他任何事情。 将其视为一个真实的决策点,而不是一个附注;不要将此选择合并到简报问题中,也不要将密钥写入每个仓库的 .env。(在自主模式下,记录状态并离线继续。)参见 ../hyperframes-media → Preflight 以获取规范指南。

门控项: 打印了以策略为先的网站摘要(产品是什么、为谁服务、品牌声音)之后才是素材/颜色/字体清单;显示了登录状态(已登录,或正在离线继续)。


第 1 步:品牌标识

阅读: references/step-1-design.md

编写 DESIGN.md——一份涵盖视觉标识的品牌备忘单:颜色、字体、组件样式、布局原则。使用 design-styles.json 获取精确的计算值。

速度选项: 对于快节奏视频(广告牌式每拍),DESIGN.md 可以是一个 50 行的颜色 + 字体 + 注意事项摘要——而不是 300 行的文档。第 5 步中的子代理提示会直接粘贴品牌值,因此 DESIGN.md 的深度仅对复杂构图重要。

门控项: DESIGN.md 存在(任何长度),至少包含:调色板、字体选择以及注意事项。


第 2 步:策略与信息传递

阅读: references/step-2-brief.md, references/capabilities.md(扫描目录——仅在需要时深入阅读章节)

在讨论视觉或素材之前,与用户就视频必须传达什么内容达成一致。解析用户的提示——他们可能已经给出了视频类型和风格。只问缺失的内容:视频必须传达的唯一一个信息、叙事弧、以及受众。

门控项: 视频类型、时长、格式,以及——关键地——信息和叙事弧已锁定。没有这些,第 3 步无法编写概念优先的故事板。


第 3 步:故事板 + 脚本 💬

阅读: references/step-3-storyboard.md

以概念优先的方式编写故事板:信息 → 叙事弧 → 服务于弧线的节拍 → 每拍的技术 → 最后进行品牌点缀。然后编写匹配的旁白脚本。向用户展示两者,并附带逐拍摘要。反复迭代直到他们批准。

门控项: STORYBOARD.md + SCRIPT.md 存在并且用户已批准计划。


第 4 步:配音、时间安排 + 字幕 💬

阅读: references/step-4-vo.md

如果第 2 步指定不要旁白——询问背景音乐,然后跳到第 5 步。否则:询问用户要使用哪个 TTS 提供商(HeyGen TTS、ElevenLabs 或 Kokoro),生成音频,转录,将时间戳映射到节拍。然后询问是否要字幕。

门控项: (a) 没有请求旁白并且故事板有手动节拍时间,或者 (b) narration.wav + transcript.json 存在且节拍时间已用实际持续时间更新。


第 5 步:构建画面

阅读: hyperframes 技能(完整加载——每条规则都很重要) 阅读: references/step-5-build.md

按照故事板(第 3 步)选择的架构和节奏,构建 index.html 和画面。子代理在返回结果前,会对每个节拍运行 hyperframes lint 和 hyperframes snapshot。

门控项: 主控代理已根据 DESIGN.md 和 STORYBOARD.md 从头到尾阅读了每个 compositions/beat-N.html。逐拍检查清单位于 step-5-build.md。


第 6 步:验证与交付

阅读: references/step-6-validate.md

运行 lint、验证、拍摄按视频长度缩放数量的截图(公式:max(beats × 3, ceil(duration_seconds / 2))),并审查每一张截图。在交付前修复问题。交付 localhost Studio 项目 URL——仅在用户明确要求时才渲染为 MP4。仅在交接时提供该 Studio URL——它是最终、稳定的预览;构建阶段的截图是无头的,所以不要在构建过程中弹出预览。

交付一个你引以为豪的作品。 在交接前,问自己:我会把这个发到社交媒体上并署上自己的名字吗?如果不会,就修复问题。

门控项: npx hyperframes lint 和 npx hyperframes validate 通过,零错误,并且最终响应中包含活跃的 Studio 项目 URL。


快速参考

视频类型

按视频类型划分的典型约束——用作起点,而非公式。节拍数量应来自内容和旁白,而不是来自目标范围。

类型典型时长时长驱动因素旁白
社交广告 (IG/TikTok)10–15s平台限制可选
产品演示30–60s脚本长度完整旁白
功能公告15–30s功能复杂度完整旁白
品牌混剪20–45s音乐曲目可选,注重音乐
发布预告10–20s引子能量最少

节拍数故意不在此表中——它应来自故事板,而不是来自“社交广告 = 3-4 拍”。复杂产品的社交广告可能需要 5 个节奏良好的节拍。一个只有一个强视觉主题的品牌混剪可能只需 3 拍。

格式

  • 横屏:1920x1080(默认)
  • 竖屏:1080x1920(Instagram Stories、TikTok)
  • 方形:1080x1080(Instagram 信息流)

参考文件

文件何时阅读
step-0-capture.md第 0 步——捕获、理解品牌和产品,编写策略优先的网站摘要
step-1-design.md第 1 步——编写 DESIGN.md 品牌备忘单(5 个部分,250-350 行;对于广告牌风格的社交广告,有 50 行快速通道)
step-2-brief.md第 2 步——与用户就信息、叙事弧、受众达成一致
capabilities.md第 2 步和第 5 步——HyperFrames 能做什么的完整清单(24 个章节)。在简报期间扫描目录,在构建期间深入特定章节
step-3-storyboard.md第 3 步——故事板 + 脚本(合并的),带有用户审查门
step-4-vo.md第 4 步——TTS 提供商选择、生成、时间安排
step-5-build.md第 5 步——构建 index.html + 画面
step-6-validate.md第 6 步——lint、验证、截图(按视频长度缩放)、预览
techniques.md第 3 步和第 5 步——13 种基本动画技术及代码模式(适应,不要复制粘贴)
html-in-canvas-patterns.md第 5 步——用于 HTML-in-Canvas 效果的完整代码模式(位于 hyperframes 技能中)

Individual skills in this repo

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

Aseel1600/Edit01

Generate AI videos from text prompts using multiple provider gateways. Use when: (1) Generating videos from text descriptions, (2) Creating AI-generated video clips for content production, (3) Image-to-video generation with a reference image, (4) Choosing between video generation providers (VEO, Kling, Sora, Runway, Seedance, MiniMax, Gemini Omni). Supports gateways: HeyGen API, fal.ai API, Kling official direct API, and the Gemini API (Gemini Omni Flash).

Aseel1600/Edit01

Create AI avatar videos with precise control over avatars, voices, scripts, scenes, and backgrounds using HeyGen's v2 API. Use when: (1) Choosing a specific avatar and voice for a video, (2) Writing exact scripts for an avatar to speak, (3) Building multi-scene videos with different backgrounds per scene, (4) Creating transparent WebM videos for compositing, (5) Using talking photos as video presenters, (6) Integrating HeyGen avatars with Remotion, (7) Batch video generation with exact specs, (8) Brand-consistent production videos with precise control.

Aseel1600/Edit01

Use p5.js/canvas for local procedural character effects: particles, weather, squash/stretch, walk cycles, and environmental motion.

Aseel1600/Edit01

Review local character animation with schema checks, Playwright browser previews, frame sampling, and FFmpeg/ffprobe final output checks.

Aseel1600/Edit01

Create videos from a text prompt using HeyGen's Video Agent. Use when: (1) Creating a video from a description or idea, (2) Generating explainer, demo, or marketing videos from a prompt, (3) Making a video without specifying exact avatars, voices, or scenes, (4) Quick video prototyping or drafts, (5) One-shot prompt-to-video generation, (6) User says "make me a video" or "create a video about X".

Aseel1600/Edit01

Generate Mandarin and multilingual narration with Volcengine Doubao Speech 2.0. Use when creating Chinese voiceovers, when the user prefers Doubao/Volcengine/火山引擎/豆包 TTS, or when narration needs character-level timestamp metadata for subtitles.

Aseel1600/Edit01

Video and audio processing with FFmpeg. Use for format conversion, resizing, compression, audio extraction, and preparing assets for Remotion. Triggers include converting GIF to MP4, resizing video, extracting audio, compressing files, or any media transformation task.

Aseel1600/Edit01

Generate expressive, multilingual narration with fish.audio (S1 / S2-generation models) and reuse cloned voices via reference_id. Use when the user prefers fish.audio/Fish Audio TTS, wants a specific playground voice model, or needs high-emotion voice-clone narration.

Aseel1600/Edit01

Use when implementing Disney's 12 animation principles with Framer Motion in React applications

Aseel1600/Edit01

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). HyperFrames-native: single paused timeline, seek-safe, deterministic.

Aseel1600/Edit01

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

Aseel1600/Edit01

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.

Aseel1600/Edit01

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

Aseel1600/Edit01

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.

Aseel1600/Edit01

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

Aseel1600/Edit01

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 (website-to-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.

Aseel1600/Edit01

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.

Aseel1600/Edit01

Best practices for Remotion - Video creation in React

Aseel1600/Edit01

Toolkit-specific Remotion patterns — custom transitions, shared components, and project conventions. For core Remotion framework knowledge (hooks, animations, rendering, etc.), see the `remotion-official` skill.

Aseel1600/Edit01

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.

相关技能