AgentSkillsCN

remotion-best-practices

管理个人知识捕获系统。当用户希望记录创意、追踪待办事项、整理项目、回顾自己的思维导图,或提及“思维导图”、“脑力激荡”、“捕捉这一刻”、“加入我的清单”、“我目前有哪些任务?”、“我该重点关注什么?”或“每日复盘”时可使用此技能。

SKILL.md
--- frontmatter
name: remotion-best-practices
description: Best practices for Remotion - Video creation in React
metadata:
  tags: remotion, video, react, animation, composition

When to use

Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.

Critical: Trimming Videos

NEVER trim videos with one-off ffmpeg commands. Always use a script approach:

  1. Create scripts/trim-videos.sh that trims ALL source files
  2. Output to public/trimmed/ subfolder (keep originals untouched)
  3. Reference trimmed files in your composition
  4. Re-run script when timestamps change

See rules/troubleshooting.md for the full script template.

How to use

Read individual rule files for detailed explanations and code examples: