Communitygithub.com

AlessandroFare/fluxychat

安裝、探索並將註冊表區塊與元件組合到 HyperFrames 作品中。用於執行 hyperframes add 或 hyperframes catalog、安裝符合標籤的單一項目或所有區塊、將已安裝項目接入 index.html,或處理 hyperframes.json。涵蓋探索、安裝位置、區塊子作品接入、元件片段合併,以及編寫新區塊或元件以向上游貢獻(構想 → 框架 → 驗證 → PR)。

fluxychat 是什麼?

HyperFrames Registry 是一項開發者工具技能,專門用於管理可重複使用的區塊(Blocks)與元件(Components),並透過 CLI 指令 hyperframes add 進行安裝。區塊為獨立的子作品,需透過 data-composition-src 屬性接入主作品中,而元件則是效果片段,直接貼入主作品的 HTML 中。此技能支援依名稱或標籤安裝、機器可讀的 JSON 輸出、無剪貼簿模式(適合 CI/Headless 環境),並可透過 hyperframes.json 自訂安裝路徑。探索方面提供語意搜尋(支援 --on-device 離線模型排名)與目錄瀏覽功能,並可透過 catalog --json 輸出結構化結果。此外,技能還包含完整的貢獻流程,從構想、框架、建置、驗證到發送 PR,讓開發者能將自製區塊或元件回饋上游。支援平台為 HyperFrames 生態系,主要透過 CLI 操作,適合需要快速組合動畫作品或特效的開發者與 AI 代理。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlessandroFare/fluxychat/tree/HEAD/agent/skills/hyperframes-registry

在你喜歡的 AI 中提問

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

說明文件

HyperFrames 註冊表

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

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

快速參考

hyperframes add data-chart              # 安裝一個區塊
hyperframes add grain-overlay           # 安裝一個元件
hyperframes add captions                # 安裝所有標記為 captions 的區塊
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。

探索

將 CLI 作為主要探索介面。在瀏覽之前應先透過意圖搜尋: 註冊表中的項目遠多於肉眼可掃描的數量,因此列出所有項目並比對名稱或標籤是較慢的方式,且當作者用語與您的用語不同時會失敗。

# 將整個目錄與節拍應達成的效果進行排名
npx hyperframes catalog --query "reveal a headline one line at a time"
npx hyperframes add caption-clip-wipe

搜尋為本地執行,不會發送任何資料。預設情況下,它會根據與項目名稱、標題和描述共享的詞彙進行排名,因此只會找到重複您用語的項目;--on-device 則根據語義排名,但需一次性下載模型。搭配 --json 時,信封會標明是哪個層級回答的,因此請檢查該資訊,而不是假設排名已發生。

可安裝性是在排名之後應用的,而非之前:向量承載但此註冊表無法提供的名稱會從結果中移除,並計入 dropped 中,因此非零的 dropped 表示兩者屬於不同世代。請參閱 /hyperframes-cli 了解離線層級、同意門檻以及如何更新過期的索引。

若要瀏覽或篩選而非搜尋:

npx hyperframes catalog
npx hyperframes catalog --type block
npx hyperframes catalog --type component
npx hyperframes catalog --type block --tag social
npx hyperframes catalog --json
npx hyperframes catalog --human-friendly

一般表格模式和 --json 模式僅列出符合條件的項目;使用 hyperframes add <name> 安裝選定的名稱。--human-friendly 會開啟互動式選擇器並立即安裝選中的項目。在 CI 或代理工作流程中,建議使用 --json 後跟明確的 add。

若 CLI 無法連線到設定的註冊表,可透過以下方式檢查原始清單作為備用:

curl -s https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry/registry.json

每個項目的 registry-item.json 包含:名稱、類型、標題、描述、標籤、尺寸(僅區塊)、持續時間(僅區塊)以及檔案列表。

依類型和標籤進行篩選的詳細說明請參閱 discovery.md。

貢獻新的區塊或元件

若要編寫一個全新的註冊表項目(如字幕樣式、VFX 區塊、轉場、下三分之一或可重用元件)並將其作為上游 PR 提交 — 而非安裝現有項目 — 請遵循 contributing.md 中的完整構想 → 框架 → 建置 → 驗證 → 預覽 → 發布工作流程。入門範本(字幕 / VFX / 元件 / registry-item.json)可在 templates.md 中找到。

Individual skills in this repo

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

AlessandroFare/fluxychat

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.\n

AlessandroFare/fluxychat

Use when audio already placed in a HyperFrames composition needs to be mixed: a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), or automation envelopes drawn on a track's volume or any effect parameter. 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`.\n

AlessandroFare/fluxychat

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

AlessandroFare/fluxychat

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.\n

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlessandroFare/fluxychat

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

AlessandroFare/fluxychat

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

AlessandroFare/fluxychat

Use when a HyperFrames composition needs seek-safe 2D/3D keyframes, GSAP timelines, 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.

AlessandroFare/fluxychat

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]

AlessandroFare/fluxychat

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

AlessandroFare/fluxychat

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

AlessandroFare/fluxychat

Design and improve user interfaces using the concrete rules from Refactoring UI (Wathan & Schoger) — constrained spacing/type/color/shadow scales, visual hierarchy through weight and color rather than size, and depth through emulated light. Use when building or styling any UI (web, app, dashboard, landing page, component), when picking font sizes, spacing, colors, shadows or border radius, when designing a color palette or design tokens, and whenever someone says a UI "looks off", "looks amateur", "feels cluttered/plain/unfinished", or asks to "make this look better".

AlessandroFare/fluxychat

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

AlessandroFare/fluxychat

Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.

相關技能