add-component
БесплатноБез исполняемых скриптовНе проверенAdd a ready-made animated component or section from Motion's library: carousel, accordion, tabs, marquee, ticker, pricing, hero, testimonials, navigation and…
от motiondivision★ 154 звезды на GitHubОб этом скилле
Insert panel: adding a Motion component
When the user asks to add, insert, make or build something animated, open Motion's insert panel rather than choosing for them. The panel shows Motion's library of Motion UI components and sections and examples, with live previews and MotionScore grades, opened on what they asked for. The user picks one, and the pick arrives as a new message that names what to add and where its source is.
Which tool
Use the insert tool you have. Prefer the Motion+ one when it is there.
insert-motion-plus-component(Motion+ members): every item is open, and each pick reads paste-ready source.insert-motion-component(everyone else): free examples are open. Motion+ items show as locked, with a link to https://motion.dev/plus.
insert-motion-plus-component({ platform, query })
insert-motion-component({ platform, query })
- platform (required): exactly one of
"js","react","vue", from the project's package.json. - query: the subject of the request. Leave it out when the user named nothing.
| Request | query |
|---|---|
| "/motion make accordion", "build an accordion" | "accordion" |
| "add a pricing section" | "pricing" |
| "/motion insert", "/motion add" | leave it out |
Search the thing, not the word "animation": carousel, drag, hero.
After the call
- In a host that shows the panel (Claude, ChatGPT, Cursor 2.6 and later, VS Code), say one line, such as "Pick one from the panel," and stop. Do not choose for the user or start building before the pick arrives.
- When the pick arrives, read the resource it names and build from it,
following "Implement" in the
docsskill (skill://motion/docs/SKILL.md). For Motion UI, paste and adapt every file. - In a host without MCP Apps (most terminals), nothing renders. The text of the result lists the matches as resource_links, like a search. With a query, offer the best few matches by name and ask which to add, or build from the best match when the request was specific. Without a query, ask what to build, then call the tool again with it.
- A locked pick (Motion server, no Motion+): follow "When source is
unavailable" in the
docsskill (skill://motion/docs/SKILL.md). Do not reconstruct it from its description.
When not to use it
- Questions about an API or an option ("what does
layoutdo"): usesearch-motion-docs. - Animating something that already exists in the project ("fade this modal
in"): use the
animateskill (skill://motion/animate/SKILL.md). - The user named an exact Motion+ example or section and wants its source:
search-motion-sourcegets it without a pick.
Установить add-component в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл add-component?
Add a ready-made animated component or section from Motion's library: carousel, accordion, tabs, marquee, ticker, pricing, hero, testimonials, navigation and more. Use when the user asks to add, insert, make or build one of these. For modals and dialogs use the modal skill instead.
Как установить скилл add-component?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-component запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic