Nuxt 3+ patterns for rendering modes, useFetch and useAsyncData, server routes, SSR state, and Nitro. Load before any edit in a Nuxt app or to nuxt.config.*, however small, and for Nuxt questions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Nuxt Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ku5ic-nuxt-patterns)
---
name: nuxt-patterns
description: Nuxt 3+ patterns for rendering modes, useFetch and useAsyncData, server routes, SSR state, and Nitro. Load before any edit in a Nuxt app or to nuxt.config.*, however small, and for Nuxt questions.
---
# Nuxt patterns
Default assumption: Nuxt 4.7 with universal rendering, per the Nuxt blog and upgrade guide. Nuxt 3 reached end of life on 2026-07-31.
A row applies when the `nuxt` version in the project's `package.json` and lockfile is at least its version. vue-patterns applies on top.
## Reference files
Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.
| Before | Read |
| -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| Writing Nuxt code, or raising the `nuxt` version | [reference/upgrades.md](reference/upgrades.md) |
| Writing, changing, or reviewing Nuxt code | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Fetching data, adding state, a composable, or a plugin, or choosing a rendering mode | [reference/practices.md](reference/practices.md) |
| Configuring or running ESLint or `nuxt typecheck` | [reference/tooling.md](reference/tooling.md) |
| Writing or changing a file under `server/` | [reference/server.md](reference/server.md) |
| Writing or changing a page, layout, or route middleware, under `app/` or, on a v3 layout, the root | [reference/pages-and-middleware.md](reference/pages-and-middleware.md) |
| Changing `nuxt.config.ts`, `.js`, or `.mjs`, or reading `useRuntimeConfig()` | [reference/nuxt-config.md](reference/nuxt-config.md) |