Communitygithub.com

1999AZZAR/designer-mcp

HyperFrames 的所有動畫知識——原子運動規則、多階段場景藍圖、場景轉場、更廣泛的動態設計技術,以及七種執行時期適配器(預設 GSAP,外加 Lottie、Three.js、Anime.js、CSS 關鍵影格、Web Animations API、TypeGPU)。適用於任何運動或動畫任務:挑選 2-4 條規則並組合、載入藍圖,或查詢特定執行時期的 API(例如 GSAP 緩動函數 / Lottie 播放器 / Three.js 混合器)。也涵蓋審查現有構圖的編排(動畫對應表)和 24 種命名文字動畫效果。HyperFrames 原生:單一暫停時間軸、可安全搜尋、確定性。

designer-mcp 是什麼?

此技能(1999AZZAR/designer-mcp)為 HyperFrames 框架提供全面的動畫知識與執行時期支援。它將所有運動相關資訊整合為一個技能,涵蓋原子級運動規則(可組合的 GSAP 配方)、多階段場景藍圖(預先設計的範本)、場景轉場、更廣泛的動態設計技術,以及七種執行時期適配器:預設的 GSAP,加上 Lottie、Three.js、Anime.js、CSS 關鍵影格、Web Animations API 和 TypeGPU/WebGPU。開發者可以快速組合 2-4 條規則來建立輕量動畫,或在需要複雜多階段編排時載入完整的場景藍圖。適應性架構允許在同一個合成中同時執行多個執行時期,每個執行時期都在其全域變數上註冊實例,讓 HyperFrames 能夠在一次遍歷中搜尋所有動畫。此技能也包含用於審查現有動畫構圖(透過掃描 GSAP 時間軸以識別問題)的指令碼,以及用於文字動畫的專業適配器,使其成為在任何 HyperFrames 專案中處理任何動畫任務的一站式解決方案。

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

在你喜歡的 AI 中提問

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

說明文件

HyperFrames 動畫

所有運動知識濃縮於此技能:規則(原子配方)、藍圖(多階段場景範本)、轉場(場景到場景)、技巧(更廣泛的動態設計模式),以及適配器(每個執行時期的 API)。

關於合成合約(資料屬性、子合成、確定性),請參閱 hyperframes-core。

預設:組合原子規則

從 rules-index.md 中選取 2-4 條規則,用一條暫停的 GSAP 時間軸將它們黏合起來,就完成了。這比從藍圖開始更快速,且產生更少的程式碼。

在以下情況載入藍圖

  • 場景符合現有的預先設計多階段範本(品牌揭曉、社會證明等),且重複使用其階段管線能節省實際創作時間
  • 您希望為複雜的 4-5 階段編排獲得可執行的事實基準程式碼

藍圖存放在 blueprints-index.md 中。每個條目指向 blueprints/<id>.md(配方)。請勿投機性地讀取它;只有在您已確定需要場景層級編排時才載入它。

路由

目標…閱讀
根據觸發器/標籤挑選一個原子運動模式rules-index.md
讀取一個規則的完整 HTML / CSS / GSAP 配方rules/<name>.md
挑選一個多階段場景範本blueprints-index.md
讀取一個藍圖的完整配方blueprints/<id>.md
編寫一個場景轉場(由 CSS 驅動,在兩個片段之間)transitions/overview.md、transitions/catalog.md
查詢更廣泛的動態設計技巧techniques.md
動態模糊——在元素上產生快門拖影效果,以及何時不應使用references/motion-blur.md
分析現有構圖的動畫對應表scripts/animation-map.mjs
GSAP API——時間軸 / 補間 / 位置參數adapters/gsap.md
GSAP——即插即用的效果配方rules/gsap-effects.md
GSAP——變形 / 效能adapters/gsap-transforms-and-perf.md
GSAP——緩動功能 / 交錯adapters/gsap-easing-and-stagger.md
GSAP——時間軸 / 標籤adapters/gsap-timeline-and-labels.md
Lottie / dotLottie(After Effects 匯出、window.__hfLottie)adapters/lottie.md
角色動畫(行走循環、吉祥物、關節木偶、手勢)adapters/lottie.md → 角色
Three.js / WebGL(3D 場景、AnimationMixer、hf-seek)adapters/three.md
Anime.js(window.__hfAnime)adapters/animejs.md
CSS 關鍵影格(animation-delay / play-state / fill-mode)adapters/css-animations.md
Web Animations API(element.animate()、currentTime 搜尋)adapters/waapi.md
TypeGPU / WebGPU(navigator.gpu、WGSL、計算管線)adapters/typegpu.md
HTML 作為紋理 + WebGL/GLSL 後處理特效(透過 drawElementImage 捕捉即時 DOM)adapters/html-in-canvas-patterns.md
具名文字動畫效果(24 個 ID,透過外部 animate-text 技能)adapters/animate-text.md

