# Nuxt4 frontend

> Nuxt4 frontend is an open-source agent skill for developer tools. Guides an AI agent through building and reviewing Nuxt 4 apps with the app/ layout. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/pstuart/pstuart/tree/main/plugins/nuxt-modern-dev/skills/nuxt4-frontend
- **Repository:** https://github.com/pstuart/pstuart
- **GitHub stars:** 20
- **License:** MIT
- **Skill name:** nuxt4-frontend
- **Collection:** https://github.com/pstuart/pstuart
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill gives an AI coding agent a set of conventions for Nuxt 4 projects, built around a Nuxt 4.4 baseline with the app/ directory, Tailwind 4 and strict TypeScript. It lays out the expected folder structure, separating app code under app/ from API routes in server/, and includes a short decision guide for choosing between useFetch and useAsyncData, or when to reach for a shared layer.

The instructions cover data fetching patterns with typed results and real error and loading states, and they warn against placeholder or mocked payloads. A checklist and a table of common excuses help the agent catch mistakes before it finishes a change. The skill points to related skills for Vue composition, Tailwind styling, and linting and testing.

The skill assumes the repository's own package manager and lockfile are followed, and its quick commands use bun scripts for dev, typecheck, lint, test and build. It includes no bundled scripts or reference files.

## When your agent uses it

> Use when building or reviewing Nuxt 4 apps, app/ directory layout, pages, layouts, server routes, composables, layers, or Nuxt data fetching.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/pstuart/pstuart/tree/HEAD/plugins/nuxt-modern-dev/skills/nuxt4-frontend)
- [License: MIT](https://github.com/pstuart/pstuart/tree/HEAD/plugins/nuxt-modern-dev/skills/nuxt4-frontend)

## Features

- **Nuxt 4 project layout:** Describes the app/ directory structure with components, composables, pages, layouts and server routes.
- **Typed data fetching:** Explains when to use useFetch versus useAsyncData and how to handle errors and loading states.
- **Styling constraints:** Restricts styling to Tailwind utilities and avoids inline styles and scoped style blocks.
- **Lint and typecheck gates:** Lists bun scripts for dev, typecheck, lint, test and build, and a pre-finish checklist.
- **Shared layers guidance:** Suggests Nuxt layers or shared packages when UI needs to be reused across sites.

## Good for

- Scaffold a new Nuxt 4 app using the app/ directory layout
- Review a Nuxt project for misplaced pages, components or server routes
- Add a typed API call with proper loading and error states
- Set up a server API route that returns data from a real source
- Decide between useFetch and useAsyncData for a data call

## Install

### Claude Code

This skill ships in the `nuxt-modern-dev` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add pstuart/pstuart
/plugin install nuxt-modern-dev@pstuart
```

Or copy only this skill to `~/.claude/skills/nuxt4-frontend`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/nuxt4-frontend &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/nuxt4-frontend" ~/.claude/skills/nuxt4-frontend &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/nuxt4-frontend` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/nuxt4-frontend` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/nuxt4-frontend &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/nuxt4-frontend" ~/.agents/skills/nuxt4-frontend &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/nuxt4-frontend` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/nuxt4-frontend` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/nuxt4-frontend &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/nuxt4-frontend" ~/.cursor/skills/nuxt4-frontend &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/nuxt4-frontend` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/pstuart/pstuart.git --path plugins/nuxt-modern-dev/skills/nuxt4-frontend
```

Or copy the folder to `~/.gemini/skills/nuxt4-frontend` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/nuxt4-frontend`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/pstuart/pstuart.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/nuxt4-frontend &&
cp -R "$tmp/plugins/nuxt-modern-dev/skills/nuxt4-frontend" ~/.copilot/skills/nuxt4-frontend &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/nuxt4-frontend` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/pstuart/pstuart.git
```

Then copy `pstuart/plugins/nuxt-modern-dev/skills/nuxt4-frontend` into your agent's skills folder as `nuxt4-frontend`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Which Nuxt version does Nuxt4 frontend target?

It states a baseline of Nuxt 4.4.x with the app/ directory, Tailwind 4 and strict TypeScript.

### Does Nuxt4 frontend change my package manager or lockfile?

It tells the agent to follow the repository's existing package manager and lockfile and not to introduce a second lockfile.

### When does the skill trigger?

It is meant for building or reviewing Nuxt 4 apps, including app/ layout, pages, layouts, server routes, composables, layers and data fetching.

### Does Nuxt4 frontend include scripts or extra reference files?

No. The folder contains only the SKILL.md file and no scripts.

### How do I install Nuxt4 frontend in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/nuxt4-frontend to use it in all your projects, or to .claude/skills/nuxt4-frontend in one project. Or install the nuxt-modern-dev plugin, which includes it: /plugin marketplace add pstuart/pstuart, then /plugin install nuxt-modern-dev@pstuart.

### Does Nuxt4 frontend run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Nuxt4 frontend?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Nuxt4 frontend?

The closest alternatives to Nuxt4 frontend are Nuxt, Tailwindcss4, Web quality, Frontend UI engineering and Vue data.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Nuxt](https://ai-powered.com/skills/nuxt): Nuxt is an open-source agent skill for developer tools.
- [Tailwindcss4](https://ai-powered.com/skills/tailwindcss4): Tailwindcss4 is an open-source agent skill for developer tools.
- [Web quality](https://ai-powered.com/skills/web-quality): Web quality is an open-source agent skill for developer tools.
- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering): Frontend UI engineering is an open-source agent skill for developer tools.
- [Vue data](https://ai-powered.com/skills/vue-data): Vue data is an open-source agent skill for developer tools.
- [Vue](https://ai-powered.com/skills/vue): Vue is an open-source agent skill for developer tools.
- [Vue UI](https://ai-powered.com/skills/vue-ui): Vue UI is an open-source agent skill for developer tools.
- [TypeScript strict](https://ai-powered.com/skills/typescript-strict): TypeScript strict is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/nuxt4-frontend
