Communitygithub.com

JantonioFC/skillsbank - 示範影片製作技能

用於當使用者要求建立示範影片、產品導覽、功能展示、動畫簡報、行銷影片或 GIF。協調 Playwright、ffmpeg 和 edge-tts MCP 來製作精緻的影片內容。

skillsbank - 示範影片製作技能 是什麼?

此技能將 LLM 化身為影片製作人,能自動編排瀏覽器渲染、文字轉語音與影片合成流程,將截圖或場景描述轉化為可分享的產品示範。它支援兩種模式:當 Playwright、edge-tts 與 ffmpeg 的 MCP 工具皆可用時,可全自動完成截圖、配音與合成;若部分工具缺失,則會產生 HTML 場景檔、場景清單(scenes.json)、旁白腳本與 ffmpeg 指令,讓使用者手動執行。技能內建多種故事結構(經典示範、問題解決、15秒預告)與場景設計系統,並提供品質檢查清單與常見反模式修正建議,確保每段影片都有節奏、焦點與敘事弧線。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JantonioFC/skillsbank/tree/HEAD/skills/demo-video

在你喜歡的 AI 中提問

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

說明文件

示範影片

你是一位影片製作人,不是投影片製作人。每個畫格都有任務,每秒都值得下一幀。

概覽

透過協調瀏覽器渲染、文字轉語音與影片合成,製作精緻的示範影片。以影片製作人的思維運作——故事弧線、節奏、情感、視覺層級。將截圖與場景描述轉化為可分享的產品示範。

何時使用此技能

  • 使用者要求建立示範影片、產品導覽或功能展示
  • 使用者想要動畫簡報、行銷影片或產品預告
  • 使用者想要將截圖或 UI 畫面轉為精緻影片或 GIF
  • 使用者說「製作影片」、「建立示範」、「錄製示範」、「宣傳影片」

核心工作流程

1. 選擇渲染模式

開始前,確認可用工具:

  • playwright MCP 可用? — 用於自動截圖。替代方案:請使用者手動截取 HTML 檔案畫面。
  • edge-tts 可用? — 用於旁白音訊。替代方案:輸出旁白文字檔,讓使用者自行錄製或使用任何 TTS 工具。
  • ffmpeg 可用? — 用於合成。替代方案:輸出個別場景圖片與音訊檔案,並提供使用者可執行的 ffmpeg 指令。

若皆不可用,則產生 HTML 場景檔、scenes.json 清單與旁白腳本。使用者可手動合成或使用任何影片編輯器。

模式方式時機
MCP 協調HTML → playwright 截圖 → edge-tts 音訊 → ffmpeg 合成當 Playwright、edge-tts 與 ffmpeg MCP 皆連線時使用
手動撰寫 HTML 場景檔,提供 ffmpeg 指令讓使用者執行當 MCP 工具不可用時使用

2. 選擇故事結構

經典示範(30-60 秒): 鉤子(3 秒)→ 問題(5 秒)→ 魔法時刻(5 秒)→ 證明(15 秒)→ 社會證明(4 秒)→ 邀請(4 秒)

問題解決(20-40 秒): 之前(6 秒)→ 之後(6 秒)→ 方法(10 秒)→ 行動呼籲(4 秒)

15 秒預告: 鉤子(2 秒)→ 示範(8 秒)→ 標誌(3 秒)→ 標語(2 秒)

3. 設計場景

若未提供截圖:

  • 對於 CLI/終端工具:使用終端風格深色背景、等寬字體與打字動畫效果產生 HTML 場景
  • 對於概念性示範:使用文字為主的場景,搭配色彩語言與排版系統
  • 僅在產品為視覺導向且描述不足時,才向使用者要求截圖

每個場景只有一個主要焦點:

  • 標題場景:產品名稱
  • 問題場景:痛點(紅色、混亂)
  • 解決方案場景:結果(綠色、寬敞)
  • 功能場景:強調的截圖區域
  • 結尾場景:網址 / 行動呼籲按鈕

4. 撰寫旁白

  • 一個場景只傳達一個想法。如果你需要「而且」,就代表需要兩個場景。
  • 以動詞開頭。「整理你的分頁」,而不是「提供分頁整理功能」。
  • 避免行話。「你的分頁會自行整理」,而不是「AI 驅動的分頁分類」。
  • 使用對比。「24 個分頁。一次點擊。5 個群組。」

輸出產出物

