/nuxt-modern-dev:nuxt4-frontendfrom nuxt-modern-dev
Builds and reviews Nuxt 4 apps using app/ directory layout, pages, layouts, server routes, composables, layers, and data fetching patterns.
Ships in nuxt-modern-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Baseline: Nuxt 4.4.x, the app/ directory, Tailwind 4, and strict TypeScript. Follow the repository's existing package manager and lockfile.
| ALWAYS | NEVER |
|---|---|
Put app code under app/ | Root-level pages/ / components/ for new Nuxt 4 apps |
| Use the package manager selected by the repository | Introduce a second lockfile |
| Tailwind utilities only | Inline styles / <style scoped> |
| Type fetch results | Mock API payloads on failure |
ESLint @nuxt/eslint | Ship without lint script |
app/
├── components/
├── composables/
├── utils/
├── types/
├── pages/
├── layouts/
├── middleware/
├── plugins/
└── assets/css/main.css
server/ # API routes (root)
layers/ # optional shared layers
nuxt.config.ts
useFetchuseAsyncDatatailwindcss4 skilltypescript-strict skillweb-quality skill<script setup lang="ts">
const { data, error, pending } = await useFetch<Item[]>('/api/items')
</script>
<template>
<div class="p-6">
<p v-if="pending" class="text-slate-500">Loading…</p>
<p v-else-if="error" class="text-red-600">Failed to load</p>
<ul v-else class="space-y-2">
<li v-for="item in data" :key="item.id" class="rounded-lg border p-3">
{{ item.name }}
</li>
</ul>
</div>
</template>
// server/api/items.get.ts
export default defineEventHandler(async () => {
// real data source — no fake arrays for “happy path demos” in production code
return await listItems()
})
bun run dev
bun run typecheck
bun run lint
bun run lint:fix
bun run test
bun run build
| When | Read |
|---|---|
| Vue component patterns | vue3-composition |
| CSS | tailwindcss4 |
| ESLint / Vitest / Playwright | web-quality |
| Deploy failures | harness deployment-doctor (not this pack) |
| Excuse | Reality |
|---|---|
| "Pages at repo root is fine" | Nuxt 4 convention is app/ |
| "I'll use a different package manager locally" | Match the checked-in lockfile and repository tooling |
| "Placeholder items for UI" | Use empty/error states |
app/ (or server/)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/accessibility-auditAudit web pages and apps for WCAG 2.1 AA accessibility compliance. Use when fixing lighthouse issues, contrast ratios, ARIA labels, or keyboard navigation./security-auditSecurity audit checklist for web applications. Use when reviewing security posture, checking for vulnerabilities, or hardening a deployment./tailwindcss4Use when styling Nuxt or Vue UI, migrating from Tailwind 3, configuring @tailwindcss/vite, writing utility classes, or tempted to add custom CSS or inline styles.npx claudepluginhub pstuart/pstuart --plugin nuxt-modern-devOther plugins' skills for the same job