vue-expert-js

Automate Vue 3 development with JavaScript and JSDoc typing.

Updated May 14, 2026
One-click install
npx skills add https://github.com/nkseth/copilot-dev-skills --skill vue-expert-js-nkseth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vue-expert-js
Source: https://github.com/nkseth/copilot-dev-skills/tree/main/skills/vue-expert-js
Command: npx skills add https://github.com/nkseth/copilot-dev-skills --skill vue-expert-js-nkseth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps teams build Vue 3 applications using JavaScript with JSDoc typings instead of TypeScript, enabling type information without a TS toolchain.

Core Features & Use Cases

  • Composition API with <script setup> in JavaScript, avoiding TypeScript setup and lang="ts".
  • JSDoc-based type documentation using @typedef, @param, and @returns to provide rich type hints without a TS compiler.
  • Migration support from Vue 2 Options API to Vue 3 Composition API in JavaScript, covering components, composables, and routing.
  • ES module workflow with .mjs extensions and ESLint/JSDoc integration to maintain type safety and code quality.

Quick Start

Initialize a Vue 3 project in JavaScript, enable JSDoc typing, and begin creating components with <script setup> and JSDoc-annotated props and emits.

Frequently Asked Questions about vue-expert-js

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use Vue 3 Composition API with JavaScript instead of TypeScript?

Vue 3 Composition API in JavaScript uses <script setup> without lang='ts', leveraging JSDoc annotations for type hints. This approach provides type safety and rich documentation without requiring a TypeScript compiler or toolchain.

Can I migrate Vue 2 Options API to Composition API in JavaScript?

Yes, you can migrate Vue 2 Options API to Vue 3 Composition API in JavaScript. The process covers converting components, creating composables, and updating routing while enforcing JS-first module patterns and JSDoc typing.

How do I get type hints in Vue 3 without TypeScript?

You get type hints in Vue 3 without TypeScript by using JSDoc annotations like @typedef, @param, and @returns. This provides rich type information and editor support directly in JavaScript files without a TS compiler.

What is the best way to structure Vue 3 components using JS and .mjs files?

The best way to structure Vue 3 components in JS is using an ES module workflow with .mjs extensions. This JS-first pattern integrates with ESLint and JSDoc to maintain type safety and code quality without TypeScript.

Does JSDoc typing work with Vue 3 script setup for props and emits?

Yes, JSDoc typing works with Vue 3 <script setup> for annotating props and emits. You can document public APIs using JSDoc to provide rich type hints and validation context without needing TypeScript.