add · remocn — скилл для Claude Code: что делает и как установить
Скилл add ставит отдельные компоненты Remocn в проект Remotion через shadcn CLI, настраивает тайминги и оборачивает их в Sequence.
MIT 478 установок ★ 1 831 обновлён 2026-10-23
npx skills add Remocn/remocn --skill add -a claude-codeЧто делает add
Ассистент помогает выбрать и внедрить один элемент remocn — анимацию, переход или плашку. Если точное имя не задано, скилл подбирает варианты через каталог remocn.dev/llms-components.txt, изучает документацию компонента и предупреждает об ограничениях из блока Avoid for.
Перед установкой проверяется файл components.json. Если реестр @remocn ещё не подключён, скилл запускает настроечный скрипт setup.mjs. Затем выполняется npx shadcn add @remocn/<name>, а код встраивается в композицию: для переходов используется TransitionSeries, а для визуальных блоков задаётся <Sequence durationInFrames> с учётом длительности анимации.
Финальным шагом скилл проверяет типы через npx tsc --noEmit и генерирует тестовый кадр командой npx remotion still. Без установленного Remotion и TypeScript скилл не сработает.
Какие задачи решает
- подобрать и установить отдельный компонент remocn через shadcn
- рассчитать длительность Sequence под хронометраж анимации
- встроить переход в TransitionSeries с нужным таймингом
- проверить отрисовку анимации на стоп-кадре через remotion still
Примеры запросов агенту
- Добавь компонент глитч-заголовка из remocn в текущую композицию
- Установи быстрый переход между сценами и настрой TransitionSeries
- Поставь фоновую анимацию из remocn на 90 кадров
Как установить add
1Через Skills CLI (Vercel)
npx skills add Remocn/remocn --skill add -a claude-code2Вручную: положить файлы
~/.claude/skills/add/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/add/
1Через Skills CLI (Vercel)
npx skills add Remocn/remocn --skill add -a codex2Вручную: положить файлы
.agents/skills/add/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Remocn/remocn --skill add -a cursor2Вручную: положить файлы
.cursor/skills/add/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Remocn/remocn plugins/remocn/skills/add2Вручную: положить файлы
.github/skills/add/SKILL.md1Через Skills CLI (Vercel)
npx skills add Remocn/remocn --skill add -a gemini-cli2Командой платформы
gemini skills install https://github.com/Remocn/remocn --path plugins/remocn/skills/addВручную: положить файлы
.devin/skills/add/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Remocn/remocn --skill add -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об add
Как установить add в Claude Code?
Выполните команду npx skills add Remocn/remocn --skill add -a claude-code. Конфигурация запишется в ~/.claude/skills/add/SKILL.md.
Что делает скилл add?
Он находит компонент remocn по названию или описанию, скачивает его через npx shadcn add и вставляет в проект с правильной длительностью кадров.
Что происходит, если в components.json нет реестра remocn?
Скилл автоматически запускает скрипт setup.mjs, который прописывает реестр @remocn перед установкой компонентов.
Исходный текст
SKILL.md · MIT
---
name: add
description: >
Install one remocn component into a Remotion project and show how to use it: read its docs page,
run shadcn add, and place it in a Sequence with the right length. Use when the user names a remocn
component to add, or asks for a single animation, transition, background or UI primitive rather
than a whole video.
---
# Add one remocn component
Requested: $ARGUMENTS
Load the `remocn` skill first for the tier conventions and Canvas & timing.
1. **Resolve the name.** If the request is an exact component name, use it. If it's a description
("a glitchy title", "a fast cut"), shortlist from `https://remocn.dev/llms-components.txt` and
offer the best two or three, each with its `Use for` line and length. Wait for the pick.
2. **Read its page.** Fetch the `.md` docs URL the index gives for it. Note the props, the example,
`Length` and any `Avoid for` note. If the avoid note matches what the user wants, say so and
suggest the replacement it names.
3. **Prepare the project once.** If `components.json` has no `@remocn` registry, run
`node "${CLAUDE_SKILL_DIR}/../video/scripts/setup.mjs" <project-root>` first (outside Claude
Code: `../video/scripts/setup.mjs` from this skill's folder). Its JSON result says which files it
wrote; relay any `warning`.
4. **Install.** `npx shadcn add @remocn/<name>`. Dependencies install transitively; list which
files landed.
5. **Use it.** Show a usage snippet built from the docs example, sized to the canvas, inside a
`<Sequence durationInFrames>` of at least its `Length` plus hold time. Transitions go into
`TransitionSeries.Transition` as `presentation` with `linearTiming`/`springTiming` at their
`Length`. If the user named a place in their code, put it there; otherwise ask where it goes.
6. **Check.** `npx tsc --noEmit`, then a still at the end of its motion
(`npx remotion still <composition> out/<name>.png --frame=<n>`) and look at it.
© Remocn · MIT · Remocn/remocn
Похожие скиллы
Все скиллы по теме «Фронтенд и UI» →Сначала — add от других авторов.