remotion-best-practices
Installation
SKILL.md
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:
- Create
scripts/trim-videos.shthat trims ALL source files - Output to
public/trimmed/subfolder (keep originals untouched) - Reference trimmed files in your composition
- 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: