pinia
Skill5.9k starsChanged 2 months agoMITView on GitHub
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.
12 other projects use a version of this, 10 of them edited.
Trending
Quiet since September.thin dataabout the whole repository
Most recently taken up by
- onmax/nuxt-skillsedited, first seen Sep 18, 2026
- konnga/skill-buddyedited, first seen Aug 12, 2026
- ElyzeSolutions/skillsedited, first seen Aug 6, 2026
- hangineer/Hannah-Claude-Code-Toolkitedited, first seen Jun 25, 2026
- lntvow/skillsedited, first seen Jun 4, 2026
- zhengyuzi/skillsedited, first seen May 17, 2026
Who's talking about antfu/skills
- @antfu.me“late to the party. I have finally been convinced by multiple awesome developers to give agents another try. …”Bluesky · Jan 28, 2026 · 125 likes
- vercel-labs/skills“[Bug]: The -g parameter cannot be used, and an error will be reported in the console on Replit”GitHub · Jan 30, 2026 · 15 reactions
- stemirkhan/multi-agent-backend-template“Добавление Frontend-a в проект”GitHub · Apr 2, 2026 · 1 reactions
- ProSkillsMD/proskills“[Candidate] antfu/skills/skills/vitest - vitest”GitHub · Sep 27, 2026
- ProSkillsMD/proskills“[Candidate] antfu/skills/skills/nitro - nitro”GitHub · Sep 26, 2026
The biggest 5 of 6 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 6
Talked about on GitHub and Bluesky (6 times).
On GitHub · 5
- Jan 30, 2026[Bug]: The -g parameter cannot be used, and an error will be reported in the console on Replit — vercel-labs/skills15 reactions
- Apr 2, 2026Добавление Frontend-a в проект — stemirkhan/multi-agent-backend-template1 reaction
- Sep 27, 2026[Candidate] antfu/skills/skills/vitest - vitest — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] antfu/skills/skills/nitro - nitro — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026[Candidate] antfu/skills/skills/antfu - antfu — ProSkillsMD/proskills0 reactions · 1 comment
On Bluesky · 1
- Jan 28, 2026late to the party. I have finally been convinced by multiple awesome developers to give agents another try. this is my first premature… — @antfu.me125 likes and reposts · 9 replies
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 10
- onmax/nuxt-skills★ 71794% same
- JetBrains/skills★ 36088% same
- konnga/skill-buddy★ 11494% same
- uni-helper/skills★ 10794% same
- huangzida/skills★ 294% same
- ElyzeSolutions/skills★ 194% same
- hangineer/Hannah-Claude-Code-Toolkit★ 194% same
- LiuRoi/skills★ 194% same
- lntvow/skills★ 113% same
- zhengyuzi/skills★ 194% same
Wrote their own version · 2
- martinholovsky/claude-skills-generator★ 47same name
- vuluu2k/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. 1 is common, 0 are distinctive, and 1 is very specific to this project.
1
Common
Most of the 11 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 55
Use
storeToRefs(): when destructuring state/getters to preserve reactivity - Common: line 57
Call stores inside functions: not at module scope, especially for SSR
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Core References
| Topic | Description | Reference |
| Stores | Defining stores, state, getters, actions, storeToRefs, subscriptions | core-stores |
Features
Extensibility
| Topic | Description | Reference |
| Plugins | Extend stores with custom properties, state, and behavior | features-plugins |
Composability
| Topic | Description | Reference |
| Composables | Using Vue composables within stores (VueUse, etc.) | features-composables |
| Composing Stores | Store-to-store communication, avoiding circular dependencies | features-composing-stores |
Best Practices
| Topic | Description | Reference |
| Testing | Unit testing with @pinia/testing, mocking, stubbing | best-practices-testing |
| Outside Components | Using stores in navigation guards, plugins, middlewares | best-practices-outside-component |
Advanced
| Topic | Description | Reference |
| SSR | Server-side rendering, state hydration | advanced-ssr |
| Nuxt | Nuxt integration, auto-imports, SSR best practices | advanced-nuxt |
| HMR | Hot module replacement for development | advanced-hmr |
Key Recommendations
- Prefer Setup Stores for complex logic, composables, and watchers
- Use
storeToRefs()when destructuring state/getters to preserve reactivity - Actions can be destructured directly - they're bound to the store
- Call stores inside functions not at module scope, especially for SSR
- Add HMR support to each store for better development experience
- Use
@pinia/testingfor component tests with mocked stores
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

