Skip to content

🎥 Make videos programmatically with React

Add new rules do Claude skill

Igor Samokhovets8cc3f60730c0
diff --git a/.claude/skills/writing-docs/SKILL.md b/.claude/skills/writing-docs/SKILL.md
index 60db8f3e4f..f0a91fce2c 100644
--- a/.claude/skills/writing-docs/SKILL.md
+++ b/.claude/skills/writing-docs/SKILL.md
@@ -14,6 +14,10 @@ Documentation lives in `packages/docs/docs` as `.mdx` files.
3. Write the content following guidelines below
4. Run `bun render-cards.ts` in `packages/docs` to generate social preview cards
+**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. 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.
+
## Language guidelines
- **Keep it brief**: Developers don't like to read. Extra words cause information loss.