Communitygithub.com

1999AZZAR/designer-mcp

使用 Hyperframes (v0.8.77) 與 Brag 的專業程式化影片與動態圖像引擎。透過可搜尋時間軸、無頭 Chromium 畫面擷取及 FFmpeg 編譯,從 HTML/CSS/JS 組合渲染影片。適用於產品發表、SaaS 促銷、技術解說、公關展示影片、動態 UI 動畫、節奏同步音樂影片、投影片簡報、Remotion 移植、字幕以及將組合編譯為 MP4。

designer-mcp 是什麼?

此技能作為一個全面的程式化影片與動態圖像引擎,利用 Hyperframes v0.8.77 與 Brag 框架。它讓開發者能將 HTML/CSS/JS 組合渲染為 MP4 影片,核心概念是將 HTML 文件作為時間軸組合,透過 `data-*` 屬性宣告時序。支援多種作業模式,包括產品發表(/brag)、技術解說、動態圖像、音樂影片與簡報。其流程以狀態驅動:系統會先偵測專案處於何種階段(初始化、檢查、預覽、編輯),再導向對應的 CLI 指令或工作流程。路由矩陣會將初次創作請求依類型(如 Remotion 移植、簡報、字幕)分配至 11 個預先定義的工作流程之一,確保正確的流程執行。此技能可在任何支援 CLI 工具執行的環境(如 Cursor、Codex、Claude Code)中使用,並整合了版本管理、資產擷取、時間軸檢查、節拍分析與最終渲染的驗證閘門。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/1999AZZAR/designer-mcp/tree/HEAD/skills/video

在你喜歡的 AI 中提問

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

說明文件

影片引擎 (Hyperframes v0.8.77 & Brag)

HyperFrames 從 HTML 渲染影片 — 一個組合就是一個 HTML 文件,其 DOM 使用 data-* 屬性 (data-start, data-duration) 宣告時序,其動畫執行時間是可搜尋的,且媒體播放由框架擁有。


1. 專案狀態偵測

在採取行動之前,請按順序評估專案狀態:

狀態動作
將 Remotion 移植到 HyperFrames直接閱讀並執行 workflows/remotion-to-hyperframes/SKILL.md。跳過意圖層。
檢查、診斷、預覽或渲染執行相應的 CLI 指令 (npx hyperframes check, preview, render)。不要重新執行攝入。
編輯現有專案執行 npx hyperframes timeline [--json] 來檢查軌道、片段與時序;執行有針對性的編輯。
存在 BRIEF.md從簡報中讀取 workflow 與 flow;立即執行該工作流程。
存在 hyperframes.json 或 STORYBOARD.md從現有專案檔案和記錄的偏好設定恢復。
全新的創作請求執行意圖攝入並使用下方的路由矩陣進行路由。

CLI 版本管理

在恢復一個在 package.json 中鎖定了依賴項的現有專案時:

npx hyperframes@latest upgrade --project . --check

如果存在可用的更新並已驗證,則使用 npx hyperframes@latest upgrade --project . 應用更新,並執行 npx hyperframes check。


2. 意圖路由矩陣

將全新的創作請求路由到第一個匹配的工作流程:

優先級請求類型目標工作流程
1明確的 Remotion 程式碼移植workflows/remotion-to-hyperframes
2簡報、投影片簡報或互動式投影片workflows/slideshow
3純文字時間同步的字幕或影片腳本workflows/embedded-captions
4頭部特寫、訪談或播客上的圖像疊加workflows/talking-head-recut
5由音樂軌驅動的節拍同步動態(無語音)workflows/music-to-video
6短時、動畫優先的動態視覺 (<10 秒)workflows/motion-graphics
7GitHub Pull Request 或程式碼變更解說workflows/pr-to-video
8產品發表、網站展示、SaaS 促銷、/bragworkflows/product-launch-video(或模式 1)
9概念性主題或文件解說workflows/faceless-explainer
10任何其他自訂影片或多軌組合workflows/general-video

3. 操作模式

模式 1:產品發表與展示 (/brag & product-launch-video)

用於網站發表、產品展示、SaaS 促銷及 /brag。

  1. 攝入與檢查:
    • 解析選項:--tone(預設、精緻、YC 惡搞、混亂、電影、面無表情、App Store,定義於 references/brag/tones.md),--format(16:9, 9:16, 1:1),--duration(15–25 秒)。
    • 如果提供了 URL,則擷取即時網站資產:
      npx hyperframes capture "<URL>" -o ./capture --json
      
  2. 設計系統與預設:
    • 從 references/creative/frame-presets/ 挑選設計預設(capsule、cobalt-grid、daisy-days 等)並混搭品牌標記:
      node workflows/product-launch-video/scripts/build-frame.mjs --preset <preset-name> --hyperframes .
      
  3. 分鏡腳本與音頻混音:
    • 撰寫 STORYBOARD.md 與 SCRIPT.md。
    • 音頻:從 assets/music/ 選擇背景音樂,或使用 /media-use 解析曲目和 TTS 配音(references/audio/)。
    • 運行節拍提示分析:python3 scripts/analyze_music_cues.py --audio <path> --output audio_cues.json。
  4. 驗證與輸出:
    • 驗證佈局與時序:npx hyperframes check。
    • 編譯最終影片:npx hyperframes render --output brag.mp4。
    • 將海報框 0 儲存為 brag.jpg,並將發佈文案複製到 share-copy.txt。

