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.

State management with React Query and Zustand v1.0.0

Use this resource to manage remote data and client state with React Query and Zustand

New

  • 331 downloads
  • 207 likes
  • 166 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install react-query-zustand-state

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 writes React Query v5 queries and mutations, sets cache and invalidation, and adds optimistic updates. It structures Zustand stores and avoids the risks of the persist middleware. You get consistent state management aligned with the v5 APIs.

Mostly picked by

Updated November 2, 2026

Card for the “State management with React Query and Zustand” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: v5 breaking changes, persist middleware security rules and rule categories
  • rules/: rules on queries, mutations and dependent queries in React Query

Good fit for

  • Your React application fetches and caches API data
  • You want optimistic updates on mutations

Not for

    Tags

    • react query
    • zustand
    • cache
    • state

    About

    You say

    “Add an optimistic mutation to mark a favorite, using React Query and Zustand.”

    Card for the “State management with React Query and Zustand” skill

    Skill published by asyrafhussin 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 manage remote data and client state with React Query and Zustand
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md15.2 KB
    • LICENSE1.1 KB
    • metadata.json3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md3.5 KB
    • rules/_sections.md4.8 KB
    • rules/_template.md2.5 KB
    • rules/rq-cache-time.md4 KB
    • rules/rq-dependent-queries.md6.6 KB
    • rules/rq-enabled-option.md4.7 KB
    • rules/rq-infinite-queries.md6.6 KB
    • rules/rq-initial-data.md5.7 KB
    • rules/rq-mutation-callbacks.md5.8 KB
    • rules/rq-mutation-setup.md4.9 KB
    • rules/rq-mutation-side-effects.md7.1 KB
    • rules/rq-mutation-variables.md5.9 KB
    • rules/rq-optimistic-updates.md6.7 KB
    • rules/rq-paginated-queries.md7 KB
    • rules/rq-parallel-queries.md6.7 KB
    • rules/rq-placeholder-data.md5 KB
    • rules/rq-prefetching.md7.6 KB
    • rules/rq-query-cancellation.md6.9 KB
    • rules/rq-query-functions.md4 KB
    • rules/rq-query-invalidation.md7.1 KB
    • rules/rq-query-keys.md3.1 KB
    • rules/rq-refetch-options.md4.7 KB
    • rules/rq-retry-logic.md5.7 KB
    • rules/rq-select-transform.md5.2 KB
    • rules/rq-stale-time.md3.6 KB
    • rules/rq-suspense-mode.md7 KB
    • rules/rq-usequery.md5.4 KB
    • rules/zs-create-store.md6 KB
    • rules/zs-persist.md6.6 KB
    • SKILL.md12.6 KB

    Origin and licence

    Listed unmodified

    Author
    asyrafhussin
    Source
    github.com/asyrafhussin/agent-skills/tree/1aa0ff717c10309226c9e678f00873976450fd76/skills/state-management
    Licence
    MIT

    Notice

    « state-management » (asyrafhussin, 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.