vue-pinia-best-practices 是做什麼的?
Pinia 狀態管理、模式、設定方式及與響應式系統的整合。
Pinia 狀態管理、模式、設定方式及與響應式系統的整合。
此技能專注於 Vue.js 應用程式的 Pinia 狀態管理最佳實踐,提供建立與使用 Pinia store 的指南,包括 setup store 與 options store 兩種模式。它涵蓋了 getter、action 以及響應式更新等核心概念,並說明了如何在大型專案中有效組織狀態。技能支援所有 Pinia 支援的 Vue 專案(Vue 2 與 Vue 3),適合需要統一狀態管理模式的開發團隊參考。透過遵循此技能的建議,開發者可以避免常見的反模式,提升程式碼的可維護性與效能。
npx skills add https://github.com/vuejs-ai/skills/tree/main/skills/vue-pinia-best-practicesInstalled? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Pinia 狀態管理、模式、設定方式及與響應式系統的整合。
This repo contains 5 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.
Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues. Use when diagnosing or fixing Vue issues.
A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.
JSX syntax in Vue (e.g., class vs className, JSX plugin config).
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
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.