state-management

$npx mdskill add TheBeardedBearSAS/claude-craft/state-management

Optimize application state management using React Query, Zustand, and MMKV

  • Identify areas in your app where state needs to be managed efficiently.
  • Choose between React Query for real-time updates, Zustand for lightweight state management, or MMKV for efficient storage on Android.
  • React Query handles complex queries and mutations with ease, while Zustand is ideal for small-scale applications needing minimal overhead.
  • MMKV provides a simple API to store key-value pairs efficiently in Android apps, ensuring quick access to state data.

SKILL.md

.github/skills/state-managementView on GitHub ↗
---
name: state-management
description: State Management - React Query, Zustand, MMKV. Use when managing application state.
---

# State Management - React Query, Zustand, MMKV

This skill provides guidelines and best practices.

See ../../rules/13-state-management.md for detailed documentation.

More from TheBeardedBearSAS/claude-craft

SkillDescription
adapter-developmentErstellen Sie eine Paperclip-Extension — ein Plugin via @paperclipai/plugin-sdk oder einen Built-in-Adapter unter packages/adapters. Verwenden Sie dies beim Hinzufügen von AI-Runtimes oder Feature-Plugins.
aggregatesRègle 05 : Aggregates et Aggregate Roots. Use when implementing DDD patterns.
architecture-clean-dddArchitecture Clean + DDD + Hexagonal - Atoll Tourisme. Use when designing architecture or reviewing code structure.
architecture-paperclipPaperclip-Two-Layer-Architektur (Control-Plane + Adapter). Verwenden Sie dies beim Entwerfen oder Reviewen von Paperclip-Modul-/Adapter-Grenzen.
asyncArchitecture async-first avec messaging et queues (Symfony Messenger, Laravel Queue, Ecotone). Use when working with async processing, queues, workers, background jobs.
atomic-tasksPattern GSD (Get Shit Done) - découper en tâches atomiques avec contextes subagent frais pour combattre le context rot. Use when planning complex work or working past 50% context usage.
coding-standards-tsPaperclip-TypeScript-Coding-Standards — Strict-Modus, Kebab-Files, kein any, strukturierte Logs. Verwenden Sie dies beim Schreiben oder Reviewen von Paperclip-TS-Code.
cqrsCQRS - Command Query Responsibility Segregation. Use when implementing DDD patterns, separating read/write models, event sourcing, or building scalable architectures with heterogeneous performance requirements.
ddd-patternsPatterns DDD - Atoll Tourisme. Use when implementing DDD patterns.
debug-methodicalDebugging méthodique en 4 phases (reproduce → isolate → fix → verify). Use when investigating a bug, regression, flaky test, or unexpected behavior.