From knowledge-patch
Provides current Nuxt APIs, defaults, migration paths, and ecosystem patterns with references for upgrading, data fetching, routing, rendering, modules, builds, Nitro deployment, and ecosystem modules.
How this skill is triggered — by the user, by Claude, or both
Slash command
/knowledge-patch:nuxt-knowledge-patchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to choose current Nuxt APIs, defaults, migration paths, and ecosystem patterns. Read the topic reference that matches the task before changing code; several defaults differ by compatibility mode, builder, deployment preset, or package major.
Use this skill to choose current Nuxt APIs, defaults, migration paths, and ecosystem patterns. Read the topic reference that matches the task before changing code; several defaults differ by compatibility mode, builder, deployment preset, or package major.
| Reference | Topics |
|---|---|
| upgrading.md | Major migrations, compatibility settings, removed options, dependency changes, and upgrade commands |
| data-fetching-and-state.md | useAsyncData, useFetch, payloads, caching, cookies, callOnce, and state reset behavior |
| routing-and-navigation.md | Pages, route rules, middleware, layouts, links, transitions, scrolling, and announcements |
| rendering-and-components.md | Hydration, server components, islands, head APIs, built-ins, errors, and app runtime hooks |
| modules-and-layers.md | Nuxt Kit, module dependencies, layers, aliases, templates, imports, and build-time configuration |
| build-and-types.md | Builders, TypeScript projects, source maps, debugging, profiling, HMR, CSS, and client bundles |
| nitro-and-deployment.md | Nitro runtime, prerelease migration, routing, assets, caching, security, tasks, and deployment presets |
| ecosystem-modules.md | Nuxt Scripts, Icon, Content, UI, and Image package majors |
package.json, the lockfile, nuxt.config, and generated type configuration.app/ in new Nuxt 4 projects; keep server/, shared/, content/, public/, and configuration at the project root.#server from client or shared code.shared/ utilities context-independent; import them through #shared when an explicit path is useful.<KeepAlive> filters.mergeModels explicitly; it is no longer auto-imported.status and statusText over deprecated statusCode and statusMessage in new error code.#app/composables/head, not directly from @unhead/vue, to preserve async context.vue; bridge legacy @vue/runtime-core augmentation only as a temporary compatibility measure.nodeModulesDirs, nitro/deps/*, custom moduleSideEffects, and the temporary TypeScript-paths option.nitro package; import ServerRequest from nitro/types.serverDir, and configure routes, renderer behavior, entries, and builders explicitly where needed.content.config.ts; migrate queries to collection utilities and replace removed document-driven and ContentSlot APIs.defineProvider; remove retired providers and update operation formatting.undefined, not null.refresh() or execute() when the caller controls cancellation.clear() and cancel-deduplicated refreshes to abort pending work._payload.json rather than refetch.callOnce callback to be retryable; use navigation mode for once-per-navigation work.clearNuxtState to restore the initializer value.useCookie({ refresh: true }) when assigning the same value should renew expiration.route.meta.groups in middleware.routeRules when the behavior applies to a route family.setPageLayout.<NuxtPage> when router integration is enabled; do not substitute a bare <RouterView>.definePageMeta call per file.NuxtLink prefetch triggers for visibility, interaction, or both.to or href as appropriate.<NuxtRouteAnnouncer> in a custom app.vue and mount <NuxtAnnouncer> for non-navigation status messages.defineLazyHydrationComponent for explicit imports.onPrehydrate only for browser work that must run immediately before hydration.layers/ and modules/ directories.getLayerDirectories; use named #layers/<name> aliases in imports and stylesheets.extends entries override later ones.addServerTemplate, Nitro type templates, server imports, and async builder-plugin factories instead of private internals..env-dependent schema values with the expectation that environment loading occurs before schema resolution.node: imports; install globals only in a client plugin when a dependency truly requires them.| If the task involves... | Read first |
|---|---|
| An upgrade, new warning, removed option, or compatibility flag | upgrading.md |
| A stale request, duplicate fetch, cache miss, or payload issue | data-fetching-and-state.md |
| Page discovery, middleware, layouts, links, or navigation accessibility | routing-and-navigation.md |
| Hydration, islands, server components, head state, or built-in components | rendering-and-components.md |
| A Nuxt module, layer, auto-import, generated template, or hook | modules-and-layers.md |
| Builder behavior, typing, source maps, HMR, CSS, or performance | build-and-types.md |
| Server runtime, route handlers, deployment, caching, tasks, or Nitro | nitro-and-deployment.md |
| Scripts, Content, UI, Icon, or Image | ecosystem-modules.md |
npx claudepluginhub nevaberry/nevaberry-plugins --plugin knowledge-patchGuides Nuxt application development: project structure, pages, data fetching, SSR state, middleware, plugins, server routes, config, components, hydration, upgrades, and testing.
Covers Nuxt 4 project setup, configuration, file-based routing, SEO with useHead/useSeoMeta, error handling, and directory structure. Use when creating new Nuxt 4 projects or configuring core framework features.
Provides Nuxt 4 conventions: directory structure, SSR/SPA/hybrid rendering, file-based routing, auto-imports, data fetching, server routes, and deployment.