Vue Options API Best Practices
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
Install
/plugin marketplace add vuejs-ai/skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add vuejs-ai/skills --skill vue-options-api-best-practicesgit clone --depth 1 https://github.com/vuejs-ai/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/vue-options-api-best-practices ~/.claude/skills/vue-options-api-best-practicesPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
Vue.js Options API best practices, TypeScript integration, and common gotchas. ### TypeScript - Need to enable TypeScript type inference for component properties → See [ts-options-api-use-definecomponent](reference/ts-options-api-use-definecomponent.md) - Enabling type safety for Options API this context → See [ts-strict-mode-options-api](reference/ts-strict-mode-options-api.md) - Using old TypeScript versions with prop validators → See [ts-options-api-arrow-functions-validators](reference/ts-options-api-arrow-functions-validators.md) - Event handler parameters need proper type safety → See [ts-options-api-type-event-handlers](reference/ts-options-api-type-event-handlers.md) - Need to type object or array props with interfaces → See [ts-options-api-proptype-complex-types](reference/ts-options-api-proptype-complex-types.md) - Injected properties missing TypeScript types completely → See [ts-options-api-provide-inject-limitations](reference/ts-options-api-provide-inject-limitations.md) - Complex computed properties lack clear type documentation → See [ts-options-api-computed-return-types](reference/ts-options-api-computed-return-types.md) ### Methods & Lifecycle - Methods aren't binding to component instance context → See [no-arrow-functions-in-methods](reference/no-arrow-functions-in-methods.md) - Lifecycle hooks losing access to component data → See [no-arrow-functions-in-lifecycle-hooks](reference/no-arrow-functions-in-lifecycle-hooks.md)
Details
- Skill name
vue-options-api-best-practices- Repository
- vuejs-ai/skills
- Path
skills/vue-options-api-best-practices/SKILL.md- License
- MIT
- Repo updated
- 23 October 2026
FAQ
What does the Vue Options API Best Practices skill do?
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
How do I install the Vue Options API Best Practices skill?
Claude Code plugin: /plugin marketplace add vuejs-ai/skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Vue Options API Best Practices popular?
It lives in vuejs-ai/skills, which has 3,356 GitHub stars and 199 forks.
Related skills
Vue Best Practices
3.4kvuejs-ai/skills
MUST be used for Vue.js tasks. Strongly recommends Composition API with `<script setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.
Vue Router Best Practices
3.4kvuejs-ai/skills
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
Vue Testing Best Practices
3.4kvuejs-ai/skills
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Bb CLI
4.3kdavidondrej/skills
Use this when controlling bb. The bb CLI inspects and manages threads, environments, projects, machines, providers, skills, plugins, settings, terminals, and other BB services.
X Bookmark Quote Posts
7.7kMengTo/Skills
Check a user's latest X/Twitter bookmarks and turn recent saved posts into source-backed quote-post drafts calibrated against the user's latest 100 authored posts. Use when asked to review X bookmarks, create quote posts from bookmarks, refresh a bookmark quote queue, run a bookmark quote automation, study a user's X voice, or write first-person quote posts from X sources.
Bb Plugins
4.3kdavidondrej/skills
Build, install, and debug bb plugins. Use when the user wants a bb plugin, a sidebar panel, a bb CLI subcommand, an agent tool, a theme, a provider, or to extend bb itself. For running threads and the core bb CLI, use bb-cli instead.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.