Catch the AI slop your agents ship.
Doctor scans your project before review and flags framework bugs agents often miss. For Nuxt, Vue, Vite, and Nitro, in the terminal, in CI, and in your agent's loop.
pnpm dlx vite-doctor .
Detected: Nuxt 4.5.2 + Vue 3.5.35
Runtime: nuxt@4.5.2 → nitropack@2.13.4 → h3@1.15.11
app/components/IssuePanel.vue:14:15
fix: Use <ClientOnly>, onMounted(), or a .client plugin for browser-only DOM work.
nuxt.config.ts:11:7
fix: Move runtimeConfig.public.apiSecret to private runtimeConfig or remove the secret.
// Surfaces //
One Doctor Run, every place you work
The CLI, the Nuxt module, the Vite plugin, and your agent share one Doctor Run, so they report the same Diagnostics.
CLI
vite-doctor .reports each finding with its file, range, Diagnostic Code, and fix. Text, agent, JSON, and SARIF output.
Nuxt module
nuxt doctorruns with the Project Inventory the module writes, following Nuxt to the Nitro and H3 it actually loads.
Vite plugin
doctor()in vite.config.ts runs on build, dev, or both, and can fail the build on errors.
Agents
Coding agents get a compact report with remediation, docs links, and verify commands. The skill tells them when to run it.
Migrations
migrate --to nuxt@5separates what you can fix today from what has to land with the upgrade.
Extensions
Vite plugins and Nuxt modules ship their own Rules through api.doctor. Project Rules go in extensions.
// Rule Packs //
Rules that read like the framework wrote them
Every Diagnostic Code starts with its framework prefix. Open the framework page, then the rule page for the code you are fixing.
// Quick start //
No config to start
Run Doctor in the root of a project. It finds the frameworks from your dependencies and turns on their Rule Packs. Read the CLI guide.
pnpm dlx vite-doctor .Install dependencies first; Doctor never runs an install.
Nuxt projects can also run nuxt doctor through the module.
Nuxt Skill Hub
Teach your agent the Nuxt way before it writes code
Nuxt Skill Hub gives your agent Nuxt best practices, module APIs, and guidance generated from your stack. Doctor checks what it ships. Install the skill, or add the module to keep it in sync with your modules.
Nuxt Skill
npx skills add https://nuxt-skill.onmax.me/Nuxt Skill Hub module
npx nuxi module add nuxt-skill-hub