Communitygithub.com

govindgoel2001/video-editing-toolkit

安裝並將註冊表區塊和元件接入HyperFrames組合。當執行hyperframes add、安裝區塊或元件、將已安裝項目接入index.html或處理hyperframes.json時使用。涵蓋add指令、安裝位置、區塊子組合接入、元件程式碼片段合併以及註冊表探索。

video-editing-toolkit 是什麼?

這個技能專為使用 HyperFrames 框架進行影片編輯的開發者設計,提供註冊表管理功能,支援透過 `hyperframes add <name>` 指令安裝可重複使用的區塊(獨立子組合)和元件(效果程式碼片段)。它能自動處理安裝檔案的路徑配置、區塊的 `data-composition-src` 等屬性設定、元件的 HTML/CSS/JS 合併,以及透過 `registry.json` 探索可用的項目。此技能在開發者需要將外部素材無縫整合進主組合時特別有用,支援 CLI 輸出、剪貼簿操作,並可透過 `hyperframes.json` 自訂安裝路徑。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/govindgoel2001/video-editing-toolkit/tree/HEAD/vendor/hyperframes-skills/hyperframes-registry

在你喜歡的 AI 中提問

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

說明文件

HyperFrames 註冊表

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

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

何時使用此技能

  • 使用者提及 hyperframes add、「區塊」、「元件」或 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 6 individual skills — each has its own dedicated page.

govindgoel2001/video-editing-toolkit

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.

govindgoel2001/video-editing-toolkit

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

govindgoel2001/video-editing-toolkit

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.

govindgoel2001/video-editing-toolkit

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.

govindgoel2001/video-editing-toolkit

Edit any video by conversation. Transcribe, cut, color grade, generate overlay animations, burn subtitles — for talking heads, montages, tutorials, travel, interviews. No presets, no menus. Ask questions, confirm the plan, execute, iterate, persist. Production-correctness rules are hard; everything else is artistic freedom.

govindgoel2001/video-editing-toolkit

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.

相關技能