模式 2:敘事與技術解說 (faceless-explainer, pr-to-video)

用於將程式碼差異、工程文件或複雜主題轉化為清晰的影片敘事。

  1. 故事主幹:遵循 references/creative/references/story-spine.md(鉤子、問題陳述、架構/解決方案、影響)。
  2. 鏡頭形狀:從 references/animation/blueprints-index.md 選擇藍圖(程式碼編輯器、分割比較、統計數據標註、流程圖)。
  3. 框架工作單元包:使用 workflows/faceless-explainer/scripts/frame-packets.mjs 生成有界子代理單元包。每個框架都是獨立建構的(compositions/frames/NN-*.html)。
  4. 組裝與音頻:將框架連結到根 index.html,使用閃避包絡線混合配音軌道,然後渲染。

模式 3:動態動畫與執行環境 (motion-graphics, music-to-video)

用於獨立動態圖像、動畫 UI 組件、節奏格點和循環動畫。

  1. 執行時間配接器 (references/animation/adapters/):
    • GSAP:精確的多屬性補間和可搜尋安全時間軸。
    • Three.js:3D 空間視口、粒子系統和模型 (references/animation/adapters/three.md)。
    • Lottie:向量動畫播放器 (references/animation/adapters/lottie.md)。
    • Anime.js / WAAPI:緊湊的 DOM 變形和關鍵影格。
    • CSS 關鍵影格:硬體加速轉換。
  2. 攝影機過渡與變形 (references/keyframes/):
    • 肯·伯恩斯平移、推近變焦、SVG 路徑變形和景深效果。
  3. 註冊表區塊與著色器 (references/registry/):
    • 搜尋並安裝預建的效果區塊(CRT 掃描線、故障、底片顆粒、閃爍掃掠、五彩紙屑)。

模式 4:自訂組合與多軌編輯 (general-video, slideshow)

用於互動式投影片簡報、多軌時間軸編輯和自訂 HTML 影片。

  1. 工作室慣例 (references/studio/studio-conventions.md):
    • 每個場景都是一個子組合 (data-composition-src)。
    • 一個字幕軌 (data-track-kind="captions")。
    • 每個軌道一種元素類型(影片、圖像、字幕、音頻)。
    • 安全區域合規(Premiere 標題/動作安全框)。
  2. 跨領域創作者食譜:
    • 修剪與剪輯:更新 data-start、data-duration 和 data-media-start(references/core/tracks-and-clips.md)。
    • 平滑變焦:在保持片段時序穩定的同時,使用 CSS/GSAP 為內部裁剪包裝器添加動畫(references/keyframes/)。
    • 音頻增益與閃避:應用音量包絡線和匯流排壓縮(references/audio/)。

4. 驗證與 CLI 工具鏈

在交付之前始終運行驗證閘門:

# 使用工作流程支架初始化一個新的 Hyperframes 專案
npx hyperframes init "videos/<project>" --skill=<workflow-name>

# 擷取即時網路資產、螢幕截圖和品牌標記
npx hyperframes capture "<URL>" -o ./capture --json

# 檢查組合時間軸、軌道和片段
npx hyperframes timeline [--json]

# 驗證時序屬性、安全區域和缺失的資產
npx hyperframes check

# 啟動互動式本地播放器
npx hyperframes preview

# 渲染最終 MP4 輸出
npx hyperframes render --output output.mp4

5. 目錄對照表

路徑用途
workflows/所有 11 個上游工作流程 (product-launch-video, faceless-explainer, pr-to-video, motion-graphics 等)
engine/規範的 Hyperframes v0.8.77 上游套件
references/core/時序屬性、確定性規則、軌道模型、子組合
references/animation/GSAP、Three.js、Lottie、Anime.js、CSS 配接器、藍圖、動態模糊
references/keyframes/2D/3D 攝影機過渡、變焦、SVG 變形、景深效果
references/audio/EQ、閃避、壓縮、子混音匯流排自動化包絡線
references/creative/設計規範、字體排印學、調色盤、框架預設、故事主幹
references/registry/視覺區塊、著色器組件、安裝與接線
references/studio/工作室時間軸佈局、字幕軌、安全區域
references/brag/策劃的 /brag 逐步指南、語調與音樂提示
assets/music/策劃的音樂背景,涵蓋電影、狂熱、獨立、平靜等風格
scripts/analyze_music_cues.py、框架封包核心及音頻提取器

Individual skills in this repo

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

1999AZZAR/designer-mcp

SOTA animation and physics heuristic guide using motion.dev

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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

1999AZZAR/designer-mcp

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

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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

1999AZZAR/designer-mcp

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, 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.

1999AZZAR/designer-mcp

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

Use when building or editing a HyperFrames project that people open in Studio: how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

1999AZZAR/designer-mcp

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

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.

1999AZZAR/designer-mcp

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

1999AZZAR/designer-mcp

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

相關技能