/kernel-ui:kernel-ui-migratefrom Kernel UI
Migrates React apps from shadcn/ui or Radix Primitives to Kernel UI by swapping imports and props. Use when replacing @/components/ui/* or @radix-ui/react-* imports.
Ships in Kernel UI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Kernel ships as npm packages. It doesn't copy component source into your repo, so a migration swaps imports and props rather than editing local component files.
npx @kernelui-lib/cli check <files> (or the MCP check_code tool). It flags every @/components/ui/* and @radix-ui/react-* import that has a Kernel equivalent. npx @kernelui-lib/cli doctor gives a project-wide summary.npx @kernelui-lib/cli docs <shadcn-name> accepts shadcn names: input resolves to TextField and sheet to Sheet. It lists the Kernel exports and migration caveats. MCP get_component gives the same, with exact props.kernel check again. It reports leftover foreign props with Kernel's name for each.| shadcn / Radix | Kernel |
|---|---|
asChild + child element | render={<a href="…" />} |
<Button size="icon"> with an icon child | <Button aria-label="…" iconStart={<Icon />} /> |
| Icon placed inside button text | iconStart / iconEnd |
onCheckedChange on Checkbox / Switch | same name, onCheckedChange |
Select / SelectTrigger / SelectContent / SelectItem | <Select label="…"> with SelectOption children (a real <select>) |
Dialog + DialogTrigger + DialogContent | <Dialog open onOpenChange title description>, with your own trigger Button |
Input + Label + FormMessage | <TextField label description invalid errorMessage> |
cn() / className overrides with Tailwind colours | Kernel tokens: var(--kernel-color-*), or the Tailwind bridge @kernelui-lib/styles/tailwind.css |
label, even when it's hidden with hideLabel. shadcn's bare <Input placeholder> pattern has no direct equivalent.<dialog> and the Popover API, so focus trapping, Escape and the top layer come from the browser. Don't port Radix portal or focus-trap workarounds.components/ui/* files only once nothing imports them. Kernel's styles come from @kernelui-lib/styles and @kernelui-lib/react/styles.css.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
migration, shadcn-to-kernel, radix-to-kernel, component-swap
4 skills in this plugin
/kernel-uiBuild or change React UI with Kernel UI (@kernelui-lib/react), a component library on real semantic HTML. Use whenever a project depends on @kernelui-lib/react and you write or review screens, forms, dialogs, menus, tables or chat/agent UI./kernel-ui-elementsBuild UI with Kernel UI's framework-free Custom Elements (@kernelui-lib/elements, <kernel-*> tags) in plain HTML, Astro, Vue, Svelte or any framework. Use whenever a project depends on @kernelui-lib/elements./kernel-ui-themingTheme a Kernel UI app (accent colour, radius, spacing, fonts, dark mode, icon sets) through @kernelui-lib/styles tokens. Use when asked to restyle, rebrand, change roundness or colours, or match a design.npx claudepluginhub kemiljk/kernel-ui --plugin kernel-uiOther plugins' skills for the same job