# pinia

> Claude/Codex skill by [@antfu](https://omgskills.com/library/antfu/index.md) · 6k stars · Updated 2026-10-23

Pinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.

Tags: agent-skills, skills

## Install

```sh
git clone https://github.com/antfu/skills /tmp/skills && ln -s /tmp/skills/skills/pinia ~/.claude/skills/pinia
```

## From README

Pinia Pinia is the official state management library for Vue, designed to be intuitive and type-safe. It supports both Options API and Composition API styles, with first-class TypeScript support and devtools integration. The skill is based on Pinia v4.0.3, generated at 2026-09-25.

## Links

- HTML page: https://omgskills.com/library/antfu/skills/pinia/
- GitHub: https://github.com/antfu/skills
- Author: [@antfu](https://omgskills.com/library/antfu/index.md)

## More from this repo

- [nuxt](https://omgskills.com/library/antfu/skills/nuxt/index.md) — Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing.
   - [@antfu](https://omgskills.com/library/antfu/index.md) · 6.1k stars
- [antfu](https://omgskills.com/library/antfu/skills/skills/antfu/index.md) — Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects.
   - [@antfu](https://omgskills.com/library/antfu/index.md) · 6k stars
- [nitro](https://omgskills.com/library/antfu/skills/skills/nitro/index.md) — Nitro is the framework-agnostic server toolkit (powering Nuxt) for building and deploying web servers anywhere.
   - [@antfu](https://omgskills.com/library/antfu/index.md) · 6k stars
