概要
This skill provides specialized guidance for architecting state management in React and Next.js applications using Zustand, offering domain-specific patterns for TypeScript, persist middleware, and devtools. It empowers developers to build scalable state solutions using the slices pattern while proactively preventing common architectural issues like Next.js hydration mismatches, infinite render loops, and TypeScript inference errors. Whether you are migrating from Redux or setting up a new project, this skill ensures your state logic is immutable, persistent, and highly optimized for performance.