mcpField
N
nuxt

nuxt

github.com/nuxt-contentDevelopment74258 installsUpdated 2w ago
Repository

About nuxt

A progressive guidance skill for Nuxt 4+ developers, with focused references for server routes, routing, middleware, composables, and configuration.

Key features

  1. 01Server routes and middleware
  2. 02File-based routing guidance
  3. 03Plugins and lifecycle patterns
  4. 04Nuxt composables reference
  5. 05Configuration and modules

Use cases

  1. 01Creating API endpoints
  2. 02Setting up pages and routes
  3. 03Adding middleware and plugins
  4. 04Configuring Nuxt modules

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nuxt-content/nuxt-studio --skill nuxt

After installing, type/nuxtin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
middleware-plugins.md
nuxt-components.md
nuxt-composables.md
nuxt-config.md
project-setup.md
routing.md
server.md

Details

From the project README

Nuxt 4+ Development

Progressive guidance for Nuxt 4+ projects with latest patterns and conventions.

When to Use

Working with:

  • Server routes (API endpoints, server middleware, server utils)
  • File-based routing (pages, layouts, route groups)
  • Nuxt middleware (route guards, navigation)
  • Nuxt plugins (app extensions)
  • Nuxt-specific features (auto-imports, layers, modules)

Available Guidance

Read specific files based on current work:

For Vue composables: See vue skill composables.md (VueUse, Composition API patterns) For UI components: use nuxt-ui skill For database/storage: use nuxthub skill For content-driven sites: use nuxt-content skill For creating modules: use nuxt-modules skill For project scaffolding/CI: use personal-ts-setup skill

Usage Pattern

Progressive loading - only read what you need:

DO NOT read all files at once. Load based on context:

  • Working in server/ → read server.md
  • Working in pages/ or layouts/ → read routing.md
  • Using useFetch, useRequestURL, navigation → read nuxt-composables.md
  • Using <a>, <img>, <time> elements → read nuxt-components.md
  • Working in middleware/ or plugins/ → read middleware-plugins.md
  • Editing nuxt.config.ts → read nuxt-config.md

Nuxt 4 vs Older Versions

You are working with Nuxt 4+. Key differences:

Old (Nuxt 2/3)New (Nuxt 4)
<Nuxt /><NuxtPage />
context.paramsgetRouterParam(event, 'name')
window.originuseRequestURL().origin
String routesTyped router with route names
Separate layouts/Parent routes with <slot>

If you're unsure about Nuxt 4 patterns, read the relevant guidance file first.

Latest Documentation

When to fetch latest docs:

  • New Nuxt 4 features not covered here
  • Module-specific configuration
  • Breaking changes or deprecations
  • Advanced use cases

Official sources:

Token Efficiency

Main skill: ~300 tokens. Each sub-file: ~800-1500 tokens. Only load files relevant to current task.

Comments

Markdown supported