Communitygithub.com

assafkip/claude-video-editor

安裝並配置超幀(HyperFrames)創作中的註冊區塊與元件。在執行 `hyperframes add`、安裝區塊或元件、將已安裝項目接入 `index.html`,或操作 `hyperframes.json` 時使用。涵蓋 add 指令、安裝路徑、區塊子創作接線、元件片段合併與註冊探索。

claude-video-editor 是什麼?

此技能讓 AI 助手(如 Claude Code)能夠指導使用者完成 HyperFrames 註冊區塊與元件的完整生命週期管理。HyperFrames 是一個用於建立基於 HTML/CSS/JS 的時間軸型互動影片的框架,其註冊區分為兩種資產類型:**區塊**(獨立子創作,擁有自身的尺寸、時長與時間軸)與**元件**(無獨立尺寸的效果片段,直接嵌入宿主創作的 HTML)。技能涵蓋 `hyperframes add` 指令(區塊與元件安裝)、安裝路徑設定(透過 `hyperframes.json`)、區塊接線(需設置 `data-composition-src`、`data-composition-id`、`data-start`、`data-track-index` 等屬性),以及元件合併(將 HTML、CSS、JS 片段複製到宿主創作中)。它也支援探索功能,可讀取註冊清單以瀏覽可用項目,並以 JSON 格式輸出以便 DevOps 情境使用。該技能專為 HyperFrames CLI 設計,支援區塊與元件的安裝、接線與除錯,但本身不處理範例(需使用 `hyperframes init`)。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/assafkip/claude-video-editor/tree/HEAD/skills/hyperframes-registry

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

HyperFrames 註冊

註冊提供了可透過 hyperframes add <name> 安裝的可重複使用區塊與元件。

  • 區塊 — 獨立的子創作(擁有自己的尺寸、時長、時間軸)。透過宿主創作中的 data-composition-src 引入。
  • 元件 — 效果片段(無獨立尺寸)。直接貼入宿主創作的 HTML。

何時使用此技能

  • 使用者提及 hyperframes add、"block"、"component" 或 hyperframes.json
  • 工作階段中出現 hyperframes add 的輸出(檔案路徑、剪貼簿片段)
  • 你需要將已安裝的項目接入現有創作
  • 你想要探索註冊中有哪些可用項目

快速參考

hyperframes add data-chart              # 安裝區塊
hyperframes add grain-overlay           # 安裝元件
hyperframes add shimmer-sweep --dir .   # 指定專案目錄
hyperframes add data-chart --json       # 機器可讀輸出
hyperframes add data-chart --no-clipboard  # 跳過剪貼簿(CI/無頭模式)

安裝後,CLI 會輸出已寫入的檔案以及要貼入宿主創作的片段。該片段僅為起點 — 接線區塊時,你需要新增 data-composition-id(必須與區塊內部的創作 ID 一致)、data-start 與 data-track-index 屬性。

注意:hyperframes add 僅適用於區塊與元件。若需範例,請改用 hyperframes init <dir> --example <name>。

安裝路徑

區塊預設安裝至 compositions/<name>.html。 元件預設安裝至 compositions/components/<name>.html。

這些路徑可在 hyperframes.json 中設定:

{
  "registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
  "paths": {
    "blocks": "compositions",
    "components": "compositions/components",
    "assets": "assets"
  }
}

完整說明請參閱 install-locations.md。

接線區塊

區塊是獨立的創作 — 透過宿主 index.html 中的 data-composition-src 引入:

<div
  data-composition-id="data-chart"
  data-composition-src="compositions/data-chart.html"
  data-start="2"
  data-duration="15"
  data-track-index="1"
  data-width="1920"
  data-height="1080"
></div>

關鍵屬性:

  • data-composition-src — 區塊 HTML 檔案的路徑
  • data-composition-id — 必須與區塊內部的 ID 一致
  • data-start — 區塊在宿主時間軸中出現的時間(秒)
  • data-duration — 區塊持續播放的時間
  • data-width / data-height — 區塊畫布尺寸
  • data-track-index — 圖層排序(數字越大越靠前)

完整說明請參閱 wiring-blocks.md。

接線元件

元件是片段 — 將其 HTML 貼入創作的標記、CSS 貼入樣式區塊、JS 貼入指令碼(若有):

  1. 讀取已安裝的檔案(例如 compositions/components/grain-overlay.html)
  2. 將 HTML 元素複製到創作的 <div data-composition-id="..."> 中
  3. 將 <style> 區塊複製到創作的樣式中
  4. 將任何 <script> 內容複製到創作的指令碼中(放在時間軸程式碼之前)
  5. 若元件匯出 GSAP 時間軸整合(請參閱片段中的註解區塊),將這些呼叫加入你的時間軸

