Skip to content

🎥 Make videos programmatically with React

Update SKILL.md

Jonny Burgere365c0855f50
diff --git a/.claude/skills/add-sfx/SKILL.md b/.claude/skills/add-sfx/SKILL.md
index f7bcbfb24f..82ac2a5e30 100644
--- a/.claude/skills/add-sfx/SKILL.md
+++ b/.claude/skills/add-sfx/SKILL.md
@@ -5,9 +5,13 @@ description: Add a new sound effect to @remotion/sfx
## Prerequisites
-Sound effects must first be added to the [remotion.media](https://github.com/remotion-dev/remotion.media) repository. 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 first be added to the [remotion.media](./packages/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
@@ -41,6 +45,7 @@ export const mySound = 'https://remotion.media/my-sound.wav';
### 3. Create a doc page at `packages/docs/docs/sfx/<name>.mdx`
Follow the pattern of existing pages (e.g. `whip.mdx`). Include:
+
- Frontmatter with `image`, `title` (camelCase export name), `crumb: '@remotion/sfx'`
- `<AvailableFrom>` tag with the next release version
- `<PlayButton>` import and usage
@@ -68,11 +73,11 @@ cd packages/sfx && bun run make
## Naming conventions
-| File name | Export name |
-|-----------|------------|
-| `my-sound.wav` | `mySound` |
-| `switch.wav` | `uiSwitch` (reserved word) |
-| `page-turn.wav` | `pageTurn` |
+| File name | Export name |
+| --------------- | -------------------------- |
+| `my-sound.wav` | `mySound` |
+| `switch.wav` | `uiSwitch` (reserved word) |
+| `page-turn.wav` | `pageTurn` |
## Version