This skill is for Vue 3 projects written in the Options API style, with data(), methods and the this context. Its SKILL.md lists situations and links each to a reference with an Options API solution.
Topics are TypeScript support through defineComponent, strict mode for this, typed event handlers, complex prop types, injected properties and computed return types, plus arrow functions in methods and lifecycle hooks and debounced methods that share state across instances.
What You Get
- Seven TypeScript guides for the Options API
- Guides on why arrow functions break this in methods and lifecycle hooks
- A note on debounced methods that share state between component instances
- Each reference shows the Options API solution only
Common Use Cases
- Adding TypeScript to an existing Options API component
- Fixing methods or hooks that lose access to component data
- Typing props that hold objects or arrays
What Makes It Unique
It stays within the Options API, and its description says each reference shows that style only. The main Vue skill points here when a project uses the Options API, so Composition API advice does not mix in.
Under The Hood
The agent loads a small Markdown index and reads the reference that matches the situation. There are no scripts. The skill does not tell the agent to fetch web pages, call APIs or run commands; changes are made by the agent editing your component files.