Skip to content

Getting Started ​

Quick Start ​

Run vue-doctor on any Vue.js project:

bash
npx @healerlab/vue-doctor@latest .

For verbose output with file locations:

bash
npx @healerlab/vue-doctor@latest . --verbose

What it does ​

Vue Doctor auto-detects your project setup and runs four analysis engines in parallel:

EngineWhat it checks
oxlintScript-level: performance, security, correctness
eslint-plugin-vueTemplate-level: directives, reactivity, best practices
Custom rulesVue anti-patterns: reactivity loss, Nuxt SSR, Pinia misuse
knipDead code: unused files, exports, types, dependencies

Auto-detection ​

Vue Doctor automatically detects:

  • Vue version (2.x or 3.x)
  • Framework (Nuxt 2/3, Vite, Vue CLI, or standalone)
  • TypeScript support
  • State management (Pinia or Vuex)
  • Vue Router

Score Interpretation ​

ScoreLabelMeaning
80–100🟢 GreatHealthy project, minor optimizations only
50–79🟡 Needs workSeveral issues to address
0–49🔴 CriticalMajor problems needing urgent attention

CLI Options ​

bash
vue-doctor [options] [command] [directory]

Options:
  -v, --version        output the version number
  --no-lint            skip linting
  --no-dead-code       skip dead code detection
  --verbose            show file details per rule
  --score              output only the score
  --diff [base]        scan only changed files vs base branch
  --fix                output diagnostics for AI agents
  -h, --help           display help for command

Commands:
  install-skill        install skill for AI coding agents

Released under the MIT License.