對於每部影片,在 demo-output/ 目錄中產生以下檔案:

  1. scenes/ — 每個場景一個 HTML 檔案(1920x1080 視口)
  2. narration/ — 每個場景一個 .txt 檔案(供 edge-tts 輸入)
  3. scenes.json — 依序列出場景的資訊清單,包含持續時間與旁白文字
  4. build.sh — 執行完整管線的 Shell 腳本:
    • playwright screenshot 每個 HTML 場景 → frames/
    • edge-tts 每個旁白檔案 → audio/
    • ffmpeg 搭配淡入淡出轉場合併 → output.mp4

若 MCP 工具不可用,仍須產生項目 1-3。將 ffmpeg 指令包含在 build.sh 中,供使用者手動執行。

場景設計系統

請參閱 references/scene-design-system.md 以獲得完整設計系統:色彩語言、動畫時機、排版、HTML 佈局、語音選項與節奏指南。

品質檢查清單

  • 影片包含音訊串流
  • 解析度為 1920x1080
  • 場景之間無黑色畫格
  • 前 3 秒抓住注意力
  • 每個場景有一個焦點
  • 結尾卡片包含網址與行動呼籲

反模式

反模式修正
投影片節奏 — 每個場景等長,沒有韻律變化長度:鉤子 3 秒,證明 8 秒,行動呼籲 4 秒
螢幕上的文字牆將資訊移至旁白,簡化視覺
通用旁白 — 「此功能讓您...」使用具體數字與具體動詞
沒有故事弧線 — 僅列出功能使用問題→解決方案→證明結構
原始截圖務必加上圓角、陰影、深色背景
使用 ease 或 linear 動畫使用彈簧曲線:cubic-bezier(0.16, 1, 0.3, 1)

交叉參考

  • 相關:engineering/browser-automation — 用於基於 Playwright 的瀏覽器工作流程
  • 另請參閱:framecraft — 開源場景渲染管線

Individual skills in this repo

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

JantonioFC/skillsbank

AI-powered image editing with style transfer and object removal

JantonioFC/skillsbank

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

JantonioFC/skillsbank

Analise e auditoria de editais de leilao judicial e extrajudicial. Riscos ocultos, clausulas perigosas, debitos, ocupante e classificacao da oportunidade.

JantonioFC/skillsbank

Embed Photopea in web apps using photopea.js. Covers embedding, file I/O, scripting, exporting, layers, text, filters, and the full Photoshop-compatible API.

JantonioFC/skillsbank

Best practices for Remotion - Video creation in React

JantonioFC/skillsbank

Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

JantonioFC/skillsbank

Seek and analyze video content using Memories.ai Large Visual Memory Model for persistent video intelligence

JantonioFC/skillsbank

Writes complete, structured landing pages optimized for SEO ranking, AEO citation, and visitor conversion. Activate when the user wants to write or generate a landing page for a product, service, or offer.

JantonioFC/skillsbank

Video and audio perception, indexing, and editing. Ingest files/URLs/live streams, build visual/spoken indexes, search with timestamps, edit timelines, add overlays/subtitles, generate media, and create real-time alerts.

JantonioFC/skillsbank

Upload, stream, search, edit, transcribe, and generate AI video and audio using the VideoDB SDK.

JantonioFC/skillsbank

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

JantonioFC/skillsbank

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities.

JantonioFC/skillsbank

Tool lifecycle UI components for React/Next.js from ui.inference.sh. Display tool calls: pending, progress, approval required, results. Capabilities: tool status, progress indicators, approval flows, results display. Use for: showing agent tool calls, human-in-the-loop approvals, tool output. Triggers: tool ui, tool calls, tool status, tool approval, tool results, agent tools, mcp tools ui, function calling ui, tool lifecycle, tool pending

JantonioFC/skillsbank

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

JantonioFC/skillsbank

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' 'audience targeting,' 'Google Ads,' 'Facebook ads,'...

JantonioFC/skillsbank

Create AI avatar and talking head videos with OmniHuman, Fabric, PixVerse via inference.sh CLI. Models: OmniHuman 1.5, OmniHuman 1.0, Fabric 1.0, PixVerse Lipsync. Capabilities: audio-driven avatars, lipsync videos, talking head generation, virtual presenters. Use for: AI presenters, expla...

JantonioFC/skillsbank

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awarene...

JantonioFC/skillsbank

Generate AI videos with Google Veo, Seedance, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 1.5 Pro, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, lipsync, avatar animation, video upscaling, fole...

JantonioFC/skillsbank

Production-ready CI/CD configurations for Playwright — GitHub Actions, GitLab CI, CircleCI, Azure DevOps, Jenkins, Docker, parallel sharding, reporting, code coverage, and global setup/teardown.

JantonioFC/skillsbank

You are an expert copy editor specializing in marketing and conversion copy. Your goal is to systematically improve existing copy through focused editing passes while preserving the core message.

相關技能