完整說明請參閱 wiring-components.md。

探索

瀏覽可用項目:

# 讀取註冊清單
curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json

每個項目的 registry-item.json 包含:名稱、類型、標題、描述、標籤、尺寸(僅區塊)、時長(僅區塊)與檔案清單。

關於依類型和標籤篩選的說明,請參閱 discovery.md。

Individual skills in this repo

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

assafkip/claude-video-editor

Build videos from stills when there is nothing to cut — narration first (ElevenLabs v3 with audio tags), then still keyframes from ANY source (AI image tools, screenshots, photos, HyperFrames-rendered HTML), animated deterministically with the animate-stills recipe (HyperFrames camera moves + GSAP atmosphere). Use when the user wants an explainer, documentary-style video, or any video built from generated or collected visuals instead of recorded footage.

assafkip/claude-video-editor

GSAP animation reference for HyperFrames. Covers gsap.to(), from(), fromTo(), easing, stagger, defaults, timelines (gsap.timeline(), position parameter, labels, nesting, playback), and performance (transforms, will-change, quickTo). Use when writing GSAP animations in HyperFrames compositions.

assafkip/claude-video-editor

HyperFrames CLI tool — hyperframes init, lint, preview, render, transcribe, tts, doctor, browser, info, upgrade, compositions, docs, benchmark. Use when scaffolding a project, linting or validating compositions, previewing in the studio, rendering to video, transcribing audio, generating TTS, or troubleshooting the HyperFrames environment.

assafkip/claude-video-editor

Create video compositions, animations, title cards, overlays, captions, voiceovers, audio-reactive visuals, and scene transitions in HyperFrames HTML. Use when asked to build any HTML-based video content, add captions or subtitles synced to audio, generate text-to-speech narration, create audio-reactive animation (beat sync, glow, pulse driven by music), add animated text highlighting (marker sweeps, hand-drawn circles, burst lines, scribble, sketchout), or add transitions between scenes (crossfades, wipes, reveals, shader transitions). Covers composition authoring, timing, media, and the full video production workflow. For CLI commands (init, lint, preview, render, transcribe, tts) see the hyperframes-cli skill.

assafkip/claude-video-editor

Beginner-friendly end-to-end video creator for HyperFrames. Use when the user says "make a video", "create a video", "new video", "build a video", "video from scratch", "I want to make a video", "help me create a video", or when someone who's never used HyperFrames before arrives with a concept, script, or rough idea and wants a finished MP4. Interviews the user in one pass, then builds the full video with mandatory preview and visual-verification gates.

assafkip/claude-video-editor

Build and iterate short-form vertical (9:16) videos in Hyperframes — TikTok/Reels/Shorts style. Use when Nate says "short-form video", "vertical video", "TikTok/Reels/Shorts", "make a short", "talking-head + motion graphics", or when the target is a 1080x1920 composition with face video + synced scene overlays + karaoke captions. Encodes the full May Shorts 19 playbook: face-mode choreography, audio-synced scene timing, karaoke captions, and the 10-rule quality checklist.

assafkip/claude-video-editor

Edit any video by conversation — the orchestrator for the bundled video pipeline. Use when the user wants to edit, cut, caption, grade, or add motion graphics to footage; drops a folder of clips and says "edit this"; or asks to make a promo/teaser/tutorial/short. Routes to video-use (the cut engine) and HyperFrames (motion-graphics overlays), with a motion-craft library for taste.

assafkip/claude-video-editor

Production pipeline for mathematical and technical animations using Manim Community Edition. Creates 3Blue1Brown-style explainer videos, algorithm visualizations, equation derivations, architecture diagrams, and data stories. Use when users request: animated explanations, math animations, concept visualizations, algorithm walkthroughs, technical explainers, 3Blue1Brown style videos, or any programmatic animation with geometric/mathematical content.

assafkip/claude-video-editor

Capture a website and create a HyperFrames video from it. Use when: (1) a user provides a URL and wants a video, (2) someone says "capture this site", "turn this into a video", "make a promo from my site", (3) the user wants a social ad, product tour, or any video based on an existing website, (4) the user shares a link and asks for any kind of video content. Even if the user just pastes a URL — this is the skill to use.

相關技能