Download for macOS
Skill

add-new-package

@remotion-dev Updated 2026-10-22

Add a new package to the Remotion monorepo, including package scaffolding, monorepo registration, documentation, build scripts, and release checklist updates. Use when creating a new @remotion package.

javascriptreactvideo

Install

git clone https://github.com/remotion-dev/remotion /tmp/remotion && ln -s /tmp/remotion/.agents/skills/add-new-package ~/.claude/skills/add-new-package

From README

Add a new Remotion package Steps Create packages/ / with these files: package.json — copy from @remotion/light-leaks as template; update name, description, homepage, dependencies tsconfig.json — extends ../tsconfig.settings.json, uses the native TypeScript compiler with emitDeclarationOnly: true, outDir: "dist", module: "es2020", moduleResolution: "bundler", target: "ES2022" src/index.ts — exports bundle.ts — Bun build script, externalize react, remotion, remotion/no-react, react/jsx-runtime, react/jsx-dev-runtime, react-dom eslint.config.mjs — use remotionFlatConfig({react: true}) if React, {react: false} otherwise .npmignore — copy from @remotion/light-leaks README.md — package name, description, command, link to docs Register in monorepo: tsconfig.json (root) — add {"path": "./packages/ "} to references packages/cli/src/list-of-remotion-packages.ts — add '@remotion/ ' packages/create-video/src/list-of-remotion-packages.ts — add '@remotion/ '...