What problem does it solve? Maintaining consistent state management patterns across a large Zustand codebase is difficult, especially when coordinating public actions, internal logic, dispatch reducers, and optimistic updates across many store slices. ## Core Features & Use Cases - Action Hierarchy Conventions: Enforces a three-layer action model with public actions, internal_* business logic, and internal_dispatch* state updaters. - Optimistic Update Patterns: Provides standard flows for create, update, and delete operations with temporary IDs, service calls, and refresh-based consistency. - Class-Based Slice Migration: Guides migration from plain StateCreator objects to class-based actions composed with flattenActions. - Use Case: When adding a new chat slice to src/store, follow the slice organization references to structure initialState, selectors, reducers, and actions consistently with the rest of the codebase. ## Quick Start Use the zustand skill to create a new store slice with optimistic updates following the LobeHub action hierarchy conventions.