A solid reference for wiring up Zustand without stepping on the common landmines. The skill covers the TypeScript double-parentheses syntax that trips people up, persist middleware for localStorage, and the Next.js SSR hydration pattern with the `_hasHydrated` flag. It documents six specific errors you'll want to avoid, including hydration mismatches and infinite render loops, plus fixes that landed in v5.0.10. Reach for this when you're adding global state to a React or Next.js project and want type safety without the Redux ceremony. The slices pattern and immer middleware examples are helpful for keeping larger stores organized.
npx skills add https://github.com/jezweb/claude-skills --skill zustand-state-management