/migrate
Migrate project from Nuxt UI v2/v3 to v4 with automated fixes for breaking changes
$ npx -y skills add secondsky/claude-skills --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/migrate
Context preview
What this command does when you run it.
Migrate project from Nuxt UI v2/v3 to v4 with automated fixes for breaking changes
Command definition
migrate.mdname: nuxt-ui-v4:migrate
description: Migrate project from Nuxt UI v2/v3 to v4 with automated fixes for breaking changes
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
argument-hint: "[--dry-run] [--from v3]"
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
1. **Detect Current Version** Read package.json to find current @nuxt/ui version.
2. **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>` | `*.vue` | | `v-model.nullify` | `v-model.nullable` | `*.vue` | | `.$el.focus()` | `.focus()` | `*.vue`, `*.ts` | | `useToast.js'` | `useToast'` | `*.ts`, `*.vue` |
3. **Check Configuration Files**
- `nuxt.config.ts` - Module registration
- `app.vue` - UApp wrapper, CSS imports
- `app.config.ts` - Theme configuration
- `tailwind.config.*` - Should be removed (v4 uses CSS)
4. **Report Findings** If `--dry-run`:
- List all files with breaking changes
- Show before/after for each change
- Summarize total changes needed
5. **Apply Fixes** If not `--dry-run`:
- Apply each fix with Edit tool
- Track successful/failed changes
- Report results
6. **Update Dependencies**
bun update @nuxt/ui
bun add tailwindcss@4
7. **Post-Migration Checks**
bunx nuxt prepare
bun run build
8. **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 `nested` prop
Output
Summary report including:
- Files modified
- Changes applied
- Errors encountered
- Manual changes required
- New features available
Read more
name: nuxt-ui-v4:migrate description: Migrate project from Nuxt UI v2/v3 to v4 with automated fixes for breaking changes allowed-tools: - Read - Write - Edit - Bash - Glob - Grep argument-hint: "[--dry-run] [--from v3]"
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
1. **Detect Current Version** Read package.json to find current @nuxt/ui version.
2. **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>` | `*.vue` | | `v-model.nullify` | `v-model.nullable` | `*.vue` | | `.$el.focus()` | `.focus()` | `*.vue`, `*.ts` | | `useToast.js'` | `useToast'` | `*.ts`, `*.vue` |
3. **Check Configuration Files**
- `nuxt.config.ts` - Module registration
- `app.vue` - UApp wrapper, CSS imports
- `app.config.ts` - Theme configuration
- `tailwind.config.*` - Should be removed (v4 uses CSS)
4. **Report Findings** If `--dry-run`:
- List all files with breaking changes
- Show before/after for each change
- Summarize total changes needed
5. **Apply Fixes** If not `--dry-run`:
- Apply each fix with Edit tool
- Track successful/failed changes
- Report results
6. **Update Dependencies**
bun update @nuxt/ui bun add tailwindcss@4
7. **Post-Migration Checks**
bunx nuxt prepare bun run build
8. **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 `nested` prop
Output
Summary report including:
- Files modified
- Changes applied
- Errors encountered
- Manual changes required
- New features available
142 production-ready skills for Claude Code CLI ๐ Platform / Harness Support These plugins ship as Claude Code marketplace plugins (.claude-plugin/ manifests) and Codex CLI plugins (.codex-plugin/ manifests).
Repo: secondsky/claude-skills
Other commands on secondsky-claude-skills.
- /better-auth-add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
Open command - /better-auth-setup
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
Open command - /explain-error
Explain Better Auth error codes and provide solutions with code examples
Open command - /providers
Display Better Auth available authentication providers and their configuration
Open command - /bun-debug
Type of issue to debug (runtime, test, build, memory, performance)
Open command - /bun-deploy
Target platform (docker, cloudflare, vercel, fly, railway)
Open command

