zustand-store-generator

ehtbanton 的头像作者 ehtbanton

使用TypeScript和中间件生成Zustand存储文件。在"创建zustand存储"、"生成zustand状态"、"zustand切片"、"状态管理"时触发。

📖 中文导读:使用TypeScript和中间件生成Zustand存储文件。在"创建zustand存储"、"生成zustand状态"、"zustand切片"、"状态管理"时触发。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: zustand-store-generator description: Generate Zustand store files with TypeScript and middleware. Triggers on "create zustand store", "generate zustand state", "zustand slice", "state management".

Zustand Store Generator

Generate Zustand stores with TypeScript and persistence.

Output Requirements

File Output: *.store.ts store files Format: Valid Zustand store Standards: Zustand 4.x, TypeScript

When Invoked

Immediately generate a complete Zustand store.

Example Invocations

Prompt: "Create Zustand store for cart" Output: Complete cart.store.ts with actions.