Skip to content
cccskills
FreePublished on GitHub

nuxt

Develop Vue web applications with Nuxt, covering pages, data fetching, shared state, and server API routes. Configure rendering on the server or in the browser, and prepare deployment settings for supported platforms.

OriginalShow the original description

Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.

See how to install

Good for

  • Build pages and routing for a Vue application
  • Fetch API data and manage shared state
  • Implement server API routes and middleware
  • Configure rendering modes and deployment

Files included (20)

  • SKILL.md4.5 KB
  • GENERATION.md134 B
  • references/advanced-hooks.md6.6 KB
  • references/advanced-layers.md5.1 KB
  • references/advanced-module-authoring.md14.1 KB
  • references/best-practices-data-fetching.md9.0 KB
  • references/best-practices-ssr.md6.6 KB
  • references/core-cli.md4.5 KB
  • references/core-config.md8.0 KB
  • references/core-data-fetching.md9.9 KB
  • references/core-deployment.md4.7 KB
  • references/core-directory-structure.md8.7 KB
  • references/core-modules.md5.4 KB
  • references/core-routing.md5.9 KB
  • references/features-components-autoimport.md5.9 KB
  • references/features-components.md5.7 KB
  • references/features-composables.md6.9 KB
  • references/features-server.md9.6 KB
  • references/features-state.md3.9 KB
  • references/rendering-modes.md5.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Nuxt is a full-stack Vue framework that provides server-side rendering, file-based routing, auto-imports, and a powerful module system. It uses Nitro as its server engine for universal deployment across Node.js, serverless, and edge platforms.

The skill is based on Nuxt 5.x (5.0.0-0), generated at 2026-09-25.

Directory layout: the default srcDir is app/ — Vue app code (app.vue, components/, composables/, pages/, etc.) lives under app/, while server/, shared/, public/, modules/, layers/ and nuxt.config.ts stay at the project root. The ~/@ aliases point at app/; use ~~/@@ for the root.

Nuxt 5 note: Nuxt 5 makes many former experimental flags the default. The biggest shifts for agents: server code moves to Nitro v3 (h3 v2, Web-standard Request/Response), server utilities import from nuxt/server and are no longer auto-imported by default, $fetch/useFetch are typed from generated route types, routing is case-sensitive and typed by default, and the bundler is Vite 8 (Rolldown). Nuxt 5 requires Node 22.19/24.11+. A Nitro v2 compatibility layer (nitroLegacy) keeps older server code building during migration. See individual references for details.

Core

TopicDescriptionReference
Directory StructureNuxt 4 app/ srcDir, shared/, aliases, conventionscore-directory-structure
Configurationnuxt.config.ts, app.config.ts, aliases, Nuxt 5 defaults, jiti removal, experimentalcore-config
CLI CommandsDev server, build, generate, preview, and utility commandscore-cli
RoutingFile-based routing, case-sensitive + typed routes, named views, layout props, middlewarecore-routing
Data FetchinguseFetch, useAsyncData, $fetch, typed routes, createUseFetch factories, cachingcore-data-fetching
ModulesCreating and using Nuxt modules, Nuxt Kit utilitiescore-modules
DeploymentPlatform-agnostic deployment with Nitro, Vercel, Netlify, Cloudflarecore-deployment

Features

TopicDescriptionReference
Composables Auto-importsVue/Nuxt composables, custom composables, shared/, useAnnouncerfeatures-composables
Components Auto-importsComponent naming, lazy loading, hydration strategiesfeatures-components-autoimport
Built-in ComponentsNuxtLink, NuxtPage, NuxtLayout, NuxtAnnouncer, ClientOnly, and morefeatures-components
State ManagementuseState composable, SSR-friendly state, Pinia integrationfeatures-state
Server RoutesAPI routes, nuxt/server imports, Nitro v3 (h3 v2), sessions, middlewarefeatures-server

Rendering

TopicDescriptionReference
Rendering ModesUniversal (SSR), client-side (SPA), hybrid rendering, route rulesrendering-modes

Best Practices

TopicDescriptionReference
Data Fetching PatternsEfficient fetching, caching, parallel requests, error handlingbest-practices-data-fetching
SSR & HydrationAvoiding context leaks, hydration mismatches, composable patternsbest-practices-ssr

Advanced

TopicDescriptionReference
LayersExtending applications with reusable layersadvanced-layers
Lifecycle HooksBuild-time, runtime, and server hooksadvanced-hooks
Module AuthoringPublishable modules with Nuxt Kit, keyed composables, dependenciesadvanced-module-authoring

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

antfu

FreeSummary

Set up JavaScript and TypeScript projects using Anthony Fu’s conventions for code organization, development tools, and package publishing. Establish shared checks for formatting, types, unused code, and tests before committing changes.

  • Setting up a new TypeScript project
  • Standardizing formatting and code checks
  • Managing dependencies across a monorepo
antfu/skills6KUpdated Oct 9, 2026

antfu-create-pr

FreeSummary

Create a GitHub pull request from the current branch with a structured title, a clear explanation of behavior changes, and recorded check results. For UI changes, attach before-and-after screenshots so reviewers can assess the visual differences.

  • Preparing and publishing a PR from the current branch
  • Writing a PR description backed by verification results
  • Attaching before-and-after screenshots for UI changes
antfu/skills6KUpdated Oct 9, 2026

nitro

FreeSummary

Build and configure web servers with Nitro, including request handlers, caching, storage, and scheduled tasks. The skill also guides deployment to supported runtimes and platforms, plus migration from Nitro v2 to v3.

  • Implementing server routes and caching
  • Adding scheduled tasks and WebSocket connections
  • Configuring deployment for supported platforms
antfu/skills6KUpdated Oct 9, 2026

pinia

FreeSummary

Organize shared data and update logic in Vue apps using Pinia stores, containers for application state. The skill guides store definitions, reactive data access, communication between stores, testing, and integration with Nuxt and server-side rendering.

  • Organizing shared data and update logic in Vue apps
  • Connecting stores and extending them with plugins
  • Testing components with mocked stores
antfu/skills6KUpdated Oct 9, 2026

pnpm

FreeSummary

Manage Node.js dependencies with pnpm, from installing packages to coordinating multiple projects in one workspace. The skill covers shared version settings, third-party package patches, dependency overrides, and consistent installation procedures for automated build environments.

  • Unifying dependency versions across a workspace
  • Patching third-party packages and overriding versions
  • Configuring package installation in CI
antfu/skills6KUpdated Oct 9, 2026

unocss

FreeSummary

Configure UnoCSS and style interfaces with utility classes, small reusable styling instructions. Use project settings to define custom rules, shortcuts, themes, and presets for features such as icons, typography, and attribute-based styling.

  • Adding UnoCSS to a Vite or Nuxt project
  • Combining repeated styles into shortcuts
  • Defining shared colors and responsive breakpoints
antfu/skills6KUpdated Oct 9, 2026

See all skills by antfu

Report a problem with this skill