state-management
Installation
SKILL.md
State Management Skill
When to Activate
- Deciding where to put state in a React/Vue/Svelte app
- Server data is going stale or showing inconsistent values
- Global state causing unnecessary re-renders
- Form state is getting complex
- URL not reflecting application state (back button broken)
- Migrating server data out of Zustand into TanStack Query to eliminate manual cache sync
- Adding optimistic updates to a mutation so the UI responds instantly before the server confirms