Feature · Design
Design audit
The design audit is a separate doctor subcommand that scores the design quality of a Vue or Nuxt UI: accessibility, interaction states, forms, and production polish. It runs shadscan-vue under the hood and returns its own weighted 0-100 design score, which never changes the health score. Use it to catch the generic, AI-generated look before it ships and to keep a shadcn-vue design system honest.
Run it
Point design at a directory. Use --format json for tooling or agent for coding agents, and --fail-under to make it a CI gate.
npx @geoql/vue-doctor design .
npx @geoql/vue-doctor design . --format json
npx @geoql/vue-doctor design . --fail-under 70Design rules in the main audit
The main audit also has a design category that feeds the design dimension sub-score. These rules flag the visual tells of generated UI and token drift:
- no-gradient-text, no-decorative-blur-orb, no-radial-halo, no-decorative-grid-background
- no-default-tailwind-palette, no-raw-hex-color, no-arbitrary-tailwind-values
- no-uniform-feature-card-grid, no-hero-eyebrow-chip, no-emoji-heading-decoration
- no-missing-alt, no-pure-black-background, no-absurd-z-index, no-important-utility
Why a separate score
Design quality is a different conversation from correctness. Keeping it as its own number means a team can adopt the health gate first and add a design gate later, without one score masking the other.