Help us improve
Share bugs, ideas, or general feedback.
From role-frontend
Guides frontend state management in React: local/global decisions, Zustand/Redux Toolkit/Jotai/MobX/Context, TanStack Query/SWR for server state, optimistic updates, XState machines. Use for store setup, migrations, re-render fixes.
npx claudepluginhub rnavarych/alpha-engineer --plugin role-frontendHow this skill is triggered — by the user, by Claude, or both
Slash command
/role-frontend:state-managementThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Deciding where state lives — local, global, server cache, URL, or form
Implements React state management patterns with Redux Toolkit, Zustand, Jotai, React Query for global state, server state, optimistic updates, and library selection.
Guides React state management with Redux Toolkit, Zustand, Jotai, and React Query. Use when setting up global state, managing server state, or choosing between solutions.
Guides choosing the right React state management approach: local state, Context, Zustand, Redux Toolkit, or React Query/SWR. Decision tree for app scale and state type.
Share bugs, ideas, or general feedback.
nuqs or router search paramsreferences/react-state-primitives.md — state category decision table, useState/useReducer patterns, useContext (when/when not), useSyncExternalStore, React 19 use(), stale closure preventionreferences/server-state-tanstack-query.md — TanStack Query v5 queries, optimistic mutations with onMutate/onError/onSettled, infinite queries, prefetch on hover, SWR alternativereferences/global-state-zustand-jotai-redux.md — Zustand with immer/persist/devtools middleware, granular selectors, Jotai atom composition, RTK createSlice/createEntityAdapter, URL state with nuqs, React Hook Form + Zod, XState machines, Preact signals, anti-patterns