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.
Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.
Prompt
Install the "pinia" Agent Skill by Anthony Fu, from https://github.com/antfu/skills.
1. Fetch the whole folder skills/pinia — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
skill_checkout=$(mktemp -d)
git init "$skill_checkout"
git -C "$skill_checkout" fetch --depth 1 https://github.com/antfu/skills.git 4a6bb39e7b45e26402eb215393c51ccf5df1ca4c
git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "pinia":
- Claude Code: ~/.claude/skills/pinia/ (all projects) or .claude/skills/pinia/ (this project only)
- Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that pinia/SKILL.md exists and its frontmatter says name: pinia.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.
skills CLI
One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).
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.