Work on Mosaic UI: styling a component with slot recipes (defineSlotRecipe / useRecipe / slots / variants), or building a flow — authoring a state machine (setup, states/guards/invoke, wiring to React with useMachine/useActor/ useSelector), writing the controller (Clerk adapter) or view (rendering) layer, testing any of those layers, or migrating a legacy / pre-Mosaic component into the machine / controller / view split. Use when building, styling, debugging, testing, or migrating anything Mosaic. references/mosaic-architecture.md (repo root) holds the design-system contract; this skill is the how-to layer.
$npx -y skills add clerk/javascript --skill mosaicInstalls into the current project.
Run `npx skills use "https://github.com/clerk/javascript" --skill "clerk/javascript/mosaic"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/clerk/javascript" that are relevant to the current task. Run `npx skills add "https://github.com/clerk/javascript"` and select the relevant skills, then follow their instructions.