writing-docs
作者: remotion-dev
撰寫 Remotion API 文件的指南與範本,採用 MDX 格式。在 packages/docs/docs 中為每個 API 建立一個 .mdx 檔案,將其加入 sidebars.ts,並執行 bun render-cards.ts 以生成社交預覽卡片。API 屬性使用 ### 標題(而非項目符號),可選參數加上 ? 後綴,並在描述中自然包含預設值。偏好使用帶有 twoslash 驗證的型別安全程式碼片段;使用 // ---cut--- 隱藏匯入,並始終為...添加 title 屬性。
npx skills add https://github.com/remotion-dev/remotion --skill writing-docs來自 remotion-dev 的更多技能
remotion-best-practices
remotion-dev
Remotion - 在 React 中創建影片的最佳實踐
official
add-expert
remotion-dev
在 Remotion 專家頁面新增一位專家
official
add-sfx
remotion-dev
為 @remotion/sfx 新增一個音效
official
docs-demo
remotion-dev
在 Remotion 文件中加入互動式示範。用於為文件頁面建立新的 <Demo> 元件時使用。
official
fix-dependabot
remotion-dev
修正 Dependabot PR,更新所有 monorepo 中的相依套件實例,執行 bun install 並推送變更。
official
make-pr
remotion-dev
自動化拉取請求的建立,包含格式化提交與分支管理。確保不在主分支上,必要時建立功能分支。在提交前對所有受影響的套件執行 Oxfmt 程式碼格式化。使用 package.json 中的套件名稱來格式化提交與拉取請求標題(例如:「@remotion/shapes:新增心形」)。在推送變更後,使用 gh CLI 自動開啟拉取請求。
official
pr-name
remotion-dev
PR 的正確命名
official
remotion-best-practices
remotion-dev
Remotion - 在 React 中創建影片的最佳實踐
official