選擇執行時期

  • GSAP 是 95% 運動工作的預設選擇——涵蓋時間軸編排、變形、緩動功能、交錯。此技能中的所有原子規則皆基於 GSAP。
  • Lottie 用於資產擁有其預先烘焙時間軸的情況(通常是 After Effects 匯出),包括會行走、做手勢或反應的角色。
  • Three.js 用於 3D 場景、攝影機運動、著色器驅動的視覺效果。
  • Anime.js 用於輕量級的補間,當 GSAP 顯得過度設計時。
  • CSS 用於簡單的重複主題、裝飾、閃光效果——無需 JavaScript 動畫成本。
  • WAAPI 用於在不依賴 GSAP 的情況下使用原生瀏覽器關鍵影格。
  • TypeGPU / WebGPU 用於 GPU 渲染的畫布(粒子、液體玻璃、自訂著色器)。

多個執行時期可以在同一個合成中共存。每個執行時期都會將其實例註冊到特定於該執行時期的全域變數上,以便 HyperFrames 能在一遍搜索中同時處理所有實例。

關鍵限制

先決條件:hyperframes-core → 不可協商的規則(單一暫停時間軸、data-duration 決定長度、不可用 Math.random / Date.now / performance.now、不可用 repeat: -1、不可在頁面載入時對後續場景的片段執行 gsap.set、不可對 display 或原始 visibility 進行補間,也不可在 async / setTimeout / Promise 內建構時間軸)。核心允許 GSAP autoAlpha 和在明確時間軸邊界上的零持續時間可見性設定。僅在非片段元素或片段內的包裝器上使用這些例外;框架擁有 .clip 的生命週期管理。請勿在此處重述完整合約。

在核心合約基礎上新增的動畫創作注意事項:

  • 預先計算佈局常數——永遠不要在補間時從 getBoundingClientRect() 推導位置。補間時的 DOM 測量會因渲染器並行取樣而導致不同步;請在合成設定時一次性計算座標並重複使用。
  • 空間運動僅使用 GSAP 變形別名(x、y、scale、rotation)。核心的允許清單也允許對非空間屬性進行補間時使用 opacity / color / backgroundColor / borderRadius——但絕不能使用 width / height / top / left 進行佈局變更。

指令碼

node skills/hyperframes-animation/scripts/animation-map.mjs <composition-dir> \
  --out <composition-dir>/.hyperframes/anim-map

讀取註冊在 window.__timelines 上的每個 GSAP 時間軸,列舉補間、取樣邊界框、計算標誌、輸出 animation-map.json。在創作後用它來審查編排(死區、交錯一致性、生命週期警告)。

animation-map.mjs 會優先從當前專案解析輔助套件,然後可以引導捆綁的 HyperFrames 套件版本。僅在技能在捆綁的 CLI/技能安裝外部執行時,設定 HYPERFRAMES_SKILL_PKG_VERSION=<version> 來明確釘選該引導版本。

另請參閱

  • hyperframes-core——合成結構、資料屬性、子合成、確定性渲染合約
  • hyperframes-creative——調色盤、字體排印、敘事、節拍規劃(非動畫的創意方向)
  • hyperframes-cli——npx hyperframes lint / check / snapshot / preview / render

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

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.

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.

相關技能