Individual skill
base-ui-migrator
Migrates React UI code to Base UI (`@base-ui/react`) — replacing bespoke modals, custom dropdowns, raw `<dialog>`/`<select>` elements, ad-hoc popovers/menus/tooltips, or other component libraries (Radix UI, Headless UI, Reach UI). Ships a 37-component catalog (snapshotted from base-ui.com/llms.txt) and scripts to refresh it, scan for migration candidates, and verify the migration compiles. Triggers on phrases like "migrate to base-ui", "use base-ui instead of X", "replace this dialog/popover/menu with base-ui", or when scanning a React codebase for components Base UI can replace. Trigger even if the user only mentions one component (e.g., "swap this modal for base-ui dialog") — the workflow scales from one file to a whole repo.
skills/.experimental/base-ui-migrator/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- design Derived category
- operations Derived category
- engineering Derived category
- design-interface Derived category
- engineering-web Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,119 bytesSKILL.mdcore · 9,119 bytesSKILL.mdcore · 9,119 bytesSKILL.mdcore · 9,119 bytesSKILL.mdcore · 9,119 bytesSKILL.mdcore · 9,119 bytesassets/data/components/.gitkeepasset · 0 bytesassets/data/components/accordion.mddoc · 38,458 bytesassets/data/components/alert-dialog.mddoc · 76,371 bytesassets/data/components/autocomplete.mddoc · 284,890 bytesassets/data/components/avatar.mddoc · 10,966 bytesassets/data/components/button.mddoc · 10,250 bytesassets/data/components/checkbox-group.mddoc · 27,531 bytesassets/data/components/checkbox.mddoc · 21,634 bytesassets/data/components/collapsible.mddoc · 16,501 bytesassets/data/components/combobox.mddoc · 331,107 bytesassets/data/components/context-menu.mddoc · 137,731 bytesassets/data/components/dialog.mddoc · 139,261 bytesassets/data/components/drawer.mddoc · 176,734 bytesassets/data/components/field.mddoc · 35,449 bytesassets/data/components/fieldset.mddoc · 8,729 bytesassets/data/components/form.mddoc · 26,355 bytesassets/data/components/input.mddoc · 7,743 bytesassets/data/components/menu.mddoc · 265,037 bytesassets/data/components/menubar.mddoc · 29,512 bytesassets/data/components/meter.mddoc · 15,636 bytesassets/data/components/navigation-menu.mddoc · 157,808 bytesassets/data/components/number-field.mddoc · 59,368 bytesassets/data/components/otp-field.mddoc · 57,730 bytesassets/data/components/popover.mddoc · 157,919 bytesassets/data/components/preview-card.mddoc · 120,725 bytesassets/data/components/progress.mddoc · 19,483 bytesassets/data/components/radio.mddoc · 25,141 bytesassets/data/components/scroll-area.mddoc · 43,659 bytesassets/data/components/select.mddoc · 159,644 bytesassets/data/components/separator.mddoc · 7,256 bytesassets/data/components/slider.mddoc · 62,397 bytesassets/data/components/switch.mddoc · 20,070 bytesassets/data/components/tabs.mddoc · 38,421 bytesassets/data/components/toast.mddoc · 161,243 bytesassets/data/components/toggle-group.mddoc · 27,620 bytesassets/data/components/toggle.mddoc · 12,655 bytesassets/data/components/toolbar.mddoc · 39,434 bytesassets/data/components/tooltip.mddoc · 139,588 bytesassets/data/llms.txtdoc · 11,136 bytesconfig.jsonasset · 1,026 bytesgotchas.mddoc · 5,174 bytesmetadata.jsonasset · 1,176 bytesreferences/catalog.mddoc · 12,220 bytesreferences/migration-patterns-primitives.mddoc · 12,604 bytesreferences/migration-patterns.mddoc · 25,443 bytesreferences/styling-notes.mddoc · 7,440 bytesreferences/workflow.mddoc · 8,996 bytesscripts/fetch-component-doc.shruns · 2,152 bytesscripts/refresh-catalog.shruns · 3,693 bytesscripts/scan-candidates.shruns · 8,863 bytesscripts/verify-migration.shruns · 5,609 bytes
Read excerpt
# Base UI Migrator
Automated workflow that converts bespoke React UI primitives and other component libraries to [Base UI](https://base-ui.com) (`@base-ui/react`).
Base UI is the unstyled successor to Radix UI, maintained by the Material UI team and Radix authors. It exposes the same composition model (`Root` + parts) but with a single canonical API, modern data attributes for state styling, and built-in transitions. This skill knows the full catalog (37 components, snapshotted) and how to map common bespoke patterns to it.
## When to Apply
Use this skill when:
- The user explicitly asks to migrate to Base UI, or to a specific Base UI component.
- You spot a React file with bespoke overlays — manual modals, dropdown menus built from `useState` + click-outside hooks, floating UI compositions — that have a Base UI equivalent.
- The codebase uses Radix UI, Headless UI, Reach UI, or react-aria components — these are 1:1 mappable to Base UI.
- The user wants to consolidate a fragmented set of UI primitives behind one library.
- The user wants to scan a directory for migration opportunities.