
Writing Docs
This is a comprehensive style guide for writing Remotion's API documentation, covering everything from file structure to voice and tone. You'll want this when documenting React components, CLI tools, or any public API in the Remotion ecosystem. The guidelines are opinionated in useful ways: one API per page, headings for every parameter instead of bullet lists, type-checked code snippets using twoslash, and strict rules about optional parameters. It includes MDX components for version badges, compatibility tables, and interactive demos. The language section is particularly solid, pushing for brevity and discouraging assumptions about difficulty. If you're maintaining technical docs for a TypeScript library, you could adapt most of this directly.
- skills.sh installs
- 2.9K
- GitHub stars
- 72.1K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add remotion-dev/remotion --skill writing-docs --agent claude-codeInstalls into .claude/skills of the current project.
Files
Writing Remotion Documentation
Documentation lives in packages/docs/docs as .mdx files.
Adding a new page
- Create a new
.mdxfile inpackages/docs/docs - Add the document to
packages/docs/sidebars.ts - Write the content following guidelines below
- Run
bun render-cards.tsinpackages/docsto generate social preview cards
Breadcrumb (crumb): If a documentation page belongs to a package, add crumb: '@remotion/package-name' to the frontmatter. This displays the package name as a breadcrumb above the title.
---
image: https://remotion.media/docs/generated/articles-docs-my-package-my-api.png
title: '<MyComponent>'
crumb: '@remotion/my-package'
---
One API per page: Each function or API should have its own dedicated documentation page. Do not combine multiple APIs (e.g., getEncodableVideoCodecs() and getEncodableAudioCodecs()) on a single page.
Public API only: Documentation is for public APIs only. Do not mention, reference, or compare against internal/private APIs or implementation details.
Sponsors
Details
- Repository
- github.com/remotion-dev/remotion
- Categories
- Documentation, Generative Media
- First seen
- Apr 16, 2026