pinia
Pinia state management for Vue 3 including store creation, actions, getters, plugins, and DevTools integration.
npx skills add a5c-ai/babysitter --skill pinia --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Pinia Skill Expert assistance for implementing Pinia state management in Vue 3 applications. ## Capabilities - Create type-safe Pinia stores - Implement actions for async operations - Define getters for computed state - Configure Pinia plugins (persistence, etc.) - Set up store composition patterns - Integrate with Vue DevTools ## Usage Invoke this skill when you need to: - Set up global state management in Vue - Create feature-specific stores - Implement persistent state - Compose multiple stores - Handle async state operations ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | storeName | string | Yes | Store name (use prefix) | | stateShape | object | Yes | Initial state structure | | actions | array | Yes | Store actions | | getters | array | No | Computed getters | | persist | boolean | No | Enable persistence | ### Configuration Example ```json { "storeName": "useUserStore", "stateShape": { "user": null, "isAuthenticated": false }, "actions": ["login", "logout", "fetchUser"], "getters": ["fullName", "isAdmin"], "persist": true } ``` ## Store Patterns ### Setup Store (Recommended) ```typescript // stores/user.ts import { r
- Capabilities
- Usage
- Inputs
- Configuration Example
- Store Patterns
- Setup Store (Recommended)
- Options Store
- Pinia Setup with Plugins
- Store Composition
- Usage in Components
- Best Practices
- Target Processes
What does the pinia skill do?
Pinia state management for Vue 3 including store creation, actions, getters, plugins, and DevTools integration.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill pinia --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
