Communitygithub.com

1999AZZAR/designer-mcp

掌握基于 Hyperframes (v0.8.77) 和 Brag 的程序化视频与动态图形引擎。通过可搜索时间线、无头 Chromium 帧捕获和 FFmpeg 编译,从 HTML/CSS/JS 合成中渲染视频。适用于产品发布 (/brag)、SaaS 推广、技术解说、公关演示视频、动态 UI 动画、节拍同步音乐视频、幻灯片提案、Remotion 移植、字幕以及将合成编译为 MP4。

designer-mcp 是什么?

这是一个用于程序化视频生成的 AI 智能体技能,基于 Hyperframes v0.8.77 引擎。它允许开发者使用熟悉的 HTML/CSS/JS 技术栈来创建专业级视频,通过声明式 DOM 属性(data-start, data-duration)定义时间线,并支持无缝的 seekable 播放控制。该技能适用于 Claude Code、Cursor 等平台,能将产品演示、技术解说、UI 动画、节拍同步视频等创意需求直接转化为 MP4 视频输出,无需传统视频编辑软件。其核心工作流程包括状态检测、意图路由和多种操作模式(如产品发布、技术解说、动态图形),并集成 Chromium 帧捕获、FFmpeg 编译、音频分析等工具链。

兼容平台✓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 存在从 brief 中读取 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-恶搞、混乱、电影感、面无表情、应用商店,见 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/ 中选择设计预设(胶囊、钴网格、雏菊等),并重新混合品牌令牌:
      node workflows/product-launch-video/scripts/build-frame.mjs --preset <预设名称> --hyperframes .
      
  3. 故事板与音频混音:
    • 编写 STORYBOARD.md 和 SCRIPT.md。
    • 音频:从 assets/music/ 中选择背景音乐,或使用 /media-use 解析音轨和 TTS 画外音(references/audio/)。
    • 运行节拍提示分析:python3 scripts/analyze_music_cues.py --audio <路径> --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/):
    • Ken Burns 平移、推近变焦、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=<工作流名称>

# 捕获实时 Web 资源、截图和品牌令牌
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.

相关技能