pinia-store

pinia-store is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 52 tokens per session (308 once invoked), scanned A, original, MIT.

A set of project rules for organizing Pinia stores, which hold shared Vue application state such as user preferences, authentication, and interface settings.

In plain words
What is it for?
Use it when creating files in app/stores, defining stores with defineStore, managing shared state, or designing Pinia store patterns.
Why use it?
It keeps store files, names, state access, and data loading consistent across the application.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it when creating files in app/stores, defining stores with defineStore, managing shared state, or designing Pinia store patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/pinia-store
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add YuDefine/nuxt-supabase-starter --skill pinia-store
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pinia-store

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/pinia-store/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/pinia-store)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/pinia-store"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/pinia-store/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pinia-store

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/pinia-store"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/pinia-store.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 308 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00308
Opus 5.5 $0.00021 $0.00123
Sonnet 5.5 $0.00010 $0.00062
Haiku 4.5 $0.00005 $0.00031

Measured 1mo ago against content hash 47edfcbc5267, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pinia-store scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

template/.claude/skills/pinia-store/SKILL.md · 25 lines

What it actually says

Pinia Store

標準 setup store、storeToRefs、命名 use<Name>Store 照 Pinia 官方寫法即可;本 skill 只放與預設不同的慣例。

SOP

Phase 1 -- 判定是否需要全域 store

  1. READ 讀取任務需求與 app/stores/ 既有 store。
  2. THINK 判定狀態歸屬:單一元件內的狀態用 ref/reactive,server 資料的寫入與授權轉 server-api skill;確認本次是新增、修改,還是補登入後的全域初始化。

Phase 2 -- 撰寫與自查

  1. READ 讀取 rules/Store慣例判準.md。
  2. WRITE 依已載入規則新增或修改 app/stores/<name>.ts;需要登入後自動載入時,依規則建立 app/plugins/<name>-init.client.ts。
  3. READ 回頭逐條對照已載入規則;不符就修正。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -70 lines · -22 tokens per session 47edfcbc5267
  2. 1mo ago Changed · -1 lines da89cff53f3b
  3. 2mo ago Changed · -7 lines e28b947757a7
  4. 2mo ago Changed · +1 lines 165105ca59de
  5. 2mo ago Changed · +18 tokens per session 6c43c7e6eee9
  6. 3mo ago First seen · 102 lines · 56 tokens per session scan A ed37a42230d1

Subscribe to this mod's changes

pinia-store is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 52 tokens to every session and 308 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

pinia-store compared with skills from other repositories

pinia-store next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pinia-storeYuDefine/nuxt-supabase-starterSkill452d agoMITA52Claude Code
software-test-creationstencila/stencilaSkill916todayApache-2.0A82Claude Code
fuzzing-patternsccashwell/evm-cortexSkill1311mo agoMITA50Claude Code, Codex
finish-itkyh/vibedgamesSkill62todayMITA29Claude Code
prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA113Claude Code
prd-v07-test-planningmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA125Claude Code
design-reviewerHarshvardhan86/claude-wave-pluginSkill141mo agoMITA46Claude Code