hyf0/vue-pinia-best-practices
Pinia stores, state management patterns, store setup, and reactivity with stores.
Pinia stores, state management patterns, store setup, and reactivity with stores.
npx skills add https://github.com/hyf0/vue-skills/tree/main/skills/vue-pinia-best-practicesPinia stores, state management patterns, store setup, and reactivity with stores.
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).
Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.
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.
Fetches the latest news using news-aggregator-skill, formats it into a podcast script in Markdown format, and uses the tts skill to generate a podcast audio file. Use when the user asks to get the latest news and read it out as a podcast.
Carbonstop Skills
Reusable Codex/Claude skill for generating Chinese daily news briefings
Autonomous AI agent for Mantle DeFi — composable primitive across web app + MCP server + Agent Skill + npm SDK. 7 protocols, 4 surfaces, ERC-8004 reputation per tick.
Claude Code plugin: m_* toolkit (m_plan plan->execute->verify, deploy/infra commands, Playwright full-test loop, m_code quality framework)
Recently updated GitHub repository for agent skills, discovered in the daily agent-skills hunt.