Community程式設計與開發github.com

remotion-create

建立一個新的 Remotion 影片專案

remotion-create 是什麼?

此技能引導 AI Agent 建立一個全新的 Remotion 影片專案,包括初始的 Scaffold(專案骨架)、影片設計、互動性支援以及選擇性的 TailwindCSS 整合。它會先檢查 Node.js 和 Git 是否已安裝,然後使用 `npx create-video@latest` 指令建立一個空白專案,並安裝相依套件。在影片設計階段,它會引用 Remotion 的 React Markup 最佳實踐、影片佈局規則以及文字大小設定指引,確保影片結構正確。此外,還涵蓋了如何透過 Remotion Studio 的互動性功能讓使用者進行即時編輯與程式碼回寫,以及如何整合 TailwindCSS。最後,它啟用 Remotion Studio 預覽伺服器,並在建立完成後提示 AI Agent 後續應參考 Remotion 的最佳實踐文件。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/remotion-dev/skills/tree/main/skills/remotion-best-practices/remotion-create

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

這些是用於建立新 Remotion 專案與影片合成的指示。 如果這不是下一個任務,請參閱 Remotion 最佳實踐

建立專案 Scaffold

如果專案已存在,請跳過此步驟。 確保已安裝 Node.js 和 Git,並且當前資料夾適合開始一個新專案。

使用以下指令建立 Scaffold:

npx create-video@latest --yes --blank --no-tailwind my-video
cd my-video
npm i

將 my-video 替換為合適的專案名稱。

設計影片

保留 Scaffold 並加入 React Markup。請遵循 Remotion React Markup 最佳實踐 和 影片佈局規則 以獲得影片優先佈局和文字大小設定指引。

互動性最佳實踐

透過按照 Remotion 互動性最佳實踐 建構 React Markup,你可以讓使用者在 Studio 中進行編輯,並將修改寫回程式碼。

TailwindCSS

如果要求使用 Tailwind,請參閱 tailwind.md 以了解如何在 Remotion 中使用 TailwindCSS。

啟動預覽

npx remotion studio --no-open

這將啟動一個長時間執行的程序,並輸出預覽的伺服器 URL。

後續步驟

影片建立流程已完成。 對於後續的提示,請使用 Remotion 最佳實踐

Individual skills in this repo

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

相關技能