zustand-game-patterns
Installation
SKILL.md
Zustand Game Patterns
Production-ready patterns for managing complex game state with Zustand.
Store Architecture
Modular Store Pattern
Split large game state into focused slices:
// stores/slices/timeSlice.ts
import { StateCreator } from 'zustand';
import { GameState } from '../types';