Official agent skill

Pinia

by JetBrains in JetBrains/skills

Pinia official Vue state management library, type-safe and extensible.

OfficialNo licenceAuto-check passedFrontend & Design

Install Pinia

skills CLI
$ npx skills add JetBrains/skills --skill pinia -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install JetBrains/skills pinia --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/JetBrains/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/pinia .claude/skills/pinia && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pinia
GitHub stars
366
Used in
9 other repos
Token cost
~682 tokens
SKILL.md length
198 words
Files
11 (incl. references)
Skills in repo
76
Repo updated
First seen
Licence
None found

At a glance

Pinia official Vue state management library, type-safe and extensible.

  • Defining stores
  • SKILL.md covers Core References, Features, Best Practices and Advanced, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Working with state/getters/actions

What it does

Pinia is an agent skill from JetBrains/skills, published by the product's own GitHub organization. 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.

Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `GENERATION.md`, `references/advanced-hmr.md` and `references/advanced-nuxt.md`).

It sits in Frontend & Design, covering Type safety and State management. It works with Vue.js and Nuxt. The repository describes itself as: Curated agent skills collection verified by JetBrains.

When your agent uses it

  • Defining stores
  • Working with state/getters/actions
  • Implementing store patterns in Vue apps

Example prompts

  • “/pinia”

What it can do on your machine

Read from SKILL.md and the folder at commit e0f258b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Pinia loads about 682 tokens when it runs, and up to ~7.8k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~46
When it runs · the whole SKILL.md, loaded when a task matches
~682
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 198 words (~682 tokens).

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

— opening of SKILL.md by JetBrains
name
pinia
metadata.short-description
Manage Vue state with Pinia
metadata.author
Anthony Fu
metadata.version
2026.1.28
metadata.source
https://github.com/antfu/skills/tree/main/skills/pinia

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (references) in pinia of JetBrains/skills.

  • SKILL.md
  • GENERATION.md
  • references/advanced-hmr.md
  • references/advanced-nuxt.md
  • references/advanced-ssr.md
  • references/best-practices-outside-component.md
  • references/best-practices-testing.md
  • references/core-stores.md
  • references/features-composables.md
  • references/features-composing-stores.md
  • references/features-plugins.md

Open the folder on GitHubat commit e0f258b

Used in 9 other repositories

We found 12 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 9 other GitHub owners. This page covers the copy in JetBrains/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Pinia next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Pinia compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Pinia this skillJetBrains/skills3669 repos~682Automated safety check: PassNone
Vue ExpertJeffallan/claude-skills12k—~1.1kAutomated safety check: PassMIT
Vue Expert (JavaScript)Jeffallan/claude-skills12k—~1.6kAutomated safety check: PassMIT
Vue Patternsaffaan-m/ECC276k1 repos~3.3kAutomated safety check: PassMIT
Pinia V3secondsky/claude-skills227—~4.5kAutomated safety check: PassMIT
Vue Masterycigery-useio/useio-skills104—~1.8kAutomated safety check: PassMIT

Similar skills

  • Vue Expert

    Jeffallan/claude-skills

    Builds Vue 3 apps with the Composition API and script setup, Pinia state, Nuxt 3, Vite tuning and Quasar or Capacitor mobile builds, checked with vue-tsc and Vitest.

    12k GitHub stars~1.1k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Vue Expert (JavaScript)

    Jeffallan/claude-skills

    Builds Vue 3 apps in plain JavaScript with JSDoc typing instead of TypeScript: script setup components, composables, Pinia and Vitest, with ESLint JSDoc coverage checks.

    12k GitHub stars~1.6k tokensUpdated 6 days ago
    Frontend & DesignAuto-check passed
  • Vue Patterns

    affaan-m/ECC

    Vue.js 3 Composition API patterns, component architecture, reactivity best practices, Pinia state management, Vue Router navigation, and Nuxt SSR patterns.

    276k GitHub starsUsed in 1 repo~3.3k tokens
    Frontend & DesignAuto-check passed
  • Pinia V3

    secondsky/claude-skills

    Pinia v3 Vue state management with defineStore, getters, actions.

    227 GitHub stars~4.5k tokensUpdated 12 days ago
    Frontend & DesignAuto-check passed
  • Vue Mastery

    cigery-useio/useio-skills

    Vue 3 expert skill for writing production-grade code. An agent skill from cigery-useio/useio-skills.

    104 GitHub stars~1.8k tokensUpdated 16 days ago
    Frontend & DesignAuto-check passed
  • Vue Pinia

    Mindrally/skills

    Vue 3 state management with Pinia using the Composition API, covering setup stores, SSR/Nuxt integration, persistence, and testing.

    271 GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from JetBrains/skills

