animate-onboarding
БесплатноЗапускает вложенные скриптыНе проверенAnimate a tap-through onboarding or web funnel (quiz, survey, web2app flow) so the motion tells the flow's story — each page-to-page hand-off gets its own…
от superwall★ 32 звезды на GitHubОб этом скилле
Animate Onboarding
Make an onboarding flow move like it means something. The pages, answer capsules, progress bar and buttons already exist; this skill changes only how they move — so the reader feels the story the questions tell, and the tap on an answer is visibly what moves them forward.
Where the flow lives: a Superwall surface
An onboarding is a screen the team will want to change after shipping —
reorder a question, cut a step, try a new statement — without an app release.
That is what the superwall framework is for: the flow is one surface in
superwall/ (config.ts plus one page per screen in app/, shared chrome in
layout.tsx), previewed on every device in superwall dev, pushed as an
immutable version and switched live from the dashboard. Everything in this
skill assumes that shape, and the engine below is mapped onto its router:
- A page is a route and the router owns every page change
(
router.push,router.back,useRouter()fromsuperwall/navigation). Never build a page swapper, a custom router or a cloned outgoing page: the leaving page stays mounted while it animates away, so there is nothing to clone. The only script in a hand-off is the shared-element flight that rides on top of the router's transition (a thin wrapper arounduseRouter,references/framework/useStoryRouter.ts, that measures, callsrouter.push, and measures again). - A hand-off is a custom transition name on the page being entered
(
export const transition = "story-picture"), styled through the router's four phases (enter,recede,leave,return) on[data-sw-route]. - The progress bar, back button and primary button live in
layout.tsx, so the chosen answer has something persistent to fly into. - The first page's entrance gates on presentation (
useSuperwallSnapshot ().paywall !== undefined), never mount: the SDK preloads surfaces hidden.
Read the superwall-framework skill before touching the flow (install it if
it isn't there: npx skills add https://github.com/superwall/skills --skill superwall-framework --global --yes --agent claude-code universal --full-depth); its references/mobile-design.md carries the touch, motion
and type rules this skill builds on. A flow that is not a surface yet (a
native onboarding, a hand-rolled web funnel) is worth proposing as one first
(superwall create, or superwall migrate --screen <path> for a native
screen); the user decides. Only if they keep their own web runtime does
references/web-runtime/ apply, and never on a surface.
The direction comes from Emil Kowalski's design engineering and Apple's
fluid interfaces (both folded into mobile-design.md), the idea that every
hand-off is tied to the copy of the two pages it joins, and a long round of
direct feedback on a shipped funnel (Reflective's discovery flow). The
direction below is that feedback. It outranks general taste.
The one rule: Frame A → Frame B share one geometry, at every moment
When element A transforms into element B, A and B must have exactly the same geometry — size, position, corner radius, blur — on every frame of the transition. Not "close". Not "driven by the same numbers". The same.
Two separate animated copies (A's and B's), each with its own clip, transform and blur, will drift apart: A's own rounded ends, a border, a margin, a different blur, a rounding difference. The eye catches a 1px mismatch instantly, and the whole morph reads as broken.
So build every A → B as one frame with two faces (references/morphFrame.ts):
a single element owns all of the geometry (the clip is the only outline, one
transform, one blur), and A and B are faces that fill it and only crossfade.
They cannot differ in geometry, because there is only one.
const answer = fillFace(answerEl, answerRect); // capture A before the page swaps
// …swap the page…
morph({
from: { rect: answerRect, radius: answerRect.height / 2 },
to: { rect: photoRect, radius: 20 },
faces: { from: answer, to: photoFace(photoEl) },
duration: 504,
});
Faces: photoFace(img), fillFace(el, rect) (answers, buttons: its colour
fills the frame, its content sits where it rests), colorFace(color)
(backgrounds). Recipes for every case are in references/handoffs.md. Never
hand-roll an A → B morph as two layers.
Check it: the frame must start exactly on A's rect and radius and end exactly on B's, so the handover to the live elements is pixel-exact.
References — read when you reach that part:
references/framework/— the engine on the superwall framework, as shipped in theanimated-onboardingexample (superwall create --example animated-onboardinggives the whole project):handoffs.ts(every hand-off, both directions, cleanup),useStoryRouter.ts(router.push/backinside the hand-off),motion.css(exits and entrances on the router's phases),layout.tsx(chrome and the motion layer), `Quest
Установить animate-onboarding в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл animate-onboarding?
Animate a tap-through onboarding or web funnel (quiz, survey, web2app flow) so the motion tells the flow's story — each page-to-page hand-off gets its own choreography tied to what the two pages say, the chosen answer physically becomes the progress it earns or the next page's hero, and everything stays fluid, physical and smooth on real phones. Built for flows shipped as Superwall surfaces (the superwall framework: pages, router transitions, layout chrome), with the engine mapped onto the router; the same direction applies to any tap-through web flow. Motion only; no new screens. Use when the user asks to "animate the onboarding", "make the funnel feel premium", "add transitions between onboarding pages", or when a flow's page transitions feel flat, generic, choppy, or cheap.
Как установить скилл animate-onboarding?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл animate-onboarding запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic