nuxt
An agent skill by antfu, from antfu/skills. Tags: development, routing, ssr, vue, web.
What it does
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.
Install
With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:
npx skills add antfu/skills --skill nuxt
Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):
git clone --depth 1 https://github.com/antfu/skills
cp -r skills/skills/nuxt ~/.claude/skills/nuxt
Safety box score
Grade C, moderate risk: 42 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.
This is a documentation-only Nuxt skill: it teaches the agent to run Nuxt CLI commands, edit app/server files, and deploy to external hosts. The main risks are external command execution, global CLI installs, and publishing/build actions; there are no shipped scripts or opaque binaries in the skill itself.
| Category | Level | Why |
|---|---|---|
| Code & shell execution | 1 (low) | The skill is built around shell workflows like `npx nuxi@latest init`, `npx nuxt build`, and `pnpm install`, so using it can lead the agent to run external CLI commands. |
| Network access | 2 (moderate) | It references remote package and repo fetches (`npx nuxi@latest`, `github:username/repo#v1.0`, `npm i -g vercel`) and even `--tunnel`/deploy flows, so network access is part of the skill's normal reach. |
| Filesystem reach | 1 (low) | The docs steer the agent to create and clean project files under `app/`, `server/`, `.nuxt`, `.output`, and `node_modules/.cache`, but not outside the project tree. |
| Secrets & credentials | 2 (moderate) | Secret-bearing settings are a core topic here: `runtimeConfig.apiSecret`, `.env`, `NUXT_API_SECRET`, `NUXT_APP_SECRET`, and `process.env.JWT_SECRET` are all shown or named in the shipped docs. |
| Privilege & persistence | 2 (moderate) | The deployment guidance recommends global installs such as `npm i -g vercel` and `npm i -g netlify-cli`, which affects the user's global tooling environment. |
| Instruction hijack surface | 0 (none) | I found no prompt-injection text, hidden instructions, or requests to ignore higher-priority policy in the shipped files. |
| Irreversible actions | 2 (moderate) | The deployment examples include publish actions like `vercel` and `netlify deploy --prod`, so the skill can drive external side effects if the agent follows it. |
| Transparency | 0 (none) | All files are plain readable Markdown and code snippets; I found no binaries, minified blobs, or decoded-at-runtime content. |
Before installing
- Read `references/core-deployment.md` before allowing any global installs like `npm i -g vercel` or `npm i -g netlify-cli`.
- Run the `npx nuxt` / `npx nuxi` commands in a scratch clone first; they fetch external packages.
- Check whether your repo has `.env` or other secret-bearing config before letting the agent edit `runtimeConfig` or server auth code.
- If you plan to use the deployment examples, confirm the target Vercel/Netlify account and environment variables are the intended ones.
Rated 2026-10-20 by an automated review of 20 files from the skill's repository.
Source
- Repository
- antfu/skills (all skills from this repository)
- Path
- skills/nuxt/SKILL.md
- Branch
- main
- Updated
- 2026-09-22
Related skills
- vue-router-best-practices — Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
- app-platform-networking — Configure domains, routing, CORS, VPC, static IPs, and inter-service communication for DigitalOcean App Platform.
- expo-dom — Framework (OSS). Use Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.
- expo-router — Framework (OSS). Navigation and routing for Expo Router.
- expo-web-to-native — Framework (OSS). Migrate an existing web React app to a native iOS/Android app with Expo.
- pinia — Pinia official Vue state management library, type-safe and extensible.