Communitygithub.com

Alemoterani/auto-edit-hyperframes

在沒有專門工作流程適用時,創作或編輯自訂的 HyperFrames 合成。用於較長或多場景的影片、品牌與精華短片、蒙太奇、靜態循環、靜態標題卡、素材混剪以及自由形式建構。短暫、無旁白且以動畫為主的單元(包含動畫標題)請改用 motion-graphics。在開始新的創作時,請先透過 hyperframes 進行路由,再使用此技能。

auto-edit-hyperframes 是什麼?

此技能是 HyperFrames 生態系統中的一個通用影片創作與編輯工作流程,旨在處理缺乏專門工作流程的情況。它能夠處理多種影片專案,包含較長的多場景作品、品牌與精華短片、蒙太奇、靜態循環、標題卡、素材混剪以及自由形式的建構。在開始新專案時,它會首先讀取專案的 BRIEF.md 檔案或現有狀態來決定正確的工作流程,並透過 HyperFrames 的意圖層進行路由。此技能嚴格依賴外部參考文件來執行各種任務,例如媒體處理(透過 /media-use)、設計理念(透過 /hyperframes-creative)、動畫(透過 /hyperframes-animation)和核心佈局規則(透過 /hyperframes-core),確保所有行為遵循確定的規則,而非依賴記憶。它支援兩種工作模式:自動化模式(automation)會獨立選擇並執行路徑;而協作模式(companion)則讓使用者深度參與設計與決策,以達到最高的成品品質。關鍵步驟包括套用跨領域的適配器(如媒體、Figma),根據專案狀態啟動,取得並載入必要的知識,以及依照嚴格的依賴順序執行,包含計畫、分鏡、建立、預覽和渲染。協作模式會先提供一個「天花板級」的處理方案,涵蓋故事弧線、設計規格、場景動作、轉場和音訊設計,讓使用者能夠修剪理想方案,而非逐步批准。

相容平台~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 時才返回此處。

對於新專案,請根據簡報選擇一個 kebab-case 格式的目錄名稱,然後在編寫簡報前建立腳手架:

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 擁有此時間編輯;/hyperframes-keyframes 僅用於視覺屬性動畫,例如內層包裝器上的縮放、推進、平移、裁切、遮罩或 clip-path。從 ../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 scanlines"、"glitch"、"film grain"、"shimmer sweep"、"confetti burst" — 執行 npx hyperframes catalog --query "<the look, in plain English>" --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.

相關技能