What problem does it solve?
Adding a new command-line flag or Remotion config option requires touching multiple packages, registering the option in several indexes, and keeping documentation in sync. This Skill provides a single, repeatable procedure so the option behaves identically across CLI, config, and Studio.
Core Features & Use Cases
- Option Definition Pattern: Create an
AnyRemotionOption in packages/renderer/src/options/ with typed defaults, CLI flag, SSR name, doc link, getter, and setter.
- Cross-Package Wiring: Register the option in the renderer index, CLI parsed flags, command-line types, and the Config object.
- Documentation Sync: Update CLI command pages and
config.mdx to use the <Options id="..." /> component as the single source of truth.
- Use Case: Convert a hardcoded
--my-flag boolean into a first-class Remotion option so it can be set via CLI, Config.setMyFlagEnabled(), and surfaced in docs without duplication.
Quick Start
Add a new boolean Remotion CLI option called my-flag by creating the AnyRemotionOption definition, registering it across the renderer and CLI packages, wiring the Config setter, and updating the docs to use the Options component.