Vue Expert (JS)

Creates Vue 3 components, builds vanilla JS composables, configures Vite projects, and sets up routing and state management using JavaScript only — no TypeScript.

Development / Frontenddevelopmentfrontend
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptBuild a Vue 3 form component with composable state management in JavaScript
Beforegeneric AI agent
Vue 3 is a great choice for building reactive components. You could create a form component and then build a composable to manage the state. Composables are a powerful pattern in Vue 3 that let you extract and reuse stateful logic. You'd want to use reactive or ref depending on your needs, and set up event handlers to update the state when the form changes. JSDoc annotations would help document your code even without TypeScript. Would you like help thinking through the structure, or would you like me to guide you through the setup process?
Afterwith Vue Expert (JS)
COMPONENT STRUCTURE
• Create src/components/UserForm.mjs with template, script, and style blocks
• Import useFormState composable at top
• Bind form inputs to reactive refs: email, name, password

COMPOSABLE SETUP
• Build src/composables/useFormState.mjs
• Return object with reactive refs and validation methods
• Define submit handler that collects form data and emits to parent
• Use @typedef and @param for JSDoc type hints

KEY DECISIONS
→ Use ref() for form fields, not reactive() — easier to destructure in template
→ Validate on blur, not keystroke — reduces excessive re-renders
→ Emit success/error events, don't mutate parent state directly

FILE LISTING
src/components/UserForm.mjs (120 lines)
src/composables/useFormState.mjs (80 lines)
src/utils/validators.mjs (40 lines JSDoc type defs)

About this skill


name: vue-expert-js description: Use when Creates Vue 3 components, builds vanilla JS composables, configures Vite projects, and sets up routing and state management using JavaScript only — no TypeScript.

Vue Expert Js

Creates Vue 3 components, builds vanilla JS composables, configures Vite projects, and sets up routing and state management using JavaScript only — no TypeScript. Generates JSDoc-typed code with @typedef, @param, and @returns annotations for full type coverage without a TS compiler. Use when building Vue 3 applications with JavaScript only (no TypeScript), when projects require JSDoc-based type hints, when migrating from Vue 2 Options API to Composition API in JS, or when teams prefer vanilla JavaScript, .mjs modules, or need quick prototypes without TypeScript setup.

What you get

  • Public GitHub repo
  • the skills/vue-expert-js folder with SKILL.md and references.

Customize your output

  • Fork the repo and extend the skill's reference files for your own stack conventions.

Example output

Activates on a matching request (e.g. building or reviewing Vue Expert Js code) and can chain with other skills in the pack.

Best for

Full-stack developers and engineering teams using Claude Code.

SKILL.md preview

SKILL.md
---
name: vue-expert-js
description: Use this skill to build Vue 3 components, composables, and Vite project setup using JavaScript only, without TypeScript.
version: 1.0.0
category: Development / Frontend
author: AgentVolt
license: proprietary
tags:
  - development
  - frontend
---

# Vue Expert Js

Builds Vue 3 applications entirely in JavaScript, using JSDoc annotations for type hints instead of a TypeScript compiler, for teams and prototypes that intentionally skip TS.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More development skills

View all Development skills →