Communitygithub.com

Hownameee/short-videos

升級 Remotion 及相關套件

short-videos 是什麼?

此技能專為 Upgrading Remotion 專案而設計,能自動檢測專案使用的套件管理器與工作區結構。它首先檢查本機是否已安裝 `@remotion/cli`,若已安裝則執行 `npx remotion upgrade` 一鍵升級,同時更新本機的 Remotion 技能。若 CLI 不存在,則進行手動升級:透過 `npm view remotion version` 取得最新穩定版本,將所有 `remotion` 與 `@remotion/*` 依賴升級至該版本,並根據 `@remotion/studio` 的依賴清單對齊輔助套件(如 `zod`、`mediabunny`、`@huggingface/transformers`)的版本。最後會更新 lockfile,並透過 `npx skills update` 指令更新本機的 Remotion 技能。此技能支援所有常見的套件管理器(npm、yarn、pnpm),並能保留使用者原有的 workspace 與 catalog 設定。升級完成後,它會產出 manifest 與 lockfile 的差異對照,並可選用 `npx remotion versions` 進一步驗證版本一致性。對於需要定期維護 Remotion 專案的開發者與 CI/CD 流程而言,本技能能大幅減少手動比對版本與更新 lockfile 的繁瑣工作,確保專案套件版本整齊一致。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Hownameee/short-videos/tree/HEAD/.agent/skills/remotion-upgrade

在你喜歡的 AI 中提問

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

說明文件

升級 Remotion

  1. 檢查專案的 manifest 和 lockfile 以識別套件管理器和工作區。保留無關的變更。

  2. 判斷 @remotion/cli 是否可在本機使用。如果可以,執行:

    npx remotion upgrade
    

    這也會更新專案本機的 Remotion 技能。跳過下方的手動升級步驟。

  3. 如果 @remotion/cli 不可用,請手動升級:

    • 使用 npm view remotion version 取得最新的穩定 Remotion 版本。
    • 找出專案中所有已安裝的 remotion 和 @remotion/* 依賴,並將它們全部升級到該確切版本。保留它們的依賴區段以及專案的工作區或目錄慣例。
    • 使用 npm view @remotion/studio@<version> dependencies --json 讀取目標 Remotion 版本的 @remotion/studio 依賴。將已安裝的輔助套件(例如 zod、mediabunny 和 @huggingface/transformers)與列出的版本對齊。使用 mediabunny 的版本作為已安裝的 @mediabunny/* 套件的版本。
    • 執行專案的套件管理器以更新其 lockfile。
  4. 如果 @remotion/cli 不可用,請更新已安裝的 Remotion 技能:

    npx skills update remotion-best-practices remotion-captions remotion-create remotion-docs remotion-interactivity remotion-maps remotion-markup remotion-multimedia remotion-render remotion-saas remotion-studio remotion-upgrade --yes
    
  5. 檢視 manifest 和 lockfile 的差異。確保所有 Remotion 套件使用同一個版本,且已安裝的輔助套件使用其推薦版本。如果 CLI 可用,請執行 npx remotion versions 作為額外檢查。

Remotion 發行頁面 包含更新日誌,可能有助於在升級後總結相關變更。

Individual skills in this repo

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

Hownameee/short-videos

Generate, revise or troubleshoot local Kokoro narration, pronunciation and scene word timing. Reuse verified unchanged clips; inspect the Python environment before setup changes. Exclude research, visuals, music composition and publishing.

Hownameee/short-videos

Router for all Remotion skills

Hownameee/short-videos

Transcribing, displaying and animating captions

Hownameee/short-videos

Structure Remotion markup for interactivity

Hownameee/short-videos

Remotion Map animation knowledge

Hownameee/short-videos

Content, animation and effects best practices

Hownameee/short-videos

>- Run Phase 1 of the shared short-video workflow: turn a raw topic or prompt into a sourced research pack and 2–4 distinct video directions, each with a defensible tension hook, promise, payoff, beats, visual approach, duration range, and risks. Use whenever the user asks for video ideas, angles, research, facts, hooks, topic analysis, or choices before scriptwriting. Stop for the user's direction choice and do not silently continue into script or production.

Hownameee/short-videos

Produce an approved short video or correct an existing video's background sound, emotion, captions, mix or export. Generate only changed narration, render and review a current preview, run technical and editorial QC, then export. Exclude script-only and general audio-advice requests.

Hownameee/short-videos

>- Run Phase 2 of the shared short-video workflow: convert an explicitly selected direction and its research into a reviewable beat sheet, narration, flexible scene timing, on-screen text, visual plan, captions, music and SFX cues, pronunciation notes, payoff, takeaway, and contextual CTA. Use whenever a user asks to write, revise, preview, or approve a short-video script. Stop for script approval and do not generate TTS or render video yet.

Hownameee/short-videos

>- Design and review a coherent visual system for short-form video before and during Remotion implementation. Use for video art direction, scene UI, typography, layout, color, diagrams, captions, motion, transitions, platform safe areas, or visual-quality review. Use Remotion skills separately for API, timeline, media, Studio, and rendering behavior; do not use this skill for narration-only or research-only work.

Hownameee/short-videos

Coordinate prompt-to-short-video discovery, scripting and production. Resume existing projects and route soundtrack or mix corrections directly to production. Preserve direction choice and script approval; exclude general audio advice.

相關技能