writing-docs
БесплатноБез исполняемых скриптовНе проверенGuides for writing and editing Remotion documentation. Use when adding docs pages, editing MDX files in packages/docs, or writing documentation content.
от remotion-dev★ 77 030 звёзд на GitHubОб этом скилле
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.
API names in prose: Put API names in backticks, and link them if a docs page exists. Function and hook names should include (), for example useVideoConfig(), not useVideoConfig or useVideoConfig. Components should include angle brackets, for example <Player> or <Audio>.
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.
Version indicators: If an API, feature, parameter, or behavior was added in a specific version, add <AvailableFrom> to the heading of the page, section, or field where the reader first needs to know it. For example: # prefetch()<AvailableFrom v="4.0.0" />. Only use <AvailableFrom> in headings; in prose, lists and tables, write the version as plain text, for example "From v4.0.540, ...".
Compatibility tables: API pages should ideally include a ## Compatibility section with <CompatibilityTable> before ## See also.
Sidebar order: When adding or moving docs in packages/docs/sidebars.ts, inspect the surrounding entries and match the ordering logic already used there. If a section is alphabetical, place the new entry alphabetically; if it is grouped by workflow or importance, place it consistently with that grouping. Do not leave new additions as one-off outliers.
Language guidelines
- Keep it brief: Developers don't like to read. Extra words cause information loss.
- Link to terminology: Use terminology page for Remotion-specific terms.
- Do not bold terms: Write terms as plain text, code spans, or links as appropriate. Do not use bold formatting to introduce a term.
- Use sentence case: Page titles, headings and option names capitalize only the first word, as in "Audio codec", not "Audio Codec". Proper nouns and product names keep their capitalization, as in "Enable Lambda Insights" or "Override FPS".
- Avoid emotions: Remove filler like "Great! Let's move on..." - it adds no information.
- Separate into paragraphs: Break up long sections.
- Don't blame the user: Say "The input is invalid" not "You provided wrong input".
- Don't assume it's easy: Avoid "simply" and "just" - beginners may struggle.
Voice: "we" and "you"
A reader of a guide or an example hasn't decided to do anything yet. Don't assign them an intent, an action or knowledge with "you".
- Describe examples and code by what they do. Make the example, the code or the value the subject.
- Bad: "In this example, you are interpolating colors. At frame 0, you want the color to be red."
- Good: "This example interpolates colors. At frame 0, the color should be red."
- Bad: "Add
userSelect: 'none'to disable selection." (explaining code that is already shown) - Good: "
userSelect: 'none'disables selection."
- Use the imperative for steps the reader is actively following, such as "Click Render" or "Run
npx remotion lambda sites create". - Use "you" for the reader's real options, choices and situation: "Allows you to…", "If you want to…", "You can use any web framework…", "your project".
- Don't tell the reader what they want, need or know: write "it is not needed" or "requires some code", not "you don't need it" or "you need to write some code".
- Use "we" for the Remotion team: recommendations ("We recommend…"), plans, hopes, and what the team does to the product ("As we test it, we might change the API"). Prefer this over passive voice ("This issue is hoped to be fixed soon") or "Remotion recommends".
- Use "Let's" only to open a guided walkthrough, such as "Let's build the demo above.", not as filler.
Code snippets
Basic syntax highlighting:
```ts
const x = 1
Установить writing-docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл writing-docs?
Guides for writing and editing Remotion documentation. Use when adding docs pages, editing MDX files in packages/docs, or writing documentation content.
Как установить скилл writing-docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл writing-docs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic