Frontend State Management

Use this skill when the user says 'state management', 'global state', 'Redux', 'Zustand', 'Pinia', 'NgRx', 'React Context', 'state architecture', 'where to put state', 'server state vs client state', or when deciding how to manage application state. This skill enforces: server state goes in server state libraries (TanStack Query, SWR, Apollo), local state goes in useState/ref/signals, shared state goes in lightweight stores (Zustand, Pinia, Signal Store), and complex state goes in XState or Redux Toolkit. Works with React, Vue, Angular. Do NOT use for: database design, backend caching, or API design.

j4flmao Updated

File contents

j4flmao/agent-skills/tree/main/skills/frontend/universal/state-management commit b69ea3ec6c

Frequently asked questions

npx skillmds@latest add j4flmao/frontend-state-management-2