All 76 skills in this repo
  • Playwright

    JetBrains/skills

    Official

    A skill your agent uses when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli…

    366 GitHub starsUsed in 11 repos~986 tokens
    Auto-check passed
  • Skill Creator

    JetBrains/skills

    Official

    Guide for creating effective skills. An agent skill from JetBrains/skills.

    366 GitHub starsUsed in 122 repos~4.7k tokens
    Auto-check passed
  • Transcribe

    JetBrains/skills

    Official

    Transcribe audio files to text with optional diarization and known-speaker hints.

    366 GitHub starsUsed in 4 repos~776 tokens
    Auto-check passed
  • Imagegen

    JetBrains/skills

    Official

    A skill your agent uses when the user asks to generate or edit images via the OpenAI Image API (for example: generate image, edit/inpaint/mask, background removal or replacement, transparent…

    366 GitHub starsUsed in 3 repos~2.5k tokens
    Auto-check passed
  • Speech

    JetBrains/skills

    Official

    A skill your agent uses when the user asks for text-to-speech narration or voiceover, accessibility reads, audio prompts, or batch speech generation via the OpenAI Audio API; run the bundled CLI…

    366 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Screenshot

    JetBrains/skills

    Official

    A skill your agent uses when the user explicitly asks for a desktop or system screenshot (full screen, specific app or window, or a pixel region), or when tool-specific capture capabilities are…

    366 GitHub starsUsed in 6 repos~2k tokens
    Auto-check passed

Works with

Questions about Pinia

What does Pinia do?

Pinia official Vue state management library, type-safe and extensible. Pinia is an agent skill from JetBrains/skills, published by the product's own GitHub organization. Pinia official Vue state management library, type-safe and extensible.

When should I use Pinia?

Pinia fits situations like: defining stores; working with state/getters/actions; implementing store patterns in Vue apps.

How do I install Pinia in Claude Code?

Run `npx skills add JetBrains/skills --skill pinia -a claude-code`. Or copy the skill folder (pinia in JetBrains/skills) into .claude/skills/pinia in your project. Claude Code loads it when a task matches its description.

How do I install Pinia in Codex?

Run `npx skills add JetBrains/skills --skill pinia -a codex`. Or copy the skill folder (pinia in JetBrains/skills) into .agents/skills/pinia in your project. Codex loads it when a task matches its description.

Can I use Pinia in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/skills --skill pinia -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pinia, .gemini/skills/pinia, .github/skills/pinia and .opencode/skills/pinia in your project.

What does Pinia need to run?

SKILL.md names no scripts, command-line tools or credentials: Pinia is instructions for the agent only.

Does Pinia access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Pinia safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Pinia use?

No licence was found for Pinia or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Pinia use?

About 682 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.2k tokens, read only when the agent opens those files.

What are the alternatives to Pinia?

Skills that share tags, products or a category with Pinia: Vue Expert (Jeffallan/claude-skills, 12k stars), Vue Expert (JavaScript) (Jeffallan/claude-skills, 12k stars), Vue Patterns (affaan-m/ECC, 276k stars) and Pinia V3 (secondsky/claude-skills, 227 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Pinia?

JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/skills, which has 366 GitHub stars. The repository holds 76 skills in this directory. The repository was last updated on June 29, 2026.

Source: JetBrains/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.