add-sfx
Add a new sound effect to @remotion/sfx
Install
git clone https://github.com/remotion-dev/remotion /tmp/remotion && ln -s /tmp/remotion/.agents/skills/add-sfx ~/.claude/skills/add-sfx
From README
Prerequisites Sound effects must first be added to the remotion.media package. Then it can be deployed using bun run build. The .env may be missing if we are in a worktree, but on the main non-worktree branch it should be present. The source of truth is generate.ts in that repo. A sound effect must exist there before it can be added to @remotion/sfx. Sound effects must be: WAV format CC0 (Creative Commons 0) licensed Normalized to peak at -3dB Steps Add to remotion.media repo (must be done first) In the remotion-dev/remotion.media repo: Add the WAV file to the root of the repo Add an entry to the soundEffects array in generate.ts: Run bun generate.ts to copy it to files/ and regenerate variants.json Deploy Add the export to packages/sfx/src/index.ts Use camelCase for the variable name. Avoid JavaScript reserved words (e.g. use uiSwitch not switch). Create a doc page at packages/docs/docs/sfx/ .mdx Follow the pattern of existing pages (e.g. whip.mdx).
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,...
