add-sfx

remotion-dev/remotion · updated Apr 8, 2026

$npx skills add https://github.com/remotion-dev/remotion --skill add-sfx
0 commentsdiscussion
summary

Sound effects must first be added to the 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.

skill.md

Prerequisites

Sound effects must first be added to the 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 be:

  • WAV format
  • CC0 (Creative Commons 0) licensed
  • Normalized to peak at -3dB

Steps

1. Add to remotion.media repo (must be done first)

In the remotion-dev/remotion.media repo:

  1. Add the WAV file to the root of the repo
  2. Add an entry to the soundEffects array in generate.ts:
    {
      fileName: "my-sound.wav",
      attribution:
        "Description by Author -- https://source-url -- License: Creative Commons 0",
    },
    
  3. Run bun generate.ts to copy it to files/ and regenerate variants.json
  4. Deploy

2. 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).

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
  • Description
  • Example code using @remotion/media's <Audio> component
  • Value section with the URL in a fenced code block
  • Duration section (fetch the file and use afinfo on macOS to get duration/format)
  • Attribution section with source link and license
  • See also section linking to related sound effects

4. Register in sidebar and table of contents

  • packages/docs/sidebars.ts — add 'sfx/<name>' to the @remotion/sfx category items
  • packages/docs/docs/sfx/table-of-contents.tsx — add a <TOCItem> with a <PlayButton size={32}>

5. Update the skills rule file

Add the new URL to the list in packages/skills/skills/remotion/rules/sfx.md.

6. Build

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

Version

Use the current version from packages/core/src/version.ts. For docs <AvailableFrom>, increment the patch version by 1.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.626 reviews
  • Min Malhotra· Dec 8, 2024

    add-sfx has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Chaitanya Patil· Dec 4, 2024

    Solid pick for teams standardizing on skills: add-sfx is focused, and the summary matches what you get after install.

  • Xiao Kapoor· Nov 27, 2024

    add-sfx fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Piyush G· Nov 23, 2024

    We added add-sfx from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Diego Chen· Nov 3, 2024

    add-sfx is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Sakura Khan· Oct 22, 2024

    Keeps context tight: add-sfx is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Xiao Sharma· Oct 18, 2024

    We added add-sfx from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Shikha Mishra· Oct 14, 2024

    add-sfx fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Ren Khan· Sep 13, 2024

    add-sfx has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Omar Malhotra· Sep 9, 2024

    Useful defaults in add-sfx — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 26

1 / 3