Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of State Management?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-state-management)
---
name: state-management
description: "Choose and use state management: local state, context, server-state libraries (TanStack Query) and stores (Zustand/Redux)."
tags: [frontend]
---
# State Management
## When to use
- Growing UI state complexity
## Procedure
1. Classify state: server, URL, form, UI, global
2. Use TanStack Query for server state
3. Keep URL state in the URL
4. Use a small store only for truly global client state
## Checklist
- [ ] Server state not duplicated in stores
## Anti-patterns
- Putting everything in a global store