技能圖譜SKILLSGROVE
技能圖譜/影片製作/riaz37/remotion-ui/remotionui-agent

remotionui-agent

安裝

$npx skills add https://github.com/riaz37/remotion-ui --skill remotionui-agent
$git clone --depth 1 https://github.com/riaz37/remotion-ui.git /tmp/remotion-ui && mkdir -p ~/.claude/skills && cp -r /tmp/remotion-ui/packages/remotion-ui/templates/agent-skill ~/.claude/skills/remotionui-agent
請幫我安裝這個 Agent Skill:https://github.com/riaz37/remotion-ui/tree/5d7032004f419d5916029127ba12af148a92e95f/packages/remotion-ui/templates/agent-skill ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MITBuild Remotion videos with RemotionUI: CLI install workflow, composition registration, and agent indexes. Use when the user wants captioned social clips, creator reels, data stories, or programmatic video.
以下 SKILL.md 內容轉載自 riaz37/remotion-ui(提交 5d70320),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 RemotionUI 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

RemotionUI Agent

Use this skill when helping users build full Remotion compositions with RemotionUI, not one-off effects.

Hard rules

  • Use Remotion docs for framework fundamentals.
  • Use RemotionUI for ready-made source components copied into the user's repo.
  • Run npx remotion-ui@latest add <component> before importing a component.
  • Import from local paths: @/compositions/..., @/remotion/scenes/..., @/remotion/primitives/...
  • Never import UI components from the remotion-ui npm package — it ships a CLI only, not a component library. Components are copy-pasted source files, like shadcn/ui.

Remotion animation rules (mandatory)

RemotionUI components are plain Remotion source files. All render-time motion must be driven by Remotion's frame-based primitives, not browser-timing APIs, because output is rendered frame-by-frame server-side, not played back live in a browser:

  • Animate with useCurrentFrame() to read the current frame, interpolate() to map frame ranges to value ranges, and spring() for physical, settling motion.
  • Sequence timing with <Sequence from={...} durationInFrames={...}> — never setTimeout, setInterval, or requestAnimationFrame.
  • Never use CSS transitions, CSS animation / @keyframes, or Tailwind animation utility classes (animate-*, transition-*) for anything that must appear in the rendered video. These run on wall-clock time in a live browser and do not exist frame-accurately during Remotion's server-side render — they will look wrong or be entirely absent in the output.
  • It's fine to use Tailwind for static layout/spacing/color classes — the rule only applies to motion/timing.
  • Derive all opacity/position/scale/rotation values from interpolate(frame, [inputRange], [outputRange], { extrapolateLeft: "clamp", extrapolateRight: "clamp" }) or spring({ frame, fps, config }), then apply them via inline style (e.g. style={{ opacity, transform: \translateY(${y}px)` }}`).
  • Get fps from useVideoConfig(), not a hardcoded constant.

Workflow

  1. Understand the video goal (social clip, podcast, data story, product intro).
  2. Pick a flagship composition from https://remotionui.com/ai/components.json
  3. Run npx remotion-ui doctor if setup looks broken.
  4. Install: npx remotion-ui add <name>
  5. Import from local source paths and compose in Root.tsx.
  6. Customize copied source for brand, timing, and layout — following the animation rules above.

Agent indexes

CLI (agent-friendly)

npx remotion-ui init --existing          # bootstrap remotion-ui.json
npx remotion-ui doctor --json            # diagnose setup
npx remotion-ui search -q caption --json
npx remotion-ui view social-clip --json
npx remotion-ui list --json
npx remotion-ui add social-clip caption-highlight

Existing Remotion projects

cd your-remotion-project
npx remotion-ui init --existing
npx remotion-ui add social-clip
npm run dev

Composition-first defaults

Goal Flagship composition
9:16 social clip social-clip
Creator reel creator-reel
Podcast clip podcast-clip
Data explainer data-story
Product launch intro
檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 RemotionUI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.