vue-options-api-best-practices は何をしますか?
Vue 3 Options APIスタイル(data()、methods、thisコンテキスト)。各リファレンスはOptions APIの解法のみを提示します。
Vue 3 Options APIスタイル(data()、methods、thisコンテキスト)のリファレンス。各項目はOptions APIの解法のみを提示します。
このスキルは、Vue 3のOptions APIに特化したベストプラクティス集です。data()、methods、computed、watch、ライフサイクルフックなど、Options APIの各機能を正しく実装するための具体的なコード例と解説を提供します。Vue 3のComposition APIではなく、従来のオプションオブジェクト形式に焦点を当てており、Vue 2からの移行ユーザーやOptions APIを好む開発者に最適です。各リファレンスは、thisコンテキストの適切な使い方やリアクティブデータの管理方法など、実践的なパターンを網羅しています。スキルはClaude CodeやCursorなどのAIエージェント環境で利用でき、Vue 3アプリケーションの開発時にOptions APIに沿ったコード生成を支援します。
npx skills add https://github.com/hyf0/vue-skills/tree/main/skills/vue-options-api-best-practicesInstalled? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Vue 3 Options APIスタイル(data()、methods、thisコンテキスト)。各リファレンスはOptions APIの解法のみを提示します。
This repo contains 7 individual skills — each has its own dedicated page.
Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.
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 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
JSX syntax in Vue (e.g., class vs className, JSX plugin config).
Pinia stores, state management patterns, store setup, and reactivity with stores.
Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.