Communitygithub.com

nanxnguyen/remotion-ai-agentic-studio

用於根據已核准的腳本、語音片段及簡報,在專案中建置並渲染一支 Remotion 9:16 Reels 影片(場景元件、時間軸、音效/BGM、靜態 QA、MP4 輸出)。此技能包裝了上游 `skills/video-shotcraft` 的全部功能(124 張分鏡卡、示範、元件庫、音訊庫、節拍同步、工作檯、剪映匯出、社群發布)。請在 `viral-tech-video-creator` 產出 `docs/<video>/brief.md` 並完成語音測量後使用。

remotion-ai-agentic-studio 是什麼?

此技能作為一個完全自主的 9:16 Reels 影片建置路由器,架構於上游 `video-shotcraft` 之上,並針對特定專案需求進行了最佳化。它假設開發者已備妥 `brief.md` 與 `script.md` 等前置產出,支援自動化執行從分鏡、時間軸、元件組合到最終輸出的完整生產流程。技能提供 124 張分鏡卡、示範程式碼與可重複利用的元件(如 PageCam、ClipCard、FlashCut),並整合了音效庫(5 首 BGM、149 個 SFX)、節拍同步參考與動畫工作檯。其獨特之處在於強制依賴已核准的簡報與語音片段,而非從頭開始生成,同時推翻了上游一些預設規則(例如只渲染一個版本、風格必須來自簡報而非範本、確保確定性行為以避免時間/亂數干擾)。開發者仍可使用 `tsc` 進行靜態檢查、以 `remotion still` 進行逐格 QA 驗證,並透過腳本進行最終渲染,最後再進行獨立的清理式審查。

相容平台✓Claude Code✓Codex CLI~Cursor✓Antigravity
npx skills add https://github.com/nanxnguyen/remotion-ai-agentic-studio/tree/HEAD/.claude/skills/video-shotcraft

在你喜歡的 AI 中提問

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

說明文件

Video Shotcraft(專案版)

完整上游技能位於 skills/video-shotcraft/(git commit e1d15d9,完整複製;請勿編輯)。此檔案為路由器,非取代品。 在建置之前,請先完整閱讀 skills/video-shotcraft/SKILL.md,然後使用下方的對應表來取用所有功能。除非另有註明,否則所有路徑皆相對於 skills/video-shotcraft/。

專案預設(覆蓋上游的「詢問模式」)

  • 模式:自主自由創作(references/pipeline.md,階段 0–7,無階段性確認)。僅在使用者提出以下要求時才切換:「dùng template」→ template/TEMPLATE.md;「cùng làm / duyệt từng bước」→ references/guided-free-creation.md;單一鏡頭 → 從 references/shots/ 中選取一張分鏡卡。
  • 階段 0–3(產品簡報、視覺方向、鏡頭對應、故事板)已由本專案的 docs/<video>/brief.md + script.md 完成;請將其帶入設計規格中,並附上鏡頭表格 | # | 時間 | 鏡頭 | 主要動作 |。
  • 風格來自簡報,絕不能來自其他影片或 Ink Press 範本。可借用動態語法與調整後的參數;但顏色/字型需重新設計。目標為 9:16 1080×1920,因此 16:9 的配方必須重新佈局,不可逐像素複製。
  • 每個影片只渲染一個檔案:out/<video_id>-<voice-slug>-reel.mp4(含 BGM),透過 scripts/pipeline.py render。不渲染無 BGM 版本(使用者決定;覆蓋上游的雙版本規則與最終審查項目 A8)。

功能對應表

需求使用方式
視覺化瀏覽/選取鏡頭圖庫:cd gallery && python3 -m http.server 4178 → http://localhost:4178/library.html(150 支片段已在 gallery/media/ 中;索引位於 gallery/api/library.json)
鏡頭配方(約 124 張分鏡卡)references/shots/<category>/(camera、data、effects、interaction、opening、outro、rhythm、transition、typography、ui-entrance);掃描 frontmatter,完整閱讀選定的分鏡卡
調校過的參考程式碼demos/<category>/;為每張選定的分鏡卡閱讀確切的示範 TSX(卡片中的「參考實現」)。絕不能僅憑卡片名稱重寫;「已知陷阱/命門」參數不得弱化
整片影片的敘事弧references/sequences/promo-energy-arc.md
可重複使用的元件assets/lib/(PageCam、ClipCard、DigitRoll、FlashCut、Caption、FlatPanel、VerticalTicker、helper functions)。複製到 src/ 中,不可跨目錄匯入
真實頁面截圖(若主題有網站/應用程式)assets/scripts/capture-template.mjs(2x 全頁紋理 + 元素裁切圖 + layout.json)
美學自我檢查references/aesthetic-rules.md(建置時就應檢查,而非只在最後進行)
音效references/sound-design.md;音訊位於 assets/audio/(bgm/ 5 首曲目、sfx/<category>/ 149 個檔案;授權說明見 assets/audio/ATTRIBUTION.md)
強節拍 BGMreferences/music-beat-sync.md(先分析 BPM,再根據節拍進行故事板)
獨立最終審查references/final-review.md(使用乾淨上下文的子代理程式)
工作檯(視覺調整/導出完成影片)references/workbench.md、node workbench/scripts/open.mjs <project> → http://localhost:5198(需要 src/workbench.ts 清單;請在交付後提供)
剪映草稿匯出references/jianying-export.md(僅在要求時提供)
發布至社群平台references/publish-upload-post.md(僅在要求時提供;務必先進行試執行,絕不在 unknown 狀態下重新執行)
現成的完整影片 + 主題template/(Ink Press、9 種色盤、template/THEMES.md);僅在要求時提供
不適用於正式生產shot-polish/(上游的內部重新設計筆記)、agents/openai.yaml(Codex UI 元資料)、demos/_legacy

