# Pinia (agent skill)

> Pinia is an agent skill (a SKILL.md file) from antfu/skills. Pinia official Vue state management library, type-safe and extensible. It works with Claude Code and has 5,943 GitHub stars across a repository of 4 listed skills. Install it by copying the skill folder into your agent's skills directory.

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. 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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/antfu/skills |
| Skill path | skills/pinia/SKILL.md |
| Skill name | pinia |
| GitHub stars | 5,943 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 4 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code |
| Category | Design & frontend |
| Last commit | Sep 30, 2026 |

## When it triggers

- Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/antfu/skills.git
cp -r skills/skills/pinia ~/.claude/skills/pinia   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/antfu/skills.git
cp -r skills/skills/pinia .agents/skills/pinia   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/antfu/skills.git
cp -r skills/skills/pinia .cursor/skills/pinia   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/antfu-pinia
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
