Vue Expert (JavaScript) builds Vue 3 components with script setup and no TypeScript. Types come from JSDoc: typedef, param, returns and type annotations on every public function, props and emits.
It checks coverage with ESLint and the JSDoc plugin, tests with Vitest, and refers to the TypeScript variant for shared Vue concepts such as reactivity, props and Pinia.
What You Get
- A four-step workflow: design, implement, annotate, test
- Examples of a component with JSDoc-typed props and emits, a composable with typedef, param and returns, and a shared typedef module
- Five reference files on JSDoc typing, composables, components, state and testing
- Rules that keep TypeScript syntax and .ts files out of the project
Common Use Cases
- Starting a Vue 3 prototype without a TypeScript setup
- Moving a Vue 2 Options API codebase to the Composition API in JavaScript
- Adding JSDoc type hints so editors give completions
- Writing composables as .mjs modules
What Makes It Unique
It is the JavaScript counterpart to the Vue Expert skill. It requires JSDoc on every public function, typedefs for shared shapes and type annotations on reactive variables, and defers to the TypeScript skill’s reference files for concepts both share.
Under The Hood
The skill loads SKILL.md and opens a reference file when the task matches its topic. It tells the agent to run ESLint with the JSDoc plugin and your Vitest suite in the shell, and to write component and composable files in your project. It calls no external services and fetches no web pages. The skill ships no scripts.