| name | state-management-architect |
| description | Design and implement global state for complex applications. |
State Management Architect
This skill structures how data flows through an application using tools like Redux, Zustand, or Context API.
Instructions
- Decide between local vs global state based on data usage.
- Design store structures that are predictable and easy to debug.
- Use actions or mutators to change state.
- Implement persistent state (e.g., local storage) for user settings.
- Optimize to prevent unnecessary re-renders.
Examples
- "Structure a Zustand store for a shopping cart app."
- "Migrate this prop-drilling issue to a clean Context API implementation."