visual-mode
Guidance for working on Remotion Studio Visual Mode, sequence identity, node paths, symbolicated stacks, override IDs, and hot reload behavior. Use when implementing or debugging visual editing of Sequences.
Install
git clone https://github.com/remotion-dev/remotion /tmp/remotion && ln -s /tmp/remotion/.agents/skills/visual-mode ~/.claude/skills/visual-mode
From README
Fields overrideId -> does keep the identity the same of a sequence, even if the file / line / column changes Sequence stack -> changes on hot reload. shared by multiple sequences which have different overrideIds Sequence file, line, column (symbolicated stack) -> does not change, but needs to be calculated asyn nodePath -> same identity, even if line, stack and overrideId changes. async nodePath + index is ideal way to keep track of the expanded state. that’s the end goal. Once nodePath is mapped to overrideId, it doesn’t change otherwise component would remount and overrideId works change. If the same stack is found already used by another sequence, we re-use the overrideId. nodePath to symbolicated stack could theoretically change on every file change. but multiple sequences can share the same stack and then they all have the same nodePath.
More from this repo
pr-name
Used to review or correct a Remotion pull request title
add-cli-option
Used to add a new Remotion CLI or config option by creating an AnyRemotionOption, registering CLI parsing, wiring...
add-effect
Used to add a new effect to @remotion/effects, including implementation, package exports, docs, demos, preview images,...
