Radix To Base UI Migration
Developmentradix-to-base-ui-migrationRadix To Base UI Migration is an Agent Skill for development published in the vendurehq/vendure repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Migrates Vendure Dashboard extensions from Radix UI patterns to Base UI patterns (@vendure-io/ui).
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/vendurehq/vendure/blob/HEAD/skills/radix-to-base-ui-migration/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/radix-to-base-ui-migration, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Radix to Base UI Migration
Instructions
- If not explicitly stated by the user, find out which files or plugin they want to migrate.
- Scan the target files for any of the following Radix UI patterns:
asChildprop usage- Old form components (
FormField,FormItem,FormControl,FormLabel,FormMessage,FormDescription) - Direct
@radix-ui/*imports - Direct
@vendure-io/ui/*or@base-ui/react/*imports Accordionwithtype="single"orcollapsiblepropsSelectwithoutitemsprop
- Apply transformations using the appropriate reference docs:
- ./01-asChild-to-render.md
- ./02-form-components.md
- ./03-import-consolidation.md
- ./04-component-api-changes.md
- After all transformations, verify:
- All UI component imports come from
@vendure/dashboard - No direct
@radix-ui/*,@vendure-io/ui/*, or@base-ui/react/*imports remain - Only approved third-party imports are used (see 03-import-consolidation.md)
- All UI component imports come from