Communitygithub.com

remotion-product-demos

使用 Remotion 建立蘋果簡報等級的產品展示影片。涵蓋玻璃手機模型、浮動 3D 球體、打字動畫、卡片 UI、漣漪效果及流暢場景轉場。適合在需要製作產品展示、應用程式宣傳影片或 UI 操作動畫時使用。

remotion-product-demos 是什麼?

此技能可讓 AI 代理程式利用 Remotion 產生出媲美蘋果發表會風格的產品展示影片。它提供一個名為 `GlassPhoneDemo` 的範本,其中包含 Zod 模式,可定義多種場景類型,如英雄畫面、語音輸入、打字動畫、卡片清單、詳細資訊、下拉式選單與結尾卡片。使用者可以透過 `npx remotion render` 指令,並以 `--props` 參數傳入 JSON 來調整品牌色彩、背景風格與場景順序。此技能遵循特定的視覺風格規則,包括柔和的 3D 背景球體、iPhone 風格的手機模型、純色搭配單一強調色,以及使用 `useCurrentFrame()` 與 `spring()` 實作的動畫。它還提供了動畫模式說明,涵蓋入場、交錯、浮動、打字與漣漪效果。專案位於 `~/Projects/tails-video/`,適合需要快速建立高品質應用程式示範或 UI 操作影片的開發者與內容創作者。目前此技能已知的限制包括 CSS 球體效果有限、缺乏真實圖片以及打字速度無法變化,但已有具體的改進計畫。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/unisone/openclaw-skill-suite/tree/main/skills/remotion-product-demos

在你喜歡的 AI 中提問

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

說明文件

Remotion 產品展示影片

使用 Remotion 打造蘋果簡報風格的專業級產品展示影片。

快速開始

專案位置:~/Projects/tails-video/ 範本位置:src/templates/GlassPhoneDemo.tsx

cd ~/Projects/tails-video
npx remotion render src/index.ts GlassPhoneDemo out/demo.mp4 \
  --codec=h264 --crf=18

透過 --props 自訂內容:

npx remotion render src/index.ts GlassPhoneDemo out/custom.mp4 \
  --props='{"scenes":[{"type":"hero","durationInSeconds":3}],"brand":{"name":"YourBrand"}}'

範本:GlassPhoneDemo

結構 (Zod)

{
  scenes: Array<{
    type: 'hero' | 'voice' | 'typing' | 'cards' | 'detail' | 'dropdown' | 'endCard',
    title?: string,
    subtitle?: string,
    text?: string,           // 適用於打字場景
    cards?: Array<{ name, category, detail?, emoji? }>,  // 適用於卡片場景
    items?: Array<{ name, price? }>,                      // 適用於詳細資訊場景
    options?: Array<{ label, sublabel?, icon? }>,          // 適用於下拉式選單場景
    durationInSeconds: number  // 預設值為 3
  }>,
  accentColor: string,       // 預設值 '#3B82F6'
  bgStyle: 'light' | 'warm' | 'cool',
  deviceAngle: number,       // 預設值 8 (Y 軸旋轉角度)
  brand?: { name: string, tagline?: string }
}

場景類型

類型視覺效果主要屬性
hero手機畫面顯示「點擊以輸入」+ 動作按鈕—
voice麥克風圖示 + 連續漣漪環—
typing逐字顯示文字並帶有游標text
cards交錯顯示的卡片清單(餐廳風格)cards[], title
detail篩選標籤 + 含價格的項目網格items[], title, subtitle
dropdown毛玻璃效果的選項選擇器options[], text
endCard手機淡出,品牌名稱置中顯示— (使用頂層 brand)

建議的場景流程

典型的展示流程為:hero → voice → typing → results → detail → typing → dropdown → endCard

時間長度建議:hero 3 秒,voice 2 秒,typing 每個指令 3 秒,cards/detail 4 秒,dropdown 3 秒,endCard 2 秒。

視覺風格規則

請參閱 references/apple-aesthetic.md 以取得完整的樣式指南。

主要規則:

  • 背景: 柔和的 3D 球體搭配輻射漸層、高光反射及投射陰影
  • 手機: iPhone 風格,金屬邊框漸層、動態島、側邊按鈕、主畫面指示器、玻璃反射疊加層及地面投影
  • 色彩: 單色調的白/灰色 + 單一可設定的強調色
  • 動畫: 所有動畫皆透過 useCurrentFrame() + spring({damping: 200}) 實現。不使用 CSS 動畫。

