zustand-store-scaffold

Community

Scaffold class-based Zustand stores with actions.

AuthorAdonis0123
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Scaffold type-safe class-based Zustand stores with flattenActions for prototype-safe slice composition.

Core Features & Use Cases

  • Web Pattern: component-level store with React Context + Provider.
  • Core Pattern: slice-based store capable of multiple slices via flattenActions.
  • Generated files: types.ts, utils/flattenActions.ts, index.ts, and per-slice files; supports single or multi-slice setups.

Quick Start

Run the scaffold script with --pattern web or --pattern core, supply a store name and a target path, and optionally specify slices to generate all required files.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: zustand-store-scaffold
Download link: https://github.com/Adonis0123/adonis-skills/archive/main.zip#zustand-store-scaffold

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.