Zustand Patterns
Zustand 5.x state management reference covering slices, middleware, Immer, persistence, and selectors with TypeScript.
- CCM score
- 60 of 100
- skills.sh installs
- 1.5K
- GitHub stars
- 312
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers store creation, slices, middleware composition, selector optimization, and persistence with schema migrations
- Documents 7 core patterns with TypeScript examples, plus anti-patterns such as destructuring the whole store and storing server state
- Delivers OrchestKit-specific rules on top of upstream Zustand docs, including the v5 version floor and secret handling
- Designed for React projects choosing Zustand over Redux, with TanStack Query guidance for server state
Install
$ npx -y skills add yonatangross/orchestkit --skill zustand-patterns -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Zustand Patterns
Modern state management with Zustand 5.x - lightweight, TypeScript-first, no boilerplate.
Overview
- Global state without Redux complexity
- Shared state across components without prop drilling
- Persisted state with localStorage/sessionStorage
- Computed/derived state with selectors
- State that needs middleware (logging, devtools, persistence)
Upstream coverage (do not restate)
Zustand's own docs are the source for the mechanics. This skill carries only the OrchestKit delta
on top of them, in references/ork-delta.md, the rules/ files, and the checklist.
Details
- Repository
- github.com/yonatangross/orchestkit
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
More from yonatangross/orchestkit
All 55- Agent Orchestration1.4K
- Domain Driven Design1.3K
- Memory738
- Security Patterns717
- Langgraph379
- Write Prd326
- Distributed Systems299
- Monitoring Observability259
- Multimodal Llm245
- Python Backend239
- Database Patterns226
- Vite Advanced225
- Architecture Patterns224
- Quality Gates221
- Performance218
- Code Review Playbook215
- Assess213
- Accessibility212
- Web Research Workflow212
- Llm Integration205
- Memory Fabric204
- Analytics201
- Api Design200
- Audit Full199
Similar to Zustand Patterns
More Frontend & UI Codezustand-state-builderpatricio0312rev/skills265 installsModular Zustand store patterns with TypeScript, persistence, devtools, and immer middleware for global state.
zustand-5gentleman-programming/gentleman-skills214 installsConcise Zustand 5 store patterns covering selectors, middleware, slices, and async actions for React state.
zustandpedronauck/skills373 installsFocused Zustand guide that sets store structure, selector hooks, and middleware conventions for client-only shared state.
zustand-state-managementmindrally/skills1K installsLead-in line for a Zustand best-practices skill covering store design, selectors, middleware, SSR, and testing.
react-state-managementsickn33/agentic-awesome-skills425 installsModern React state management guide covering Redux Toolkit, Zustand, Jotai, and React Query with concrete store patterns.
zustand-store-tssickn33/agentic-awesome-skills254 installsTyped Zustand store patterns with subscribeWithSelector, split state and actions, and selector-based rendering.