Communitygithub.com

SJbuilds04/vybe-typography

VYBE 動態排版技能 — 字型系統、內建 OFL 字型配對、影片可讀性規則、動態文字技術、逐字/逐詞動畫、字幕設計與安全區域,適用於 HyperFrames 合成。

vybe-typography 是什麼?

這是一個專為 VYBE 影片專案設計的排版技能,提供完整的動態文字解決方案。它內建了六種符合 OFL 授權的高品質字型(Inter、Space Grotesk、Fraunces、JetBrains Mono、Anton、Orbitron),並提供推薦的字型配對組合。技能核心包含三大面向:影片可讀性規則(由 `hyperframes check` 自動審查)、動態文字技術(如模糊轉清晰、撞擊、遮罩升起等 11 種效果)、以及逐字同步字幕系統。所有規則均以影片為中心設計,例如最小閱讀尺寸為畫面短邊的 2.6%、每螢幕文字速度上限為 3.2 字/秒、以及安全區域規範。支援所有使用 HyperFrames 的 VYBE 專案,適合製作動態排版、歌詞影片、字幕設計與品牌影片。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SJbuilds04/VYBE/tree/HEAD/skills/vybe-typography

在你喜歡的 AI 中提問

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

說明文件

VYBE 排版

在動態圖像中,文字往往是主角。將其視為影片素材:它擁有 重量、比例、節奏和鏡頭。

內建字型(OFL 授權,位於 vybe/assets/fonts/,會複製到每個專案)

字型家族特色適用場景
Inter(可變字重 100–900)中性、精確蘋果簡約風格、企業、UI、字幕
Space Grotesk(300–700)科技感、獨特科學、實驗性、科技
Fraunces(可變襯線字型)溫暖、文學感、高對比電影感、紀錄片、社論
JetBrains Mono(100–800)程式碼、資料標籤、數字、終端機風格
Anton(400,窄體)大聲、海報風格動態文字、社群媒體鉤子
Orbitron(可變)科幻展示科幻風標題(僅限短詞)

每個命名字型都需要在使用的檔案中加上 @font-face { src: url("assets/fonts/<file>.woff2") }(HyperFrames 會檢查)。若使用客戶品牌字型:將檔案複製到 assets/fonts/ 並以相同方式宣告;請確保授權允許嵌入。

字型配對建議: Fraunces + Inter(電影感)· Inter + JetBrains Mono(產品/科技)· Space Grotesk + JetBrains Mono(科學)· Anton + Space Grotesk(社群/動態)· Orbitron(僅限標題)+ Space Grotesk(其餘內容)。

影片可讀性規則(由 hyperframes check 工藝審查強制執行)

  • 最小閱讀尺寸:畫面短邊的 2.6% → 2.7cqmin(1080p 下約 28px)。 內文 2.8–3.4cqmin;標題 6–12cqmin;醒目字詞 15–34cqmin。
  • 停留時間 ≈ 每詞 0.3 秒 + 0.5 秒;結尾行 ≥ 2 秒。
  • 一個場景中,每螢幕詞數 ≤ 3.2 詞/秒;每行 ≤ 約 10 個詞。
  • 對比度需符合 WCAG AA(內文 4.5:1,大字 3:1)。疊加在影像上時,需添加遮罩或陰影。
  • 內文禁止使用 <br>;改用 max-width(例如 78cqw)讓文字自動換行。 展示標題可刻意使用區塊級 <span> 每行斷行。
  • 字距:放大展示字型時收緊(−0.02 至 −0.05em),小寫標籤放寬(+0.2 至 +0.5em)。 絕對不要對 letter-spacing 做動畫(會跳動)——改用 x 來分散字形。
  • 安全區域:直式影片中,閱讀文字應避開頂部 12%、底部 22% 和右側 14%。

動態文字技術

技巧做法
模糊轉清晰文字以 inline-block span 呈現,fromTo {opacity:0,y:30,filter:blur(14px)},依序延遲 0.12–0.16
撞擊每拍一個詞,scale 2.4 → 1 搭配 back.out(1.6),背景色塊翻轉
遮罩升起行包裝容器 overflow:hidden,內部文字 yPercent 110 → 0
中心向外揭示clipPath: inset(0 50% 0 50%) → inset(0)
字形擴散逐字 x 偏移向中心收縮至 0
打字機效果clipPath 搭配 steps(n) 緩動,或逐字透明度設定
輪廓殘影複製文字,加上 -webkit-text-stroke、透明填色,偏移產生殘影
文字作為鏡頭將整組文字縮放/旋轉移出畫面,過渡至下一場景
詞語切換在固定方框中疊加兩個詞;yPercent 將舊詞移出、新詞移入
突顯效果行內區塊 .hl 搭配 back.out 縮放,或在其後使用標記條 scaleX 0→1
數字遞增tabular-nums + onUpdate 寫入 Math.round(v)

字幕(逐詞同步)

vybe audio 會注入 <script type="application/json" id="vybe-captions"> 提示 ({start, end, text, words:[{text,start,end}]}),且每個 VYBE 範本都包含 一個字幕建構器,會為每個提示建立一個元素,並在轉錄的 start 時間點亮每個詞。依品牌風格調整:

  • 置於安全區域內、低於下方圖形,絕不遮擋主體。
  • 每個提示 3–6 個詞,最多 2 行,字級 3–3.4cqmin,字重 600+,添加遮罩或陰影。
  • 突顯當前詞(透明度 0.45 → 1,或透過類別使用強調色)。
  • 社群風格:全大寫、粗體、每個提示有放大效果;電影風格:句子大小寫、柔和淡入淡出。
  • 絕不使用估計的逐詞時間軸;行級時間必須看起來是行級的。

Individual skills in this repo

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

SJbuilds04/vybe-audio-design

Sound design and music direction for VYBE / HyperFrames videos — choosing music by mood and arc, spotting sound effects to picture, voiceover direction and provider choice (HeyGen, ElevenLabs, Kokoro, Gemini), ducking, loudness targets, beat-synced editing and caption sync. Use when planning or fixing the audio of a video, when a video feels silent, cheap, cluttered or out of sync, or when choosing a voice or music provider.

SJbuilds04/vybe-cinematic-3d

Deterministic Three.js / WebGL for HyperFrames videos — 3D scenes, particle systems, procedural geometry, product turntables, scientific models (molecules, planets, black holes), lighting rigs, camera paths and camera cuts, rendered frame-exactly from HyperFrames time. Use when a VYBE storyboard calls for 3D, depth, particles, space, a rotating product, a data sculpture, or when a Three.js layer renders black, flickers or differs between renders.

SJbuilds04/vybe-image-to-motion

Animate a still image into video. Analyzes the image, plans the motion, and picks the right technique — programmatic 2.5D (camera moves, depth-map parallax, subject/background layer separation, particles, fog, light) or AI image-to-video (Runway Gen-4.5 / Veo 3.1 / Kling 3.0, Luma Ray 3.2, Gemini Omni Flash) for organic motion like walking, faces, water or hair — then composes the result in HyperFrames with music, SFX and text. Use when someone supplies an image and asks to animate it, bring it

SJbuilds04/vybe-motion-design

Motion design craft for VYBE / HyperFrames videos — animation principles, easing and timing, choreography and staggering, scene transitions, camera movement, and visual effects (blur, glow, masks, grain, light leaks), written as seek-safe GSAP recipes. Use when designing or fixing how things move in a video — entrances, exits, transitions between scenes, camera moves, rhythm, or when motion feels generic, floaty, stiff or repetitive.

相關技能