Nuxt Production
Nuxt 4 production guide covering hydration fixes, performance tuning, Vitest testing, and Nuxt 3 to 4 migration.
- CCM score
- 50 of 100
- skills.sh installs
- 435
- GitHub stars
- 257
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers hydration mismatch debugging, performance and Core Web Vitals, Vitest component testing, deployment, and v3 to v4 migration
- Includes reference files for hydration, performance, Vitest, and Cloudflare deployment, loaded only when the matching task applies
- Explains fixes for hydration mismatches such as
Math.random(), browser APIs on the server, and third-party scripts, usinguseState,onMounted, andClientOnly - Designed for Nuxt 4.x projects that need production hardening or a move off Nuxt 3
Install
$ npx -y skills add secondsky/claude-skills --skill nuxt-production -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Nuxt 4 Production Guide
Hydration, performance, testing, deployment, and migration patterns.
What's New in Nuxt 4
v4.2 Features (Latest)
1. Abort Control for Data Fetching
const controller = ref<AbortController>()
const { data } = await useAsyncData(
'users',
() => $fetch('/api/users', { signal: controller.value?.signal })
)
const abortRequest = () => {
controller.value?.abort()
controller.value = new AbortController()
}
2. Async Data Handler Extraction
- 39% smaller client bundles
- Data fetching logic extracted to server chunks
- Automatic optimization (no config needed)
3. Enhanced Error Handling
- Dual error display: custom error page + technical overlay
- Better error messages in development
v4.1 Features
1. Enhanced Chunk Stability
- Import maps prevent cascading hash changes
- Better long-term caching
2. Lazy Hydration
<script setup>
const LazyComponent = defineLazyHydrationComponent(() =>
import('./HeavyComponent.vue')
)
</script>
Breaking Changes from v3
Details
- Repository
- github.com/secondsky/claude-skills
- Categories
- Frontend & UI Code, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the nuxt-production skill do?
The nuxt-production skill covers Nuxt 4 production work: fixing hydration mismatches, optimizing performance and Core Web Vitals, writing tests with Vitest, deploying to Cloudflare Pages, Workers, Vercel or Netlify, and migrating from Nuxt 3 to Nuxt 4. It loads focused reference guides for hydration, performance, testing and deployment as needed.
How do I install the nuxt-production skill?
Run npx -y skills add secondsky/claude-skills --skill nuxt-production -y in your project. This installs the skill into your coding agent so it can guide hydration, performance, testing, deployment and migration work on your Nuxt app.
Which other skills lead the Frontend & UI Code category?
nuxt-production sits in the Frontend & UI Code category alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. Its focus is production Nuxt 4 work rather than general React or design guidance.
Is nuxt-production useful for migrating from Nuxt 3 to Nuxt 4?
Yes, the skill includes a breaking-changes table covering the move from Nuxt 3 to Nuxt 4. It lists changes such as the source directory moving to app/, shallow data reactivity by default, undefined as the default value, and server-side route middleware.
More from secondsky/claude-skills
All 116- Ultracite435
- Bun Docker434
- Bun Tanstack Start434
- Nuxt Ui V4432
- Oauth Implementation432
- Api Gateway Configuration431
- Health Check Endpoints431
- Bun Test Mocking430
- Mobile Offline Support428
- Bun Test Coverage427
- Api Changelog Versioning426
- Dependency Upgrade426
- Idempotency Handling426
- Nuxt Server426
- Bun Cloudflare Workers425
- Bun Workers425
- Bun Http Server424
- Bun Bundler423
- Turborepo423
- Api Versioning Strategy421
- Recommendation System421
- Logging Best Practices419
- Bun Hot Reloading418
- Claude Hook Writer418
Similar to Nuxt Production
More Frontend & UI Codenuxt-v4Pluginsecondsky/claude-skills254 starsComprehensive Nuxt 4 development with 4 focused skills (core, data, server, production), 3 diagnostic agents (debugger, migration, performance), and interactive
nuxt-best-practicesSkillvinayakkulkarni/vue-nuxt-best-practices357 installsComprehensive Nuxt 4 performance and architecture guide with 23 prioritized rules for fetching, rendering, and layouts.
nuxt-coreSkillsecondsky/claude-skills411 installsNuxt 4 core fundamentals covering project setup, configuration, routing, SEO, error handling, and directory structure.
nuxt4-patternsSkillaffaan-m/ecc11.8K installsNuxt 4 rendering, hydration, and data-fetching patterns covering SSR-safe fetching, route rules, and lazy loading.
nuxtSkillonmax/nuxt-skills9.1K installsFull-stack Vue framework guide covering routing, data fetching, SSR state, server routes, and Nuxt 5 migration.
vercel-react-best-practicesSkillvercel-labs/agent-skills947.9K installsPerformance guide of 70 React and Next.js rules, ordered by impact from waterfalls to advanced patterns.