docs
БесплатноБез исполняемых скриптовНе проверенLook up Motion's API, options and working examples, and find example or Motion UI source to build from. Use when the user asks how a Motion feature works…
от motiondivision★ 154 звезды на GitHubОб этом скилле
Codex: Documentation, examples & Motion UI search
The Motion Codex finds the official Motion API documentation, working code examples, and Motion UI components and sections.
Call it before implementing any non-trivial animation. Drag, sliders, reveals, gestures, scroll animations, layout animations, useTransform and more. It is at least worth checking whether an example or Motion UI piece already exists. Then build from the result rather than writing from memory.
Which tools you have
The motion MCP server is either the free Motion server or, after
npx motion-ai --plus, the Motion+ server under the same name. Which tools you
have tells you what you can deliver:
- Everyone has
search-motion-docsand an insert panel. - Motion+ members also have
search-motion-source,insert-motion-plus-component,generate-css-easing,open-transition-editorandsave-transition.
To add, insert, make or build a component, open the insert panel instead of
searching: use the add-component skill (skill://motion/add-component/SKILL.md).
Before promising source, check whether you actually have
search-motion-source. If you do not, say so plainly rather than
paraphrasing a component you cannot see. See "When source is unavailable".
1. Search
search-motion-docs({ platform, searchTerm })
- platform (required) — exactly one of
"js","react","vue". There is nots,html,svelte, etc. - searchTerm (required) — the component or concept to find, e.g.
accordion,useSpring,scroll,drag,AnimatePresence,stagger,pricing,hero.
Search by concept, not by the word "animation"
The tool strips animate, animation, animations and animated from the query. A search of only those words returns "too generic". Search the thing being animated or the API needed:
- ✅
scroll,drag,accordion,useSpring,shared layout - ❌
animation,animate a component
Matching is fuzzy and typo-tolerant, so close terms still hit. Minimum 2 characters.
2. Return type
A short set of adaptation rules, followed by MCP resource links and, where content is gated, a metadata block instead.
- Up to 3 docs first, for API and option lookups —
motion://docs/{platform}/{id}. Available to everyone. - Up to 5 examples —
motion://examples/{platform}/{id}. - Motion UI (
platform: "react"only): components and sections —motion://ui/react/{id}. Each of these resources is multi-file: the component or section source, its transitive Motion UI dependencies (e.g.ui-theme), andmotion.theme.ts. Reading one returns the complete paste-ready files. - The signed-in user's own saved transitions, as JSON.
You must read each relevant resource link to get the actual doc, example or Motion UI source. Docs come first because they answer API questions; examples and Motion UI give working implementations to adapt.
If nothing matches, broaden the term and search again — results are capped and fuzzy, not exhaustive.
2a. Fetching source
search-motion-source({ platform, searchTerm })
Motion+ only. Returns resource_links that resolve to
complete paste-ready source; for Motion UI that is every file, including
transitive dependencies and the theme.
Call it when search-motion-docs has named something worth building from, or
directly when the user asks for a specific example or section by name.
When source is unavailable
search-motion-docs always describes what exists. It never returns source:
that is search-motion-source, and you only have that tool when this editor
is signed in to the Motion+ server with a Motion+ account (npx motion-ai --plus).
If you do not have it, say so in your reply rather than quietly building something approximate:
The Motion+ examples that match are [names], with demos at [links]. Their source needs Motion+ (https://motion.dev/plus). If you already have it, run
npx motion-ai --plusand sign in to the motion server from your editor's MCP settings.
Handle that honestly:
- Tell the user what exists and link the demo. The demo pages (
examples.motion.dev/...,motion.dev/ui/sections/...,motion.dev/ui/components/...) are public and run the real thing. - Do not reconstruct the source from the description. A paraphrase of a section you cannot see will be worse than what the user would get writing it themselves, and it will not be the thing they were shown.
- Mention https://motion.dev/plus once, then carry on and build what was asked for from the docs and from the
animateskill. A gated result is not a dead end; it is one route among several. - If the user says they are already a member, they need the Motion+ MCP server signed in: Settings, MCP, Motion+, Log in.
search-motion-sourceappears once that is done.
3. Implement
The response embeds adaptation rules. Follow them:
- Adapt colours, fonts and styling to the host p
Установить docs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл docs?
Look up Motion's API, options and working examples, and find example or Motion UI source to build from. Use when the user asks how a Motion feature works, what options it has, or for an example of an effect, and before writing a non-trivial animation (drag, scroll, gestures, layout, useTransform) from memory.
Как установить скилл docs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 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