/nuxt-modern-dev:web-qualityfrom nuxt-modern-dev
Configures ESLint, Prettier, Vitest, and Playwright for Nuxt/Vue projects. Enforces pre-deploy quality gates and provides testing philosophy.
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.
New test files, test targets requiring new files, and test-only helpers/fixtures require explicit user authorization. A request to implement, fix, test, or verify does not by itself authorize their creation. Prefer existing tests and direct runtime checks; ask only when a specific new test has concrete benefit. Run checks appropriate to the change and repeat only after relevant changes, failures, or unresolved concerns.
Baseline: ESLint 9 with @nuxt/eslint, Vitest 4.x, and Playwright for critical E2E flows. Confirm versions from the repository lockfile.
| ALWAYS | NEVER |
|---|---|
ESLint with @nuxt/eslint on Nuxt apps | Skip lint because “types already catch it” |
| Prettier for format consistency | Hand-format only |
| Vitest for logic TypeScript cannot prove | Snapshot every presentational component |
| Playwright for critical user flows | E2E for every unit of logic |
| Fix or justify failures before deploy | Disable rules silently to green CI |
Tests encode why behavior matters:
// eslint.config.mjs — prefer Nuxt module generated setup
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxt/eslint'],
})
// vitest — test composables/utils
import { describe, it, expect } from 'vitest'
import { formatCurrency } from '~/utils/money'
describe('formatCurrency', () => {
it('formats USD', () => {
expect(formatCurrency(12.5)).toMatch(/\$12\.50/)
})
})
bun run lint
bun run lint:fix
bun run typecheck
bun run test
bun run test:e2e # if configured
bun run build # required before deployment
bun run lint cleanbun run typecheck cleanbun run test (unit)bun run build succeedsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pstuart/pstuart --plugin nuxt-modern-dev7 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./nuxt4-frontendUse when building or reviewing Nuxt 4 apps, app/ directory layout, pages, layouts, server routes, composables, layers, or Nuxt data fetching./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./typescript-strictUse when writing or reviewing TypeScript in Vue, Nuxt, Node, or shared TS utilities, fixing type errors, or deciding how to type API responses and composables./vue3-compositionUse when writing Vue 3 components or composables, choosing Options vs Composition API, handling reactivity, provide/inject, or script setup patterns.Other plugins' skills for the same job