Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides for writing and editing Remotion documentation. Use when adding docs pages, editing MDX files in packages/docs, or writing documentation content.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 14% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -37% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 38% | 0% |
Documentation lives in packages/docs/docs as .mdx files.
.mdx file in packages/docs/docspackages/docs/sidebars.tsbun render-cards.ts in packages/docs to generate social preview cardsOne 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. This is the established pattern throughout the codebase.
Public API only: Documentation is for public APIs only. Do not mention, reference, or compare against internal/private APIs or implementation details. Users should only see what is exported and intended for public use.
Use headings for all fields: When documenting API options or return values, each property should be its own heading. Use ### for top-level properties and #### for nested properties within an options object. Do not use bullet points for individual fields.
Basic syntax highlighting:
`md
const x = 1;
Use twoslash to check snippets against TypeScript:
`md
import {useCurrentFrame} from 'remotion'; const frame = useCurrentFrame();
Use // ---cut--- to hide setup code - only content below is displayed:
`md
import {useCurrentFrame} from 'remotion'; // ---cut--- const frame = useCurrentFrame();
`md
console.log('Hello');
md- <Step>1</Step> First step - <Step>2</Step> Second step
md<ExperimentalBadge> <p>This feature is experimental.</p> </ExperimentalBadge>
md<Demo type="rect"/>
Demos must be implemented in packages/docs/components/demos/index.tsx.
After adding or editing a page, generate social media preview cards:
bashcd packages/docs && bun render-cards.ts
To check that documentation builds without errors:
bash# from the monorepo root bun run build-docs
This validates MDX syntax, twoslash snippets, and broken links.
Other measured skills in the registry, with their headline benchmark lift.