State Management with Zustand

Official

Master global state with Zustand in SEPilot.

Authorjhl-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Centralized, predictable global state management for SEPilot Desktop, enabling consistent sharing of chat, extension, and UI state.

Core Features & Use Cases

  • Simple Store: a minimal, type-safe Zustand store for basic state.
  • Slice Pattern: modularize large stores into focused slices (conversation, messages, settings).
  • Persistence & Middleware: optional persistence and middleware like immer or devtools for reliability and debugging.
  • Async Actions: integrate asynchronous operations (e.g., data fetch or IPC) with clean state updates.

Quick Start

Create a Zustand-based store for the chat and extension slices and wire it to the UI.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: State Management with Zustand
Download link: https://github.com/jhl-labs/sepilot_desktop/archive/main.zip#state-management-with-zustand

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.