使用時機
每當你處理 Remotion 程式碼時,使用此技能以取得領域特定知識。
使用方式
閱讀個別規則檔案以取得詳細說明和程式碼範例:
- rules/3d.md - 使用 Three.js 和 React Three Fiber 在 Remotion 中的 3D 內容
- rules/animations.md - Remotion 的基本動畫技巧
- rules/assets.md - 將圖片、影片、音訊和字型匯入 Remotion
- rules/audio.md - 在 Remotion 中使用音訊和聲音 - 匯入、修剪、音量、速度、音高
- rules/calculate-metadata.md - 動態設定組合持續時間、尺寸和屬性
- rules/can-decode.md - 使用 Mediabunny 檢查瀏覽器是否可以解碼影片
- rules/charts.md - Remotion 的圖表與資料視覺化模式
- rules/compositions.md - 定義組合、靜態畫面、資料夾、預設屬性和動態元資料
- rules/display-captions.md - 在 Remotion 中以 TikTok 風格頁面和文字高亮顯示字幕
- rules/extract-frames.md - 使用 Mediabunny 從影片中擷取特定時間戳的影格
- rules/fonts.md - 在 Remotion 中載入 Google 字型和本機字型
- rules/get-audio-duration.md - 使用 Mediabunny 取得音訊檔案的持續時間(秒)
- rules/get-video-dimensions.md - 使用 Mediabunny 取得影片檔案的寬度和高度
- rules/get-video-duration.md - 使用 Mediabunny 取得影片檔案的持續時間(秒)
- rules/gifs.md - 顯示與 Remotion 時間軸同步的 GIF
- rules/images.md - 使用 Img 元件在 Remotion 中嵌入圖片
- rules/import-srt-captions.md - 使用 @remotion/captions 將 .srt 字幕檔案匯入 Remotion
- rules/lottie.md - 在 Remotion 中嵌入 Lottie 動畫
- rules/measuring-dom-nodes.md - 在 Remotion 中測量 DOM 元素尺寸
- rules/measuring-text.md - 測量文字尺寸、將文字適配容器,以及檢查溢位
- rules/sequencing.md - Remotion 的序列模式 - 延遲、修剪、限制項目持續時間
- rules/tailwind.md - 在 Remotion 中使用 TailwindCSS
- rules/text-animations.md - Remotion 的排版與文字動畫模式
- rules/timing.md - Remotion 中的插值曲線 - 線性、緩動、彈簧動畫
- rules/transcribe-captions.md - 轉錄音訊以在 Remotion 中產生字幕
- rules/transitions.md - Remotion 的場景轉場模式
- rules/trimming.md - Remotion 的修剪模式 - 剪掉動畫的開頭或結尾
- rules/videos.md - 在 Remotion 中嵌入影片 - 修剪、音量、速度、循環、音高
限制
- 僅當任務明確符合上述範圍時,才使用此技能。
- 請勿將輸出視為環境特定驗證、測試或專家審查的替代品。
- 如果缺少所需的輸入、權限、安全邊界或成功標準,請停止並要求澄清。