Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Pinia-style stores with valtio-define v1.0.0

Use this resource to create stores with state, actions and getters on Valtio using a Pinia-like API

New

  • 475 downloads
  • 100 likes
  • 242 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install valtio-define-store-api

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent creates valtio-define stores with defineStore and useStore, adds actions and getters, and uses the persistence or plugin system when needed. You get a TypeScript-typed store with an API close to Pinia.

Mostly picked by

Updated November 2, 2026

Card for the “Pinia-style stores with valtio-define” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/: defineStore, useStore and types
  • references/: persistence plugin, plugin system and subscriptions

Good fit for

  • You know Pinia and want a similar API for React
  • You need persistent state shared across components

Not for

    Tags

    • valtio
    • state
    • store
    • react
    • typescript

    About

    You say

    “Create a preferences store with a theme, a toggle action and local persistence.”

    Card for the “Pinia-style stores with valtio-define” skill

    Skill published by hairyf under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to create stores with state, actions and getters on Valtio using a Pinia-like API
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE.md1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/advanced-patch.md1.5 KB
    • references/advanced-signal.md1.5 KB
    • references/advanced-store-to-state.md2.5 KB
    • references/advanced-subscribe.md1.5 KB
    • references/core-define-store.md1.7 KB
    • references/core-types.md2.1 KB
    • references/core-use-store.md1.8 KB
    • references/feature-persistent-plugin.md3.4 KB
    • references/feature-plugin-system.md2.7 KB
    • SKILL.md2.2 KB
    • SYNC.md0.2 KB

    Origin and licence

    Listed unmodified

    Author
    hairyf
    Source
    github.com/hairyf/skills/tree/ffa1f904012f48f5bdf34ebb692daa09c778d47f/skills/valtio-define
    Licence
    MIT

    Notice

    « valtio-define » (hairyf, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.