mcpField
V
vue-options-api-best-practices

vue-options-api-best-practices

github.com/liangmiqwqDevelopment139 installsUpdated 2d ago
Repository

About vue-options-api-best-practices

A Vue.js Options API skill for developers, covering TypeScript usage and common method and lifecycle pitfalls.

Key features

  1. 01TypeScript component and context typing
  2. 02Typed events and complex props
  3. 03Computed return type guidance
  4. 04Method and lifecycle binding pitfalls
  5. 05Lifecycle-safe stateful methods

Use cases

  1. 01Adding TypeScript types to Options API components
  2. 02Diagnosing unbound methods or hooks
  3. 03Avoiding shared debounce state across instances

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/liangmiqwq/skills --skill vue-options-api-best-practices

After installing, type/vue-options-api-best-practicesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

reference/
no-arrow-functions-in-lifecycle-hooks.md
no-arrow-functions-in-methods.md
stateful-methods-lifecycle.md
ts-options-api-arrow-functions-validators.md
ts-options-api-computed-return-types.md
ts-options-api-proptype-complex-types.md
ts-options-api-provide-inject-limitations.md
ts-options-api-type-event-handlers.md
ts-options-api-use-definecomponent.md
ts-strict-mode-options-api.md

Details

From the project README

Vue.js Options API best practices, TypeScript integration, and common gotchas.

TypeScript
Methods & Lifecycle

Comments

Markdown supported