add-effect
Installation
SKILL.md
Add a new @remotion/effects effect
Use this skill when adding a new effect to @remotion/effects.
1. Pick the effect shape
- Prefer the WebGL2 backend for new effects. Use 2D only when WebGL cannot express the effect.
- Use a single file at
packages/effects/src/<effect-name>.tsfor simple effects. - Use a folder at
packages/effects/src/<effect-name>/plus a top-level re-export file when the effect needs multiple shaders, runtime helpers, or multiple files. - Follow naming already used by the package:
- File/subpath: kebab-case (
chromatic-aberration) - Function: camelCase (
chromaticAberration) - Type: PascalCase params (
ChromaticAberrationParams) - Effect type string:
remotion/<kebab-case-name>
- File/subpath: kebab-case (
2. Implement the effect
In the effect file: