Skip to content
Back to skills

State Management

ASecurity

Choose and use state management: local state, context, server-state libraries (TanStack Query) and stores (Zustand/Redux).

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsfrontend

Works with

  • cli

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add karthikrshet/saarthi --skill state-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of State Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for State Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/karthikrshet-state-management/badge)](https://www.skillsdirectory.com/skills/karthikrshet-state-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.