Foundation
209 rules · 27 points
shadcn-config-presenttheme-provider-configuredmetadata-configured
STATIC AUDIT · NO AI REQUIRED
62 deterministic rules for shadcn-vue and shadcn-nuxt applications. Evidence on every finding. Agent-ready output. It never starts your app, edits a file, calls a model, or uploads your source.
npx shadscan-vueshadscan-vue v0.3.1 my-app · nuxt · pnpm Score 66/100 · Grade D FOUNDATION █████████████████░░░ 84 INTERACTION ██████████░░░░░░░░░░ 52 STATES █████████████████░░░ 84 ACCESSIBILITY ████████████░░░░░░░░ 61 FORMS ████░░░░░░░░░░░░░░░░ 18 POLISH ████████████████░░░░ 78 Findings FAIL images-have-alt (accessibility, error) <img> is missing alternative text. app/pages/index.vue:23 fix: Add an alt attribute describing the image.
FIXES
Provable failures. They cost points.
ADVISORIES
Lower confidence. They never cost points.
PASSES
Verified against your source.
N/A
Excluded from the denominator entirely.
9 rules · 27 points
shadcn-config-presenttheme-provider-configuredmetadata-configured9 rules · 26 points
theme-hotkey-presentcommand-menu-presentcommand-menu-hotkey-present9 rules · 31 points
toast-provider-presenttoast-provider-mountedtoast-runtime15 rules · 40 points
html-lang-presentimages-have-alticon-buttons-have-labels8 rules · 20 points
forms-have-labelsfield-errors-renderedinvalid-fields-associated-with-errors12 rules · 22 points
no-starter-copymetadata-title-description-completesocial-preview-present01
Parses SFC templates and TypeScript directly. Never starts your app.
02
Every finding cites a file and a line. Nothing is asserted without proof.
03
Emit a prompt an agent can act on, or a JSON report a pipeline can gate.
shadcn-vue
Vue 3 + Vite, explicit imports
shadcn-nuxt
Nuxt 4, auto-imported components
reka-ui
Primitive provenance is understood
- run: npx shadscan-vue --fail-under 70
The threshold also fails when the score is unassessed or coverage was partial, so a silently-skipped scan can never pass a gate.
CREDIT WHERE DUE
A Vue and Nuxt port of shadscan by TheOrcDev, built with the original author's permission.