動畫模式

請參閱 references/animation-patterns.md 以取得彈簧設定、時間公式及緩動模式。

主要模式:

  • 入場: spring({ frame: sceneFrame, fps, config: { damping: 200 } }) → 透明度 + Y 軸位移
  • 交錯: 每個項目延遲 i * 6 影格
  • 浮動: Math.sin(globalFrame / 45) * 12 實現輕微飄移
  • 打字: Math.floor((sceneFrame - delay) * 0.55) 個字元顯示
  • 漣漪: 透過取餘數持續循環:(frame + ring * offset) % cycleDuration
  • 交叉淡出: 場景重疊,從 -transitionFrames 到 0 淡入,從 dur - transitionFrames 到 dur 淡出

改善待辦清單

當前狀態:良好,但非完美。已知的不足:

  1. Three.js 背景球體 — CSS 輻射漸層球體約可達到 7/10 分。使用真正的 @remotion/three 搭配適當光影可達 9/10 分
  2. 真實圖片 — 將彩色佔位區塊替換為 Unsplash/Pexels 的食物照片,使用 <Img> 元件
  3. 可變打字速度 — 常用單字加速,空格處略作停頓
  4. 螢幕發光 — 手機螢幕邊緣的細微環境光暈
  5. 常數優先模式 — 將所有魔法數字提取為檔案頂層的具名常數(Remotion 官方建議)

建立新範本

在建立新的產品展示範本時,請遵循以下步驟:

  1. 逐格分析參考影片(以 1 秒間隔提取影格)
  2. 辨識視覺元件: 背景、裝置、內容、轉場
  3. 定義 Zod 模式,包含場景類型及可設定的屬性
  4. 由下而上建立元件: 背景 → 裝置框架 → 場景 → 轉場
  5. 每個步驟進行測試 — 先渲染單一影格,再渲染完整影片
  6. 使用視覺模型進行 QA — 提取影格、評分品質、迭代改進

嚴格遵循 Remotion 規則:請參閱 skills/remotion-best-practices/ 的規則檔案。

Individual skills in this repo

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

astra-operator

Delegate computer-use and browser tasks to OpenAI

design-inspo

Find design inspiration from curated gallery sites. Use when a user needs UI/UX references, design examples, or inspiration for specific components (navbars, CTAs, hero sections, landing pages, etc.), full websites, SaaS products, mobile apps, animations, icons, branding, or design systems. Helps select the right inspiration source and browse examples.

graphrag

Build a GraphRAG pipeline over documents. Use when plain vector search returns chunks without connections, when questions need multi-hop reasoning (

mundane-demos

Demo strategy that leads with mundane real-life utility instead of benchmarks. Use when presenting an AI agent or product to non-technical audiences. Covers picking tasks the viewer did this morning, showing end-to-end completion, and letting speed be the wow factor.

release-notes

Generate polished release notes from git history. Use when cutting a release, before publishing a GitHub release, or when you need a changelog from commits between two tags. Groups changes by type, surfaces breaking changes, and drafts highlights.

repo-security-scan

Scan a repository for high-signal security issues and produce a report. Use when auditing a codebase for leaked secrets or vulnerable dependencies, before a release, or when onboarding an unfamiliar repo. Runs gitleaks secret scanning and osv-scanner dependency checks.

secure-agent-design

Security architecture patterns for personal AI agents that touch real accounts. Use when designing an agent with access to inbox, calendar, finances, or shopping. Covers per-user isolated VMs, pre-action sentinel checks, least-privilege connectors, human approval gates, and single-use payment credentials.

testimonial-launch

Turn user testimonials into launch distribution. Use when launching a product or feature and you want real user proof to carry the announcement instead of marketing copy. Covers soliciting specific testimonials, curating them, and amplifying via quote-posts.

unisone/openclaw-skill-suite

Create Apple-keynote-quality product demo videos with Remotion. Covers glass phone mockups, floating 3D spheres, typing animations, card UIs, ripple effects, and smooth scene transitions. Use when asked to create product demos, app showcase videos, UI walkthrough animations, or

validator-quotes

Earn and deploy third-party validator quotes for a launch. Use when you need credibility beyond your own claims. Covers who to approach, how to get honest reactions, and how to amplify them via quote-posts, based on the founder/CEO validators behind the Muse launch.

相關技能