Agent skill

Vue Pinia Best Practices

by logue in logue/vite-vuetify-ts-starter

Pinia stores, state management patterns, store setup, and reactivity with stores.

MITAuto-check passedFrontend & Design

Install Vue Pinia Best Practices

skills CLI
$ npx skills add logue/vite-vuetify-ts-starter --skill vue-pinia-best-practices -a claude-code

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

GitHub CLI
$ gh skill install logue/vite-vuetify-ts-starter vue-pinia-best-practices --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/logue/vite-vuetify-ts-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/vue-pinia-best-practices .claude/skills/vue-pinia-best-practices && 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
vue-pinia-best-practices
GitHub stars
181
Used in
2 other repos
Token cost
~290 tokens
SKILL.md length
69 words
Files
7
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Pinia stores, state management patterns, store setup, and reactivity with stores.

  • Tasks that involve State management
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Vue Pinia Best Practices is an agent skill from logue/vite-vuetify-ts-starter. Pinia stores, state management patterns, store setup, and reactivity with stores.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `reference/pinia-no-active-pinia-error.md`, `reference/pinia-setup-store-return-all-state.md` and `reference/pinia-store-destructuring-breaks-reactivity.md`).

It sits in Frontend & Design, covering State management. It works with Vue.js and TypeScript. The repository describes itself as: @vitejs + @vuejs 3+@Vuetifyjs 3. The licence is MIT.

When your agent uses it

  • Tasks that involve State management

Example prompts

  • “/vue-pinia-best-practices”

What it can do on your machine

Read from SKILL.md and the folder at commit 693b10a. 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

Vue Pinia Best Practices loads about 290 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 69 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~290

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

The full file from logue/vite-vuetify-ts-starter at commit 693b10a, republished under its MIT licence (© logue). 69 words, ~290 tokens.

Download SKILL.mdSave it as .claude/skills/vue-pinia-best-practices/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
vue-pinia-best-practices
description
Pinia stores, state management patterns, store setup, and reactivity with stores.
version
1.0.0
license
MIT
author
github.com/vuejs-ai

Pinia best practices, common gotchas, and state management patterns.

Store Setup
Reactivity
State Patterns

© logue, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files in .agents/skills/vue-pinia-best-practices of logue/vite-vuetify-ts-starter.

  • SKILL.md
  • reference/pinia-no-active-pinia-error.md
  • reference/pinia-setup-store-return-all-state.md
  • reference/pinia-store-destructuring-breaks-reactivity.md
  • reference/state-url-for-ephemeral-filters.md
  • reference/state-use-pinia-for-large-apps.md
  • reference/store-method-binding-parentheses.md

Open the folder on GitHubat commit 693b10a

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in logue/vite-vuetify-ts-starter, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Vue Pinia Best Practices 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.

Vue Pinia Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vue Pinia Best Practices this skilllogue/vite-vuetify-ts-starter1812 repos~290Automated safety check: PassMIT
Component ForgeEliasOulkadi/shokunin114—~3.6kAutomated safety check: NotesMIT
Dokan Frontend Devgetdokan/dokan288—~1.9kAutomated safety check: PassNone
Vue ExpertJeffallan/claude-skills12k—~1.1kAutomated safety check: PassMIT
Dify Component Writing Guidelanggenius/dify158k—~626Automated safety check: PassCustom licence
Create Docsvictorgarciaesgi/nuxt-typed-router4132 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Component Forge

    EliasOulkadi/shokunin

    Build production-grade components for React, Vue 3, and Svelte 5 with all states (loading, empty, error, success, idle), TypeScript strict, WCAG 2.2 accessibility, server components (RSC), and…

    114 GitHub stars~3.6k tokensUpdated 6 days ago
    Frontend & DesignAuto-check: notes
  • Dokan Frontend Dev

    getdokan/dokan

    Add or modify Dokan frontend code (React, TypeScript, Vue, Tailwind).

    288 GitHub stars~1.9k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • 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 7 days ago
    Frontend & DesignAuto-check passed
  • Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…

    158k GitHub stars~626 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Create Docs

    victorgarciaesgi/nuxt-typed-router

    Create complete documentation sites for projects. An agent skill from victorgarciaesgi/nuxt-typed-router.

    413 GitHub starsUsed in 2 repos~2.8k tokens
    Frontend & DesignAuto-check passed
  • Uni App

    sonofmagic/uni-app-tailwindcss-template

    Comprehensive skill reference for uni-app cross-platform development framework

    336 GitHub starsUsed in 2 repos~1k tokens
    Frontend & DesignAuto-check passed

More from logue/vite-vuetify-ts-starter

  • Vuetify Skilld

    logue/vite-vuetify-ts-starter

    Vue Material Component Framework. An agent skill from logue/vite-vuetify-ts-starter.

    181 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Create Adaptable Composable

    logue/vite-vuetify-ts-starter

    Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter.

    181 GitHub starsUsed in 1 repo~668 tokens
    Auto-check passed
  • Vue Debug Guides

    logue/vite-vuetify-ts-starter

    Vue 3 debugging and error handling for runtime errors, warnings, async failures, and SSR/hydration issues.

    181 GitHub starsUsed in 2 repos~5.1k tokens
    Auto-check passed

Questions about Vue Pinia Best Practices

What does Vue Pinia Best Practices do?

Pinia stores, state management patterns, store setup, and reactivity with stores. Vue Pinia Best Practices is an agent skill from logue/vite-vuetify-ts-starter. Pinia stores, state management patterns, store setup, and reactivity with stores.

When should I use Vue Pinia Best Practices?

Vue Pinia Best Practices fits situations like: tasks that involve State management.

How do I install Vue Pinia Best Practices in Claude Code?

Run `npx skills add logue/vite-vuetify-ts-starter --skill vue-pinia-best-practices -a claude-code`. Or copy the skill folder (.agents/skills/vue-pinia-best-practices in logue/vite-vuetify-ts-starter) into .claude/skills/vue-pinia-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Vue Pinia Best Practices in Codex?

Run `npx skills add logue/vite-vuetify-ts-starter --skill vue-pinia-best-practices -a codex`. Or copy the skill folder (.agents/skills/vue-pinia-best-practices in logue/vite-vuetify-ts-starter) into .agents/skills/vue-pinia-best-practices in your project. Codex loads it when a task matches its description.

Can I use Vue Pinia Best Practices 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 logue/vite-vuetify-ts-starter --skill vue-pinia-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vue-pinia-best-practices, .gemini/skills/vue-pinia-best-practices, .github/skills/vue-pinia-best-practices and .opencode/skills/vue-pinia-best-practices in your project.

What does Vue Pinia Best Practices need to run?

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

Does Vue Pinia Best Practices 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 Vue Pinia Best Practices 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 Vue Pinia Best Practices use?

Vue Pinia Best Practices is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vue Pinia Best Practices use?

About 290 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Vue Pinia Best Practices?

Skills that share tags, products or a category with Vue Pinia Best Practices: Component Forge (EliasOulkadi/shokunin, 114 stars), Dokan Frontend Dev (getdokan/dokan, 288 stars), Vue Expert (Jeffallan/claude-skills, 12k stars) and Dify Component Writing Guide (langgenius/dify, 158k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vue Pinia Best Practices?

logue (a GitHub user) maintains it in logue/vite-vuetify-ts-starter, which has 181 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 2, 2026.

Source: logue/vite-vuetify-ts-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.