superpower-zustand

Installation
SKILL.md

Zustand StoreBuilder Pattern

Purpose

Enforce a standardized, type-safe approach to creating Zustand stores that:

  • Separates state definition from actions using the factory pattern
  • Integrates immer middleware for convenient immutable updates
  • Supports optional persistence with fine-grained control
  • Exposes both reactive (useStore hook) and non-reactive (get/set) access
  • Maintains consistent patterns across the codebase

When to Use This Skill

Related skills

More from cygnusfear/agent-skills

Installs
26
First Seen
Feb 13, 2026