migrate
Migrate project from Nuxt UI v2/v3 to v4 with automated fixes for breaking changes
- 0
- Installs
- —
- Rating
- —
- Success rate
- 1
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 a4ce0218733b08c5… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
migrate.md
Nuxt UI Migration Command
Migrate from Nuxt UI v2/v3 to v4 with automated breaking change fixes.
Arguments
--dry-run: Show changes without applying them--from v3: Specify source version (default: auto-detect)
Instructions
-
Detect Current Version Read package.json to find current @nuxt/ui version.
-
Scan for Breaking Changes Search codebase for patterns that need updating:
v3 Pattern v4 Pattern Files to Check <UButtonGroup><UFieldGroup>*.vue<UPageMarquee><UMarquee>*.vue<UPageAccordion><UAccordion>*.vuev-model.nullifyv-model.nullable*.vue.$el.focus().focus()*.vue,*.tsuseToast.js'useToast'*.ts,*.vue -
Check Configuration Files
nuxt.config.ts- Module registrationapp.vue- UApp wrapper, CSS importsapp.config.ts- Theme configurationtailwind.config.*- Should be removed (v4 uses CSS)
-
Report Findings If
--dry-run:- List all files with breaking changes
- Show before/after for each change
- Summarize total changes needed
-
Apply Fixes If not
--dry-run:- Apply each fix with Edit tool
- Track successful/failed changes
- Report results
-
Update Dependencies
bun update @nuxt/ui bun add tailwindcss@4 -
Post-Migration Checks
bunx nuxt prepare bun run build -
Highlight New Features After migration, inform about new v4 capabilities:
- Dashboard components
- Chat/AI components
- Editor components
- Page layout components
- 125+ total components
Breaking Changes Reference
Component Renames
- <UButtonGroup>
+ <UFieldGroup>
- <UPageMarquee>
+ <UMarquee>
Removed Components
- <UPageAccordion>
+ <UAccordion unmount-on-hide="false">
Model Modifiers
- v-model.nullify="value"
+ v-model.nullable="value"
Template Refs (v4.2+)
- inputRef.value.$el.focus()
+ inputRef.value?.focus()
Composable Imports
- import { useToast } from '#ui/composables/useToast.js'
+ import { useToast } from '#ui/composables/useToast'
CSS Import Order
<style>
@import "tailwindcss"; /* FIRST */
@import "@nuxt/ui"; /* SECOND */
</style>
Form Changes
- Transformations now apply only to submit data
- Nested forms require explicit
nestedprop
Output
Summary report including:
- Files modified
- Changes applied
- Errors encountered
- Manual changes required
- New features available
Files
1- migrate.md
33607fa2232.8 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from secondsky/claude-skills8
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
Run a focused blindspot pass for unfamiliar, ambiguous, or high-risk work
Debug Bun applications and diagnose common issues
Deploy Bun applications to various platforms
Initialize a new Bun project with optional framework selection
Migrate existing Node.js/npm projects to Bun
Optimize Bun application performance and bundle size
Related frontend skillsscan passed
Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding,
Comprehensive Next.js migration assistant for Pages Router to App Router, JavaScript to TypeScript, and modern patterns