Agent skill · software engineering · davila7
zustand-store-ts
Create Zustand stores following established patterns with proper TypeScript types and middleware.
Why this skill is useful
Provides specific patterns and TypeScript types for Zustand stores that the AI wouldn't reliably generate on its own.
What it needs
About 1k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.
What this skill does
Zustand Store Create Zustand stores following established patterns with proper TypeScript types and middleware. Quick Start Copy the template from assets/template.ts and replace placeholders: {{StoreName}} → PascalCase store name (e.g., Project) {{description}} → Brief description for JSDoc Always Use subscribeWithSelector Separate State and Actions Use Individual Selectors Subscribe Outside React Integration Steps 1. Create store in src/frontend/src/store/ 2. Export from src/frontend/src/store/index.ts 3. Add tests in src/frontend/src/store/.test.ts When to Use This skill is applicable to execute the workflow or actions described in the overview.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills davila7/zustand-store-ts