Communitygithub.com

christiansalazar-wk/ai-lore

HyperFrames 註冊中心 — 管理並安裝來自 HyperFrames 元件註冊中心的可重複使用目錄區塊、元件與範本。

ai-lore 是什麼?

HyperFrames Registry 是一個用於 HyperFrames 元件註冊中心的 CLI 工具,開發者可以透過 `npx hyperframes registry` 命令搜尋、新增、列出、移除及更新目錄區塊。它支援多種區塊類別,包含 lower-thirds、title-cards、transitions、overlays、data-viz、captions、backgrounds、cta 及 social 等,滿足影片製作與直播場景中的各類視覺元件需求。透過 `npx hyperframes registry add` 可將區塊下載到專案中,再以 HTML 的 `<hf-block>` 元素與 `data-hf-*` 屬性進行組裝與時間控制。該工具也支援自訂區塊結構,開發者可建立包含 `block.html`、`block.json` 及 `preview.png` 的區塊目錄,並透過 `publish` 命令發佈至註冊中心。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/christiansalazar-wk/ai-lore/tree/HEAD/skills/hyperframes-registry

在你喜歡的 AI 中提問

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

說明文件

HyperFrames Registry

npx hyperframes registry search <查詢>
npx hyperframes registry add <區塊名稱>
npx hyperframes registry list
npx hyperframes registry remove <區塊名稱>
npx hyperframes registry update

區塊類別

類別範例
lower-thirds名牌、發言者標識
title-cards主標題、章節卡片
transitions自訂場景轉場
overlays進度條、計時器、標誌
data-viz動畫圖表、計數器
captions樣式化字幕渲染器
backgrounds動態漸層、粒子場
cta行動呼籲卡片、QR 碼
social平台安全區域框架

使用方式

npx hyperframes registry add lower-thirds/minimal
<link rel="hf-block" href="./blocks/lower-thirds/minimal/block.html" as="lower-third-minimal" />

<hf-block name="lower-third-minimal"
          data-hf-clip data-hf-start="3s" data-hf-duration="4s"
          data-name="王小明" data-title="產品總監"
          style="position:absolute;bottom:80px;left:80px;">
</hf-block>

熱門區塊

  • lower-thirds/minimal — 姓名 + 職稱名牌
  • lower-thirds/social — 姓名 + 社群帳號 + 平台圖示
  • title-cards/hero — 全畫面標題卡片
  • overlays/progress-bar — 播放進度條
  • data-viz/counter — 動畫數字計數器(data-from、data-to、data-suffix)
  • backgrounds/gradient-mesh — 動畫漸層網格
  • cta/link-card — 附圖示的動畫 URL 卡片
  • social/youtube-safe-zone — 安全區域 QA 覆蓋圖層

自訂區塊結構

my-block/
  block.html
  block.json   # { "name", "version", "props": { "data-x": { "type", "default" } } }
  preview.png
npx hyperframes registry publish ./my-block

Individual skills in this repo

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

相關技能