建置循環(專案版)

  1. 先建立時間軸(src/<名稱>Timeline.ts):鏡頭時長 = 測量語音長度 + 約 0.5 秒(結尾 +1.4 秒);SFX 偏移量相對於鏡頭開始時間。
  2. 每個場景:從圖庫/資料庫中選取分鏡卡,閱讀分鏡卡 + 示範 TSX + 所需的 assets/lib 元件,並根據簡報風格進行調整。將選定的分鏡卡記錄在 docs/<video>/design-spec.md 中。
  3. 每個場景完成後:npx tsc --noEmit,然後 npx remotion still src/index.ts <CompId> out/qa/<id>-<frame>.png --frame=N(每個鏡頭至少 2 幀)並檢查產出的 PNG。在每次風格變更後重新渲染靜態幀。
  4. 音訊:將選定的檔案從 skills/video-shotcraft/assets/audio 複製到 public/audio/<video_id>/,並在 docs/<video>/assets-manifest.md 中記錄來源/授權。根據生產工作流程階段 7 中的目標進行混音(BGM 背景比語音低 12–18 dB,說話時再閃避降低 4–6 dB),而非使用固定百分比。
  5. 透過 python3 -I scripts/pipeline.py render <video_id> 渲染,使用 ebur128/volumedetect 驗證響度,並製作一份聯絡頁。
  6. 由擁有乾淨上下文的子代理程式根據 references/final-review.md + skills/viral-tech-video-creator/references/qa-checklist.md 進行獨立審查;修正問題後重新渲染。
  7. 交付後:提供工作檯,以及(僅在使用者要求時)剪映匯出/發布功能。

確定性:禁止使用 Date.now()/Math.random()。安全區域:底部 210px 內不得有文字。上游作者鳴謝與展示邀請為選用項目:最多在交付時提及一次,且僅在使用者表現出興趣時進行。

Individual skills in this repo

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

nanxnguyen/remotion-ai-agentic-studio

Produce or change a deterministic Remotion video through evidence-backed agent stages and review gates.

nanxnguyen/remotion-ai-agentic-studio

Use when producing a new Vietnamese vertical video in this repository from idea or source material through voice, Remotion scenes, review, and final MP4 delivery.

nanxnguyen/remotion-ai-agentic-studio

Writes short-form video scripts (YouTube Shorts, TikTok, Instagram Reels, 30 to 60 s) in the creator's own voice from video-agent/voice.md, with optimized hooks and a humanize pass so nothing sounds like AI. Use when the user asks for scripts, script ideas, "write my shorts", this week's videos, a hook, a better hook, to rewrite or tighten a script, or to humanize any text (humanize, sounds like AI, sounds robotic, make it sound like me, a caption or description before posting). Starts from what happened in their week, writes 3 hooks per script from 22 formulas, scores them, adds a re-hook, checks timing at their pace, adds visual notes, removes AI tells (invisible characters, AI words in English and French, AI sentence shapes) while keeping every fact, and saves the week to video-agent/scripts/.

nanxnguyen/remotion-ai-agentic-studio

Write and critique viral hooks for short-form video: the opening 1 to 3 seconds that decide whether anything else gets seen. Use this when you need a batch of hook ideas for a video, want to make a weak opening line stronger, are picking which hook archetype fits an idea, or want a critique of a draft hook against proven patterns. Covers the three-layer hook (visual, verbal, on-screen text), the named-creator frameworks (Kallaway, MrBeast, Hormozi, Brunson, Koe, Welsh, Bush, Galloway), scroll-stopping hook tactics, and the anti-patterns that tank first-three-seconds retention. Works across TikTok, Reels, and Shorts. Pattern-based guidance that improves the odds. It does not guarantee virality.

相關技能